diff options
author | jdp <jdp@FreeBSD.org> | 1997-04-02 01:42:07 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-04-02 01:42:07 +0000 |
commit | 483d5e360ee98a0fb4401c3d5cf9a071d02f21a7 (patch) | |
tree | eedcbea4508c5543f6dbadf00eba06b672b8debb /lib/libc/sys | |
parent | 74212b970ba3860956b0b2dec81056baafddb68d (diff) | |
download | FreeBSD-src-483d5e360ee98a0fb4401c3d5cf9a071d02f21a7.zip FreeBSD-src-483d5e360ee98a0fb4401c3d5cf9a071d02f21a7.tar.gz |
Correct the most glaring errors. I have a feeling there are some
left.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/mknod.2 | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2 index 2db4f45..2fa6342 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 |