summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-02-23 03:34:17 +0000
committerkrw <krw@openbsd.org>2016-02-23 03:34:17 +0000
commit008fa9ba172244aa806552040d3d58ef7417dc9c (patch)
tree91a0ec9f0cfd567f6f4a2f0649d5376b99b98057
parentFix display of pdisk partition sizes by casting the 32-bit number (diff)
downloadwireguard-openbsd-008fa9ba172244aa806552040d3d58ef7417dc9c.tar.xz
wireguard-openbsd-008fa9ba172244aa806552040d3d58ef7417dc9c.zip
A disk name of /dev/wd0c doesn't work. Correct verbiage and example.
Discovered by rpe@. Tweaked by schwarze@. ok rpe@ schwarze@ jmc@ deraadt@
-rw-r--r--sbin/fdisk/fdisk.814
-rw-r--r--sbin/pdisk/pdisk.814
2 files changed, 14 insertions, 14 deletions
diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8
index 69c1ba14c9f..0583b81c588 100644
--- a/sbin/fdisk/fdisk.8
+++ b/sbin/fdisk/fdisk.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fdisk.8,v 1.91 2016/01/09 18:10:56 krw Exp $
+.\" $OpenBSD: fdisk.8,v 1.92 2016/02/23 03:34:17 krw Exp $
.\"
.\"
.\" Copyright (c) 1997 Tobias Weingartner
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 9 2016 $
+.Dd $Mdocdate: February 23 2016 $
.Dt FDISK 8
.Os
.Sh NAME
@@ -171,16 +171,16 @@ Specify the
.Ar disk
to operate on.
It can be specified either by its full pathname or an abbreviated disk form.
-In its abbreviated form, the path to the device, the
+In its abbreviated form, the path to the device and the
.Sq r
denoting
-.Qq raw device ,
-and the partition letter, can all be omitted.
+.Qq raw device
+are omitted and the partition letter is optional.
For example, the first IDE disk can be specified as either
.Pa /dev/rwd0c ,
-.Pa /dev/wd0c ,
+.Pa wd0c ,
or
-.Ar wd0 .
+.Pa wd0 .
.El
.Sh TYPICAL LAYOUT
When called with no special flags,
diff --git a/sbin/pdisk/pdisk.8 b/sbin/pdisk/pdisk.8
index a00a23c21f1..ae0c6efa901 100644
--- a/sbin/pdisk/pdisk.8
+++ b/sbin/pdisk/pdisk.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pdisk.8,v 1.30 2016/01/28 07:57:19 jmc Exp $
+.\" $OpenBSD: pdisk.8,v 1.31 2016/02/23 03:34:17 krw Exp $
.\"
.\" Copyright 1996,1997,1998 by Apple Computer, Inc.
.\" All Rights Reserved
@@ -19,7 +19,7 @@
.\" NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 28 2016 $
+.Dd $Mdocdate: February 23 2016 $
.Dt PDISK 8
.Os
.Sh NAME
@@ -51,16 +51,16 @@ Specify the
.Ar disk
to operate on.
It can be specified either by its full pathname or an abbreviated disk form.
-In its abbreviated form, the path to the device, the
+In its abbreviated form, the path to the device and the
.Sq r
denoting
-.Dq raw device ,
-and the partition letter, can all be omitted.
+.Dq raw device
+are omitted, with the partition letter being optional.
For example, the first IDE disk can be specified as either
.Pa /dev/rwd0c ,
-.Pa /dev/wd0c ,
+.Pa wd0c ,
or
-.Ar wd0 .
+.Pa wd0 .
.El
.Sh COMMAND MODE
The list of commands and their explanations are given below.