Skip to contentSkip to conversation

In Search of Inode

DISCUSSION Joseph D. Wagner 2 participants 2 messages Oct 3, 2003 VFS

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Joseph D. Wagner

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?

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