problems with fsck_ffs

Scott Long scottl at
Thu Aug 26 07:43:50 PDT 2004

Simson L. Garfinkel wrote:
> Greetings. I just had a RAID crash which required some recovery with 
> fsck_ffs.
> Two problems with fsck_ffs in 5.2 were discovered:
> 1. There is a divide-by-0 error that happens under some conditions when 
> the contents of the superblock and the backup superblock are partially 
> damaged.
>     =>Would you like a fix for this?

Of course!

> 2. There is no obvious functionality to scan the whole hard-drive for 
> backup superblocks.
>     => I've written such a program. If I integrate it into fsck, will 
> you take the mods?

I'd definitely like to see it.


More information about the freebsd-fs mailing list