First page Back Continue Last page Overview Graphics
EXT2/3, Directories and Inodes
Directories are ordinary files, containing a
mapping between filenames and Inodes.
There can be more than one directory entry
pointing to the SAME Inode! (hard links)
The Inode contains file attributes including
ownership and a lists of allocated blocks.
- 12 direct blocks, for files of upto 12 blocks
- Indirect, double indirect and triple-indirected blocks