summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-04-16 20:53:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-04-16 20:53:13 +0000
commit84736d470fd6d37560017f2e26ab80ee92200bab (patch)
tree7829d5418aca5a7e03c9999a2f357bd79558982f /sbin
parentecf26c98d06bc7c8cbc49abba7289ee84e98bc1f (diff)
mkfifo makes fifos, not directories; from Ben Calvert
while here, make the description of -m more consistent for mkdir, mkfifo, and mknod. add a touch of .Ex for mkdir too.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mknod/mkfifo.119
-rw-r--r--sbin/mknod/mknod.823
2 files changed, 22 insertions, 20 deletions
diff --git a/sbin/mknod/mkfifo.1 b/sbin/mknod/mkfifo.1
index 15e80e25718..0fb10f1e164 100644
--- a/sbin/mknod/mkfifo.1
+++ b/sbin/mknod/mkfifo.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mkfifo.1,v 1.9 2007/05/31 19:19:45 jmc Exp $
+.\" $OpenBSD: mkfifo.1,v 1.10 2008/04/16 20:53:12 jmc Exp $
.\" $NetBSD: mkfifo.1,v 1.4 1994/12/23 07:16:54 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)mkfifo.1 8.2 (Berkeley) 1/5/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: April 16 2008 $
.Dt MKFIFO 1
.Os
.Sh NAME
@@ -54,15 +54,16 @@ It requires write permission in the parent directory.
The options are as follows:
.Bl -tag -width Ds
.It Fl m Ar mode
-Set the file permission bits of newly created directories to
+Set the file permission bits of newly created fifos to
.Ar mode .
-The mode is specified as in
-.Xr chmod 1 .
-In symbolic mode strings, the
-.Sq +
+The mode argument can be in any of the formats specified to the
+.Xr chmod 1
+utility.
+If a symbolic mode is specified, strings and the operators
+.Ql +
and
-.Sq -
-operators are interpreted relative to an assumed initial mode of
+.Ql -
+are interpreted relative to an initial mode of
.Dq a=rw .
.El
.Pp
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8
index 67a1b634583..ca005a52654 100644
--- a/sbin/mknod/mknod.8
+++ b/sbin/mknod/mknod.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mknod.8,v 1.12 2007/05/31 19:19:45 jmc Exp $
+.\" $OpenBSD: mknod.8,v 1.13 2008/04/16 20:53:12 jmc Exp $
.\" $NetBSD: mknod.8,v 1.9 1995/08/10 23:47:32 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,12 +30,12 @@
.\"
.\" @(#)mknod.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: April 16 2008 $
.Dt MKNOD 8
.Os
.Sh NAME
.Nm mknod
-.Nd build special file
+.Nd make device special files
.Sh SYNOPSIS
.Nm mknod
.Op Fl m Ar mode
@@ -60,15 +60,16 @@ device.
The options are as follows:
.Bl -tag -width Ds
.It Fl m Ar mode
-Set the file mode.
-.Ar mode
-may be absolute or symbolic, as described in
-.Xr chmod 1 .
-In symbolic mode strings, the
-.Sq +
+Set the file permission bits of newly created device special files to
+.Ar mode .
+The mode argument can be in any of the formats specified to the
+.Xr chmod 1
+utility.
+If a symbolic mode is specified, strings and the operators
+.Ql +
and
-.Sq -
-operators are interpreted relative to an assumed initial mode of
+.Ql -
+are interpreted relative to an initial mode of
.Dq a=rw .
.El
.Pp