diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-04-16 20:53:13 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-04-16 20:53:13 +0000 |
commit | 84736d470fd6d37560017f2e26ab80ee92200bab (patch) | |
tree | 7829d5418aca5a7e03c9999a2f357bd79558982f /sbin/mknod/mknod.8 | |
parent | ecf26c98d06bc7c8cbc49abba7289ee84e98bc1f (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/mknod/mknod.8')
-rw-r--r-- | sbin/mknod/mknod.8 | 23 |
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 |