Just another file
Bit in Inode indicates directory
Linked list of entries
Links a file name to an Inode
Root directory is always Inode #2
As far as ext2fs is concerned a directory is just another file on the disk. A bit in the inode for a directory indicates it special status. The directory entry for the users point of view is the file system. An Inode is just number #1234 really leaps out at most users as letter to boss about much we can save by converting to Linux. Though “BossSaveMoneyOnLinux.xml” has much less meaning to the user.
Now I will only cover the most commonly used directory structure around at the moment for ext2fs, the non-hashed type.
Next Contents Prev