Subject: Re: edlabel
To: None <curt@portal.ca>
From: Gordon W. Ross <gwr@mc.com>
List: port-sparc
Date: 06/27/1996 09:46:42
> Date: Wed, 26 Jun 1996 16:20:39 -0700 (PDT)
> From: Curt Sampson <curt@portal.ca>

> > disklabel(8) _should_ be able to ... you just have to be careful to make 
> > partitions begin and end on cylinder boundaries.
> 
> Doesn't work for me. My partitions do begin and end on cylinder
> boundaries, but rewriting a working label with disklabel caused
> the prom to decide that the magic number was bad.

Did you use the "-r" flag on disklabel?  (N.G. on Sun machines.)

> BTW, did I also mention that 1.1 dies really badly if you have swap
> at the beginning of the disk, with the a partion after it?

I'm pretty sure the Sun PROM code requires the partitions to be
sorted by beginning cylinder number.  At least, the sun format
program (which writes the label) enforces that ordering.

Gordon