Re: Filesystem optimization..

Peter Moulder (reiter@netspace.net.au)
31 Dec 1997 15:51:02 +1100


Bob Taylor <brtaylor@qtpi.lakewood.ca.us> writes:

> Hmm. I thought the file's inode WAS in the directory. Am I confused? If
> not, then how do you get to the file?

The inode _number_ is stored in the directory entry (for ext2fs), but
not the inode itself.

Michael is suggesting that since most directory accesses are followed
by either a stat or open, we should try to save a seek.

pjm.