LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   what's relationship between VFS inode and ext3_inode? (https://www.linuxquestions.org/questions/linux-kernel-70/whats-relationship-between-vfs-inode-and-ext3_inode-730056/)

bitzsk 06-02-2009 01:52 AM

what's relationship between VFS inode and ext3_inode?
 
in kernel space ,if i get the i_ino(inode mumber ) of a file, and next how could i get the block number of this file? in VFS layer the inode struct haven't i_block[] array to point to the blocks. but in ext3_inode struct, it has. what's the relationship between the VFS inode and ext3_inode?

Matir 06-03-2009 09:11 PM

I suspect Theodore Tso (a bit of a god in the EXT[234] filesystem world, if you ask me) has answered most of your concerns: http://www.linux-archive.org/ext3-us...xt3_inode.html

bitzsk 06-04-2009 12:34 AM

Quote:

Originally Posted by Matir (Post 3562391)
I suspect Theodore Tso (a bit of a god in the EXT[234] filesystem world, if you ask me) has answered most of your concerns: http://www.linux-archive.org/ext3-us...xt3_inode.html

:)that's me!i'm surprised to see the mail list on the webpages. and so quick.

thank you for concern.

Matir 06-04-2009 08:02 PM

No problem. I just wanted to make sure anyone who comes across this later also has the benefit of the conversation on the mailing list.


All times are GMT -5. The time now is 11:02 PM.