On Fri, 16 Jul 1999, you wrote:
> On Fri, 16 Jul 1999, Beau Kuiper wrote:
>
> > 12) The first inode will be a bad block inode that stores bad blocks. The
> > second will be the root inode.
>
> But what if the first or second inode gets trashed?
> Is there any way to rescue any data then?
The bad block inode can be created by doing a bad block scan.
But for the root inode, thinking about it now, i will have to change the layout
slightly.
I will reserve another 8K at the end of each zone to be a map of whether a
block is a file or an inode. That way, if the a dir is trashed (along with
the free page table), all lost inodes can be found. Thanks for pointing that
out :). I could allow it to be disabled for non-vital filesystems that need
more performace.
Beau Kuiper
[EMAIL PROTECTED]