[PATCH FOR REVIEW] fsck_ffs: Recover from catastrophic damage

Alexander Leidinger Alexander at Leidinger.net
Wed Feb 20 09:56:29 UTC 2008


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 @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-current mailing list