Subject: Re: Minimum swap size
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 05/20/2003 14:28:20
>> [fsck]
> You should then be able to (for each cylinder group):
> - traverse the inode array and remember the blocks that are
>   a) directories
>   b) allocation maps
> - traverse the directory blocks to check the reference counts
> - traverse the alocation maps to find further maps and allocated blocks

Not quite.

Inodes may refer to blocks that are in other cylinder groups.  This
means that you can't know, before having scanned all cgs, which blocks
in the current cg should be allocated, much less which ones belong to

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B