|Next||Internals of ext2fs||8|
The first block is the 'superblock'
Metainformation about the entire filesystem is stored there
What kind of filesystem is it?
How many blocks are there? How many are free?
(This must be stored somewhere, or else df would take forever)
How big are the blocks?
How many inodes are there? How many are free?
Code for reading in the superblock is in super.c
|Next||Copyright © 2001 M. J. Dominus|