mknod(1M) mknod(1M) NAME mknod - build special file or named pipe (FIFO) SYNOPSIS mknod name b | c major minor mknod name p DESCRIPTION mknod makes a directory entry and corresponding inode for a special file or named pipe. The first argument is the name of the entry to create. In the first form of the command, the second argument is b if the special file describes a block device (disks, tape) or c if it is a character device (for example, a tty line). The last two arguments are numbers specifying the major device number and the minor device number (for example, the unit, drive, or line number). They may be either decimal or octal. The assignment of major device numbers is specific to each system. The information is contained in the system source file /usr/include/sys/major.h. You must be the superuser to use this form of the command. The normal convention is to keep all special device files under the /dev directory. The second form of the mknod command is used to create named pipes (a.k.a. FIFOs). This form of the command is not restricted to the superuser. SEE ALSO Page 1