Correct the most glaring errors. I have a feeling there are some

left.
This commit is contained in:
John Polstra 1997-04-02 01:42:07 +00:00
parent 94d6fcba9b
commit 6f78fb0cc1
1 changed files with 7 additions and 13 deletions

View File

@ -42,25 +42,19 @@
.Ft int .Ft int
.Fn mknod "const char *path" "mode_t mode" "dev_t dev" .Fn mknod "const char *path" "mode_t mode" "dev_t dev"
.Sh DESCRIPTION .Sh DESCRIPTION
The device special file The filesystem node
.Fa path .Fa path
is created with the major and minor is created with the file type and access permissions specified in
device numbers extracted from .Fa mode .
.Fa mode. The access permissions are modified by the process's umask value.
The access permissions of
.Fa path
are descendant from the
.Xr umask 2
of the parent process.
.Pp .Pp
If If
.Fa mode .Fa mode
indicates a block or character special file, indicates a block or character special file,
.Fa dev .Fa dev
is a configuration dependent specification of a character or block is a configuration dependent specification denoting a particular device
I/O device and the superblock of the device. If on the system.
.Fa mode Otherwise,
does not indicate a block special or character special device,
.Fa dev .Fa dev
is ignored. is ignored.
.Pp .Pp