summaryrefslogtreecommitdiff
path: root/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs.h')
-rw-r--r--fs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs.h b/fs.h
index e64ecc0..3214f1d 100644
--- a/fs.h
+++ b/fs.h
@@ -6,10 +6,11 @@
#define BSIZE 512 // block size
// Disk layout:
-// [ boot block | super block | log | inode blocks | free bit map | data blocks ]
+// [ boot block | super block | log | inode blocks |
+// free bit map | data blocks]
//
-// mkfs computes the super block and builds an initial file system. The super describes
-// the disk layout:
+// mkfs computes the super block and builds an initial file system. The
+// super block describes the disk layout:
struct superblock {
uint size; // Size of file system image (blocks)
uint nblocks; // Number of data blocks