up | Inhaltsverzeichniss | Kommentar

Manual page for MKNOD(8)

mknod - build special file


/usr/etc/mknod filename [ c ] [ b ] major minor

/usr/etc/mknod filename p


mknod makes a special file. The first argument is the filename of the entry. In the first form, 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 arguments are numbers specifying the major device type and the minor device (for example, unit, drive, or line number). Only the super-user is permitted to invoke this form of the mknod command.

In the second form, mknod makes a named pipe (FIFO).

The first form of mknod is only for use by system configuration people. Normally you should use /dev/MAKEDEV instead when making special files.


mknod.2v makedev.8

index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97