lkml.org 
[lkml]   [2003]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDifferent dev name in inode structure
Hi, I have a question about the inode structure. My
kernel version is 2.4.7-10, Red Hat Linux 7.2

In fs.h header file I found the prototype of inode
structure. In this inode structure there are the
following definitions.

kdev_t i_dev;
kdev_t i_rdev;
struct block_device * i_bdev;
struct char_device * i_cdev;

My question is what is the exact difference of i_dev
and i_rdev? Which one I should use?

Another question is what that i_bdev and i_cdev are
used for? They stand for what?

Thanks

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.016 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site