mknod(1M) UNIX System V(Application Compatibility Package) mknod(1M)
NAME
mknod - make a special file
SYNOPSIS
mknod name b | c major minor
mknod name p
mknod name m
mknod name s
DESCRIPTION
mknod makes a directory entry for a special file.
In the first case, name is the special file to be created. The second
argument is either b to indicate a block-type special file or c to
indicate a character-type. The last two arguments are numbers specifying
the major and minor device numbers; these may be either decimal or octal
[see mknod(2) in the Programmer's Reference Manual for information on
minor device number values]. The assignment of major device numbers is
specific to each system. You must be the super-user to use this form of
the command.
The second case is used to create a FIFO (named pipe).
The third case is used to create XENIX shared memory handles.
The fourth case is used to create XENIX semaphore handles.
NOTES
If mknod is used to create a device in a remote directory (Remote File
Sharing), the major and minor device numbers are interpreted by the
server.
SEE ALSO
mknod(2) in the Programmer's Reference Manual
10/89 Page 1