MKNOD(1) HP-UX 5.0 MKNOD(1) NAME mknod - create special, fifo, files SYNOPSIS /etc/mknod name c|b major minor /etc/mknod name p HP-UX COMPATABILITY Level: HP-UX/NUCLEUS Origin: System III DESCRIPTION Mknod makes a directory entry and corresponding i-node for a special file. Name is the path name of the special file to be created. In the first synopsis shown, the second argument should be b if the special file is block-type (discs, tape), or c if it is character-type (other devices). Major and minor are numbers specifying the major device type (e.g. device driver number) and the minor device number (typically, but not exclusively, the unit, drive, HP-IB bus address and/or line number). Major and minor may be specified in hex, octal, or decimal, using the C language conventions (decimal numbers must not have a leading zero, octal must have a leading zero, and hex must have a leading zero followed by 'x'). Refer to the HP-UX System Administrator Manual for your implementation for details on using mknod. Mknod can also be used to create fifo's (named pipes) (second synopsis shown). A real ID of 0 (super-user) is required on the first synopsis shown above. All users may use mknod in the form shown in the second synopsis. The newly created file has a mode of 0666, minus the current setting of the user's umask. FILES /etc/devnm SEE ALSO lsdev(1), mknod(2), section 4, mknod(5).