mknod

Name

mknod -- make block or character special files

Synopsis

mknod [OPTION]... NAME TYPE [MAJOR MINOR]

Description

Create the special file NAME of the given TYPE.

MAJOR MINOR are forbidden for TYPE p, mandatory otherwise. TYPE may be:

b

creates a block (buffered) special file.

c, u

creates a character (unbuffered) special file.

p

creates a FIFO.

Standard Options

-m, --mode=MODE

sets permission mode (as in chmod), not a=rw - umask.

--version

outputs version information and exits.