> > Have I (and some others) misunderstood anything about how BSD disklabelling
> > works?
> 
> the disklabel is the second sector of the openbsd part of the disk.
> 
> *3: A6      0   1   2 - 243200 254  63 [          64:  3907024001 ] OpenBSD
> 
> so, if you overwrite sector 65, you will overwrite disklabel. normally the 'a'
> partition overlaps the disklabel, but you made 'e' first.

The ffs and swap code knows not to touch the first 8K of the disk, for
historic reasons, and this has saved many a butt.  I suspect softraid
also does this.

But your fingers don't know it.

Reply via email to