mknod(1M) DG/UX 5.4R3.00 mknod(1M)
NAME
mknod - build a 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 device
node or FIFO special file. Arguments are:
name Name of the entry.
b or c Indicator that the device node is block-type (e.g., disks) 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.
Major device numbers are assigned dynamically by the system as
devices are configured. Minor device numbers are allocated by each
device driver. Take note that, in general, it should never 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.
SEE ALSO
config(1M), mknod(2), master(4), system(4),
Customizing the DG/UX System.
Licensed material--property of copyright holder(s) 1