Page MenuHomeFreeBSD

D43574.id133274.diff
No OneTemporary

D43574.id133274.diff

Index: sbin/ccdconfig/ccdconfig.8
===================================================================
--- sbin/ccdconfig/ccdconfig.8
+++ sbin/ccdconfig/ccdconfig.8
@@ -122,13 +122,6 @@
ccd0 16 none /dev/da2s1 /dev/da3s1
.Ed
.Pp
-The component devices need to name partitions of type
-.Li FS_BSDFFS
-(or
-.Dq 4.2BSD
-as shown by
-.Xr disklabel 8 ) .
-.Pp
If you want to use the
.Tn Linux
.Xr md 4
@@ -186,30 +179,6 @@
partition it using
.Xr gpart 8
it before doing anything else.
-Once you create the initial label you can
-edit it, adding additional partitions.
-The label itself takes up the first
-16 sectors of the ccd disk.
-If all you are doing is creating file systems
-with newfs, you do not have to worry about this as newfs will skip the
-label area.
-However, if you intend to
-.Xr dd 1
-to or from a ccd partition it is usually a good idea to construct the
-partition such that it does not overlap the label area.
-For example, if
-you have A ccd disk with 10000 sectors you might create a 'd' partition
-with offset 16 and size 9984.
-.Bd -literal
-# disklabel ccd0 > /tmp/disklabel.ccd0
-# disklabel -R ccd0 /tmp/disklabel.ccd0
-# disklabel -e ccd0
-.Ed
-.Pp
-The disklabeling of a ccd disk is usually a one-time affair.
-If you reboot the machine and reconfigure the ccd disk,
-the disklabel you
-had created before will still be there and not require reinitialization.
Beware that changing any ccd parameters: interleave, flags, or the
device list making up the ccd disk, will usually destroy any prior
data on that ccd disk.
@@ -244,12 +213,3 @@
.Nm
utility first appeared in
.Nx 1.1 .
-.Sh BUGS
-The initial disklabel returned by
-.Xr ccd 4
-specifies only 3 partitions.
-One needs to change the number of partitions to 8 using
-.Dq Nm disklabel Fl e
-to get the usual
-.Bx
-expectations.

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 22, 3:07 PM (8 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27853420
Default Alt Text
D43574.id133274.diff (1 KB)

Event Timeline