I don't know where we got this ccd creation example from... or if it was

ever correct.  It certainly hasn't been correct for *years*, and it
conflicts with the FAQ.  So update this example to match the FAQ.
This commit is contained in:
David E. O'Brien 2003-01-10 17:46:22 +00:00
parent 2e79837f7b
commit 6907df799e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109076

View File

@ -163,8 +163,9 @@ you have A ccd disk with 10000 sectors you might create a 'd' partition
with offset 16 and size 9984.
.Pp
.Bd -unfilled -offset
# disklabel -r -w ccd0c auto
# disklabel -e ccd0c
# disklabel ccd0 > /tmp/disklabel.ccd0
# disklabel -Rr ccd0 /tmp/disklabel.ccd0
# disklabel -e ccd0
.Ed
.Pp
The disklabeling of a ccd disk is usually a one-time affair. Unlike other
@ -198,6 +199,12 @@ default ccd configuration file
.Xr ccd 4 ,
.Xr rc 8 ,
.Xr vinum 8
.Sh BUGS
The initial disklabel returned by
.Xr ccd 4
specifies only 3 partitions.
One needs to change the number of paritions to "8" using `disklabel -e'
to get the usual BSD expectations.
.Sh HISTORY
The
.Nm