In Search of Inode
I've found where inode is defined for ext2 and ext3 (struct ext2_inode and struct ext3_inode in ext2_fs.h and ext3_fs.h respectively) but I can't find where inode is defined for other file systems.
Do they all use the same inodes? or am I simply not looking hard enough?
Joseph Wagner
Quoted 5 lines · Joseph D. Wagner
I've found where inode is defined for ext2 and ext3 (struct
ext2_inodeand structext3_inodeinext2_fs.handext3_fs.hrespectively) but I can't find where inode is defined for other file systems.Do they all use the same inodes? or am I simply not looking hard enough?
You aren't looking hard enough.
There are several "i-nodes".
- kernel internal generic
- filesystem specific things
- physical data layout on disk
- memory parsed version of physical i-node data
Some filesystems don't have UNIX i-nodes (e.g. FAT)
Quoted 1 line
Joseph Wagner
/Matti Aarnio