summaryrefslogtreecommitdiff
path: root/sbin/mknod/mknod.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mknod/mknod.8')
-rw-r--r--sbin/mknod/mknod.823
1 files changed, 12 insertions, 11 deletions
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