From a5fbfe418abd9bdb876407a73b479cdc39046e9a Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Tue, 11 Oct 2011 06:41:37 -0400 Subject: clarify some FS comments --- fs.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fs.h') diff --git a/fs.h b/fs.h index 85efa78..f191d43 100644 --- a/fs.h +++ b/fs.h @@ -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 -- cgit v1.2.3