From a2accd01f0ac2f25d72443923819abceaf128119 Mon Sep 17 00:00:00 2001 From: charnier Date: Sat, 6 Jul 2002 19:34:18 +0000 Subject: The .Nm utility --- sbin/disklabel/disklabel.8 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'sbin/disklabel/disklabel.8') 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 .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 -- cgit v1.1