Subject: Re: ccd, disklabel
To: None <jnilsson@ludd.luth.se>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 11/02/1998 13:39:02
On Mon, 2 Nov 1998 21:08:36 +0100 
 Jens A Nilsson <jnilsson@ludd.luth.se> wrote:

 > > so if I want to ccd each partition of each disk sdXa into ccd1, then I
 > > have to offset partition a from the original disklabel?  i.e. partition a
 > > above (for each sdx) should be:
 > > 
 > > a:   224700        1      4.2BSD     1024  8192    16   # (Cyl.    0-99)
 > >                   --- <-- changed from 0 to 1
 > Change that to what's written after "sectors/cylinder:"

...AND decrement the "size" value by the same amount.  That is, if you want
the end of the partition to be in the same place.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942