aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.8
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2002-07-06 19:34:18 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2002-07-06 19:34:18 +0000
commite1205e80e5c937ac999f02f51edfb25d5b7a7ad6 (patch)
tree219860332a065e5cb6defc25dab58e4a8c7997cd /sbin/bsdlabel/bsdlabel.8
parent3f162cb85dafb6f4c8537b3e606c2ccdaa12a424 (diff)
downloadsrc-e1205e80e5c937ac999f02f51edfb25d5b7a7ad6.tar.gz
src-e1205e80e5c937ac999f02f51edfb25d5b7a7ad6.zip
The .Nm utility
Notes
Notes: svn path=/head/; revision=99501
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.8')
-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 4c674b531da2..faae77725c5f 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