Re: [PATCH FOR REVIEW] fsck_ffs: Recover from catastrophic damage

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Wed, 20 Feb 2008 10:56:14 +0100
Quoting Xin LI <delphij_at_delphij.net> (from Tue, 19 Feb 2008 23:36:04 -0800):

> Change summary:
>
> fsutil.c:
>  - Really update standard superblock.  fsck_ffs -b used to update the
> backup superblock which does not recover file systems which have bad
> master superblocks.
>  - Instead of coredump, zero out whole cg if its signature is bad.
>
> inode.c:
>  - Instead of coredump, zero out whole cg if its signature is bad.

Does this modify (zero out) on-disk blocks? If yes, shouldn't this ask  
for confirmation?

Bye,
Alexander.

-- 
I've been there.

http://www.Leidinger.net    Alexander _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild _at_ FreeBSD.org  : PGP ID = 72077137
Received on Wed Feb 20 2008 - 08:56:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC