diff options
author | Robert Morris <[email protected]> | 2011-10-11 06:41:37 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2011-10-11 06:41:37 -0400 |
commit | a5fbfe418abd9bdb876407a73b479cdc39046e9a (patch) | |
tree | 9686a62d46f03753dfdcf8564053921a6ead031a /fs.h | |
parent | d73dd097a529bc9d13f514ae6884c4d96a0fffa8 (diff) | |
download | xv6-labs-a5fbfe418abd9bdb876407a73b479cdc39046e9a.tar.gz xv6-labs-a5fbfe418abd9bdb876407a73b479cdc39046e9a.tar.bz2 xv6-labs-a5fbfe418abd9bdb876407a73b479cdc39046e9a.zip |
clarify some FS comments
Diffstat (limited to 'fs.h')
-rw-r--r-- | fs.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,8 +1,12 @@ // On-disk file system format. // Both the kernel and user programs use this header file. -// Block 0 is unused. Block 1 is super block. -// Inodes start at block 2. +// Block 0 is unused. +// Block 1 is super block. +// Blocks 2 through sb.ninodes/IPB hold inodes. +// Then free bitmap blocks holding sb.size bits. +// Then sb.nblocks data blocks. +// Then sb.nlog log blocks. #define ROOTINO 1 // root i-number #define BSIZE 512 // block size |