MKNOD(1M)
NAME
mknod − build special file
SYNOPSIS
/etc/mknod name c │ b major minor
/etc/mknod name p
HP-UX COMPATIBILITY
Level: HP-UX/NUCLEUS
Origin: System V
DESCRIPTION
Mknod makes a directory entry and corresponding i-node for a special file. The first argument is the name of the entry. In the first case, the second is b if the special file is block-type (disks, tape) or c if it is character-type (other devices). The last two arguments are numbers specifying the major device type and the minor device (e.g., unit, drive, or line number), which may be either decimal or octal.
The assignment of major device numbers is specific to each system. conf.c.
Mknod can also be used to create fifo’s (a.k.a named pipes) (second case in SYNOPSIS above).
SEE ALSO
The System Administrator’s Manual for your system.
Hewlett-Packard — last mod. May 11, 2021