aboutsummaryrefslogtreecommitdiff
path: root/sbin/ccdconfig
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-01-10 17:46:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-01-10 17:46:22 +0000
commit6907df799e874f2083bd8f05bfb0698ee7e4ac88 (patch)
treea21a4222264384a52f084fc821cc5f9ab9785140 /sbin/ccdconfig
parent2e79837f7b19a8a4eceaab42740fb1ec8878c2f8 (diff)
downloadsrc-6907df799e874f2083bd8f05bfb0698ee7e4ac88.tar.gz
src-6907df799e874f2083bd8f05bfb0698ee7e4ac88.zip
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.
Notes
Notes: svn path=/head/; revision=109076
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 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