aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-05-24 19:53:08 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-05-24 19:53:08 +0000
commit734ac3b54318ce3afa6b8ced253b7e78317a9987 (patch)
tree43ba2b4be0e9dd899512258a0bca1c34d504cf69 /sbin
parented8c5dcdc0253fa6bf1e81ae195fe56b3df7993c (diff)
downloadsrc-734ac3b54318ce3afa6b8ced253b7e78317a9987.tar.gz
src-734ac3b54318ce3afa6b8ced253b7e78317a9987.zip
mdoc(7) fixes.
Approved by: re (blanket)
Notes
Notes: svn path=/head/; revision=115288
Diffstat (limited to 'sbin')
-rw-r--r--sbin/bsdlabel/bsdlabel.841
-rw-r--r--sbin/mksnap_ffs/mksnap_ffs.818
2 files changed, 31 insertions, 28 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index bb8dbb10c6ac..17df6d00c79a 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
diff --git a/sbin/mksnap_ffs/mksnap_ffs.8 b/sbin/mksnap_ffs/mksnap_ffs.8
index b20e435a0791..7dc22105283b 100644
--- a/sbin/mksnap_ffs/mksnap_ffs.8
+++ b/sbin/mksnap_ffs/mksnap_ffs.8
@@ -39,7 +39,7 @@
.Os
.Sh NAME
.Nm mksnap_ffs
-.Nd take a filesystem snapshot
+.Nd take a file system snapshot
.Sh SYNOPSIS
.Nm
.Ar mountpoint
@@ -47,29 +47,29 @@
.Sh DESCRIPTION
The
.Nm
-command creates a snapshot named
+utility creates a snapshot named
.Ar snapshot_name
-on the filesystem mounted at
+on the file system mounted at
.Ar mountpoint .
The
.Ar snapshot_name
-argument must be contained within the filesystem mounted at
+argument must be contained within the file system mounted at
.Ar mountpoint .
.Pp
The group ownership of the file is set to
-.Dq operator ;
+.Dq Li operator ;
the owner of the file remains
-.Dq root .
+.Dq Li root .
The mode of the snapshot is set to be readable by the owner
or members of the
-.Dq operator
+.Dq Li operator
group.
.Sh SEE ALSO
.Xr chmod 2 ,
.Xr chown 8 ,
.Xr mount_ffs 8
.Sh HISTORY
-A
+The
.Nm
-command first appeared in
+utility first appeared in
.Fx 5.0 .