summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-07-06 19:34:18 +0000
committercharnier <charnier@FreeBSD.org>2002-07-06 19:34:18 +0000
commita2accd01f0ac2f25d72443923819abceaf128119 (patch)
tree219860332a065e5cb6defc25dab58e4a8c7997cd /sbin/bsdlabel
parent9639b20db64d084fa58b75058a2bd896b1f743e1 (diff)
downloadFreeBSD-src-a2accd01f0ac2f25d72443923819abceaf128119.zip
FreeBSD-src-a2accd01f0ac2f25d72443923819abceaf128119.tar.gz
The .Nm utility
Diffstat (limited to 'sbin/bsdlabel')
-rw-r--r--sbin/bsdlabel/bsdlabel.818
1 files changed, 14 insertions, 4 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index 4c674b5..faae777 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -94,7 +94,9 @@
.Ar disk Ar protofile
.Oo Ar disktype/auto Oc
.Sh DESCRIPTION
-.Nm Disklabel
+The
+.Nm
+utility
installs, examines or modifies the label on a disk drive or pack. When writing
the label, it can be used to change the drive identification, the disk
partitions on the drive, or to replace a damaged label. There are several forms
@@ -137,8 +139,9 @@ partition be specified. For example
You do not have to include the
.Pa /dev/
path prefix when specifying the device.
+The
.Nm
-will automatically prepend it.
+utility will automatically prepend it.
.Ss Reading the disk label
.Pp
To examine the label on a disk drive, use
@@ -510,7 +513,9 @@ auto
.It Pa /boot/boot<n>
.El
.Sh SAVED FILE FORMAT
+The
.Nm
+utility
uses an ASCII version of the label when examining, editing or restoring a disk
label. The format is:
.Bd -literal -offset 4n
@@ -643,7 +648,9 @@ represents the entire slice and should be of type
though
.Nm
does not enforce this convention.
+The
.Nm
+utility
also knows about a number of other partition types, none of which are in current
use.
See the definitions starting with
@@ -870,8 +877,9 @@ For the i386 architecture, the primary bootstrap sector contains
an embedded
.Em fdisk
table.
-.Nm Disklabel
-takes care to not clobber it when installing a bootstrap only
+The
+.Nm
+utility takes care to not clobber it when installing a bootstrap only
.Pq Fl B ,
or when editing an existing label
.Pq Fl e ,
@@ -888,7 +896,9 @@ concern if the disk is fully dedicated, so that the
disklabel
starts at absolute block 0 on the disk.
.Pp
+The
.Nm
+utility
does not perform all possible error checking. Warning *is* given if partitions
overlap; if an absolute offset does not match the expected offset; if the
.Dq c
OpenPOWER on IntegriCloud