b_dev vs. b_rdev confusion
Quoted 1 line
how do the
inode->i_dev,i_rdevfit into this?
These are what you see with stat(2).i_dev gives the device the file is oni_rdev is usually undefined, but for device special files it gives the real device.
Quoted 2 lines
Is there a set rule on when/where one should use a buffer head's
b_devand when/where one should useb_rdev?
b_dev gives the device the user was thinking about b_rdev is the actual underlying device
Andries