mknod(C) 19 June 1992 mknod(C) Name mknod - build special files Syntax /etc/mknod name [ c | b ] major minor /etc/mknod name p /etc/mknod name s /etc/mknod name m Description The mknod command makes a directory entry and corresponding inode for a special file. The first argument is the name of the entry. In the first case, the second argument is b if the special file is block-type (disks, tape) or c if it is character-type (other devices). The last two argu- ments are numbers specifying the major device type and the minor device (for example, unit, drive, or line number), which may be either decimal or octal. Minor numbers must be in the range 0 to 255. The assignment of major device numbers is specific to each system. Major device numbers can be found in the system source file /etc/conf/cf.d/mde- vice. mknod can also be used to create named pipes with the p option, sema- phores with the s option, and shared data (memory) with the m option. Only the super user can use the first form of the syntax. See also mknod(S) Notes mknod does not understand extended minor device numbers. It will impose an upper limit of 255 on the minor device number parameter. Standards conformance mknod is conformant with: AT&T SVID Issue 2.