The Disk-Layout Of A STAMFS Inode
- The inode contains info such as last update/change/access time, data
blocks size, index of the logical disk block with the data block index,
etc.
- The data block index contains a mapping between logical block numbers in
the inode, and logical blocks on disk.
- Entry 0 contains the number of the disk block whose contents is in block 0
of the file (bytes 0-1023).
- Each entry in this index is 4 bytes long.
- Thus, an inode (i.e. a file) on a STAMFS system is limited to 1024/4
(=256) sectors, or 128KB, of data
Originally written by
guy keren