summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-05-24 19:53:08 +0000
committerru <ru@FreeBSD.org>2003-05-24 19:53:08 +0000
commit8bc4d4bba797a5e4f4a8e7a2f9593c56f5314b02 (patch)
tree43ba2b4be0e9dd899512258a0bca1c34d504cf69 /sbin/bsdlabel
parentb5e718b1432fba45f848c4e5a660f18e4780fea5 (diff)
downloadFreeBSD-src-8bc4d4bba797a5e4f4a8e7a2f9593c56f5314b02.zip
FreeBSD-src-8bc4d4bba797a5e4f4a8e7a2f9593c56f5314b02.tar.gz
mdoc(7) fixes.
Approved by: re (blanket)
Diffstat (limited to 'sbin/bsdlabel')
-rw-r--r--sbin/bsdlabel/bsdlabel.841
1 files changed, 22 insertions, 19 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index bb8dbb1..17df6d0 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -47,29 +47,30 @@
.Ar disk
.Nm
.Fl w
-.Op Fl nA
+.Op Fl \&An
.Op Fl B Op Fl b Ar boot
.Op Fl m Ar machine
-.Ar disk
+.Ar disk
.Op Ar type
.Nm
.Fl e
-.Op Fl nA
+.Op Fl \&An
.Op Fl B Op Fl b Ar boot
.Op Fl m Ar machine
.Ar disk
.Nm
.Fl R
-.Op Fl nA
+.Op Fl \&An
.Op Fl B Op Fl b Ar boot
.Op Fl m Ar machine
.Ar disk protofile
-.Pp
.Sh DESCRIPTION
The
.Nm
utility
-installs, examines or modifies the BSD label on a disk partition.
+installs, examines or modifies the
+.Bx
+label on a disk partition.
In addition,
.Nm
can install bootstrap code.
@@ -81,10 +82,12 @@ path prefix may be omitted;
the
.Nm
utility will automatically prepend it.
-.Ss General options
-The
+.Ss General Options
+The
.Fl A
-option enables processing of the historical parts of the BSD label.
+option enables processing of the historical parts of the
+.Bx
+label.
If the option is not given, suitable values are set for these fields.
.Pp
The
@@ -120,31 +123,31 @@ To write a standard label, use the form
.Pp
.Nm
.Fl w
-.Op Fl nA
+.Op Fl \&An
.Op Fl m Ar machine
.Ar disk
.Op Ar type
.Pp
-If the drive type if specified the entry of that name in the
+If the drive type is specified, the entry of that name in the
.Xr disktab 5
-file is used, otherwise a default layout is used.
+file is used; otherwise a default layout is used.
.Ss Editing an Existing Disk Label
To edit an existing disk label, use the form
.Pp
.Nm
.Fl e
-.Op Fl nA
+.Op Fl \&An
.Op Fl m Ar machine
.Ar disk
.Pp
-This command opens the disklabel in the default editor and when the editor
-exits the label is validated and if OK written to disk.
+This command opens the disk label in the default editor, and when the editor
+exits, the label is validated and if OK written to disk.
.Ss Restoring a Disk Label From a File
To restore a disk label from a file, use the form
.Pp
.Nm
.Fl R
-.Op Fl nA
+.Op Fl \&An
.Op Fl m Ar machine
.Ar disk protofile
.Pp
@@ -360,7 +363,7 @@ option to restore the label at a later date.
.Dl "bsdlabel -w /dev/da0s1"
.Pp
Create a label for
-.Pa da0s1
+.Pa da0s1 .
.Pp
.Dl "bsdlabel -e da0s1"
.Pp
@@ -460,10 +463,10 @@ which could be used as a source file for
g: * * 4.2BSD
.Ed
.Sh SEE ALSO
-.Xr geom 4 ,
.Xr ccd 4 ,
+.Xr geom 4 ,
.Xr md 4 ,
-.Xr disklabel 5 ,
+.\" Xr bsdlabel 5 ,
.Xr disktab 5 ,
.Xr boot0cfg 8 ,
.Xr fdisk 8
OpenPOWER on IntegriCloud