mknod(1M) DG/UX 4.31 mknod(1M)
NAME
mknod - build special file
SYNOPSIS
/etc/mknod name b|c major minor
/etc/mknod name p
DESCRIPTION
Mknod makes a directory entry and corresponding inode for a
special file. Arguments are:
name Name of the entry.
b or c Indicator that the special file is block-type
(disks, tapes) or character-type (other devices).
Only the superuser may make device nodes.
major Number specifying the major device type in octal or
decimal. Octal numbers must begin with the digit 0.
minor Number specifying the minor device (e.g., unit,
drive, or line number) in decimal or octal.
p Indicator that mknod is to create FIFOs (named
pipes). Any user may create FIFO nodes.
The assignment of major device numbers is determined by the
contents of the master files in /usr/etc/master.d used by
config(1M). Minor device numbers are specific to each
system. Take note that, in general, it should be not be
necessary to use the mknod command, because all the devices
configured into your kernel will automatically have nodes
created for them each time your system is booted.
FILES
/usr/etc/master.d/* Files containing names of all possible
devices.
SEE ALSO
config(1M), mknod(2).
NOTES
Octal numbers must begin with the digit `0'.
Licensed material--property of copyright holder(s) Page 1