Subject: Re: mkfs should clear possible alternate superblocks
From: David Laight <firstname.lastname@example.org>
Date: 09/10/2003 23:46:19
On Wed, Sep 10, 2003 at 10:21:13PM +0000, Martin J. Laubach wrote:
> | > NetBSD over a previously NetBSD-raided drive, and the initial boot
> | > after installation got very confused because it thought the filesystem
> | > was still raided?
> | For FFSv2 it won't and the raid header will be intact.
> | So maybe the raid magic number needs adding to the list that get zapped.
> So instead of hard coding a gazillion magic sector numbers
> to be zapped, why does newfs not just take the easy way and zero
> out the first 255 or so sectors?
Because they contain the boot code.
David Laight: email@example.com