From 6907df799e874f2083bd8f05bfb0698ee7e4ac88 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 10 Jan 2003 17:46:22 +0000 Subject: [PATCH] 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. --- sbin/ccdconfig/ccdconfig.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8 index 29b3e66027bb..94d7fe04c6a4 100644 --- a/sbin/ccdconfig/ccdconfig.8 +++ b/sbin/ccdconfig/ccdconfig.8 @@ -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