mknod(8)


NAME
     mknod - create a special file

SYNOPSIS
     mknod file [b] [c] major minor
     mknod file p

EXAMPLES

     mknod /dev/plotter c 7 0
                         # Create special file for a plotter

     mknod /dev/fd3 b 2 3
                         # Create a device for diskette drive 3

     mknod /tmp/stream p # Create a named pipe

DESCRIPTION

     Mknod creates a special file named file , with the  indicated  major  and
     minor  device  numbers.  The second argument specifies a block special, a
     character special, or a named pipe.   Named  pipes  do  not  have  device
     numbers so they are omitted.

SEE ALSO
     mkfifo(1), mknod(2).