summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-05-14 23:26:40 +0000
committergrog <grog@FreeBSD.org>2001-05-14 23:26:40 +0000
commit1cebf23d9e3ab07f516f70f2001504e5b96a8865 (patch)
tree5d3dda6d1e4e9e439effb0310aa50f9c55e97c7d /sbin/disklabel
parent0c1ac06a70fce198828a2e54449f08702054a26f (diff)
downloadFreeBSD-src-1cebf23d9e3ab07f516f70f2001504e5b96a8865.zip
FreeBSD-src-1cebf23d9e3ab07f516f70f2001504e5b96a8865.tar.gz
Clarify the currently used partition types.
Add cross-references to ccd(4) and vinum(8).
Diffstat (limited to 'sbin/disklabel')
-rw-r--r--sbin/disklabel/disklabel.824
1 files changed, 19 insertions, 5 deletions
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8
index d6e1c32..1af95c8 100644
--- a/sbin/disklabel/disklabel.8
+++ b/sbin/disklabel/disklabel.8
@@ -630,16 +630,28 @@ For partition
.Cm *
will be interpreted as an offset of 0.
.It fstype
-describes the purpose of the partition. The example shows most normal usages.
-For UFS file systems, use type
+describes the purpose of the partition. The example shows all currently used
+partition types.
+For UFS file systems and ccd partitions, use type
.Cm 4.2BSD .
+For Vinum drives, use type
+.Cm vinum .
Other common types are
.Cm unused
and
.Cm swap .
-See
+By convention, partition c represents the entire slice and should be of type
+.Cm unused ,
+though
+.Nm
+does not enforce this convention.
+.Nm
+also knows about a number of other partition types, none of which are in current
+use.
+See the definitions starting with
+.Dv FS_UNUSED in
.Pa /usr/include/sys/disklabel.h
-for a complete list.
+for more details.
.It fsize
For
.Cm 4.2BSD
@@ -813,10 +825,12 @@ drivedata: 0
g: * * 4.2BSD
.Ed
.Sh SEE ALSO
+.Xr ccd 4 ,
.Xr disklabel 5 ,
.Xr disktab 5 ,
.Xr boot0cfg 8 ,
-.Xr fdisk 8
+.Xr fdisk 8 ,
+.Xr vinum 8
.Sh DIAGNOSTICS
The kernel device drivers will not allow the size of a disk partition
to be decreased or the offset of a partition to be changed while it is open.
OpenPOWER on IntegriCloud