[ Some information on an Ext2 filesystem could also be obtained by using the dumpe2fs and debugfs utility programs

By looking at that file, we can see that, due to the limited capacity of the disk, a single group descriptor is sufficient. We also notice that the number of reserved blocks is set to 72 (5 percent of 1,440) and, according to the default option, the inode table must include 1 inode for each 4,096 bytes — that is, 360 inodes stored in 45 blocks.

Table 17-7 summarizes how the Ext2 filesystem is created on a floppy disk when the default options are selected.

Table 17-7. Ext2 block allocation for a floppy disk

Block

Content

0

Boot block

1

Superblock

2

Block containing a single block group descriptor

3

Data block bitmap

4

Inode bitmap

5-49

Inode table: inodes up to 10: reserved; inode 11: lost+found; inodes 12-360: free

50

Root directory (includes ., .., and lost+found)

51

lost+found directory (includes . and ..)

52-62

Reserved blocks preallocated for lost+found directory

63-1439

Free blocks

I [email protected] RuBoard

Was this article helpful?

0 0

Post a comment