mknod(1M) DG/UX R4.11 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). You must have appropriate
privilege to make device nodes. For systems supporting the
DG/UX Capability Option, appropriate privilege is defined as
having one or more specific capabilities enabled in the
effective capability set of the user. See capdefaults(5)
for the default capabilities for this command.
On systems without the DG/UX Capability Option, appropriate privilege
means that your process has an effective UID of root. See the
appropriateprivilege(5) man page for more information.
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), appropriateprivilege(5).
capdefaults(5).
Licensed material--property of copyright holder(s)