diff options
Diffstat (limited to 'sbin/disklabel/disklabel.8')
-rw-r--r-- | sbin/disklabel/disklabel.8 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8 index 4c674b5..faae777 100644 --- a/sbin/disklabel/disklabel.8 +++ b/sbin/disklabel/disklabel.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 |