summaryrefslogtreecommitdiffstats
path: root/sbin/ccdconfig
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-01-10 17:46:22 +0000
committerobrien <obrien@FreeBSD.org>2003-01-10 17:46:22 +0000
commitbd2ef992a4e3288f159085cdaf69d5f51d1296ea (patch)
treea21a4222264384a52f084fc821cc5f9ab9785140 /sbin/ccdconfig
parent1cb150c8dd75597ae8f9a35d183232a3b8dab626 (diff)
downloadFreeBSD-src-bd2ef992a4e3288f159085cdaf69d5f51d1296ea.zip
FreeBSD-src-bd2ef992a4e3288f159085cdaf69d5f51d1296ea.tar.gz
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.
Diffstat (limited to 'sbin/ccdconfig')
-rw-r--r--sbin/ccdconfig/ccdconfig.811
1 files changed, 9 insertions, 2 deletions
diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8
index 29b3e66..94d7fe0 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
OpenPOWER on IntegriCloud