aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/mknod.2
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-04-02 01:42:07 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-04-02 01:42:07 +0000
commit6f78fb0cc135452b3a0055e862f82b87522d96d6 (patch)
tree9bdc981984ce40a23b9168a373470404d024ce9e /lib/libc/sys/mknod.2
parent94d6fcba9b7f7b0e3731fcf842d9935482e9c1e7 (diff)
downloadsrc-6f78fb0cc135452b3a0055e862f82b87522d96d6.tar.gz
src-6f78fb0cc135452b3a0055e862f82b87522d96d6.zip
Correct the most glaring errors. I have a feeling there are some
left.
Notes
Notes: svn path=/head/; revision=24526
Diffstat (limited to 'lib/libc/sys/mknod.2')
-rw-r--r--lib/libc/sys/mknod.220
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index 2db4f45ac139..2fa634246e0b 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -42,25 +42,19 @@
.Ft int
.Fn mknod "const char *path" "mode_t mode" "dev_t dev"
.Sh DESCRIPTION
-The device special file
+The filesystem node
.Fa path
-is created with the major and minor
-device numbers extracted from
-.Fa mode.
-The access permissions of
-.Fa path
-are descendant from the
-.Xr umask 2
-of the parent process.
+is created with the file type and access permissions specified in
+.Fa mode .
+The access permissions are modified by the process's umask value.
.Pp
If
.Fa mode
indicates a block or character special file,
.Fa dev
-is a configuration dependent specification of a character or block
-I/O device and the superblock of the device. If
-.Fa mode
-does not indicate a block special or character special device,
+is a configuration dependent specification denoting a particular device
+on the system.
+Otherwise,
.Fa dev
is ignored.
.Pp