summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-10-07 09:14:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-10-07 09:14:29 +0000
commit032d0f6dce5cfac275e66a2d0d5e6a3ebb1ca3eb (patch)
tree7e740a34a5325ad10fcd08ff1e5a5549720f2e7f
parentb8726a12526cf97c8e7fe1f1eb896af203c0b481 (diff)
brief description of mknod built-in;
add mknod to list of (regular ksh) built-ins; ok otto@
-rw-r--r--bin/ksh/ksh.131
1 files changed, 26 insertions, 5 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index d76ec3fad69..e5f3ad06499 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.104 2005/10/06 06:39:35 otto Exp $
+.\" $OpenBSD: ksh.1,v 1.105 2005/10/07 09:14:28 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -2670,8 +2670,9 @@ Additional
.Nm
regular commands
.Pp
-.Ic \&[ , echo , let , print ,
-.Ic pwd , test , ulimit , whence
+.Ic \&[ , echo , let , mknod ,
+.Ic print , pwd , test , ulimit ,
+.Ic whence
.Pp
In the future, the additional
.Nm
@@ -3273,9 +3274,29 @@ is syntactic sugar for
.Ar name
.Cm p
.Xc
-Equivalent to the
+Create a device special file.
+The file type may be
+.Cm b
+(block type device),
+.Cm c
+(character type device),
+or
+.Cm p
+(named pipe).
+The file created may be modified according to its
+.Ar mode
+(via the
+.Fl m
+option),
+.Ar major
+(major device number),
+and
+.Ar minor
+(minor device number).
+.Pp
+See
.Xr mknod 8
-command.
+for further information.
.Pp
.It Xo
.Ic print