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

create a block (buffered) special file

c, u

create a character (unbuffered) special file

p

create a FIFO

Standard Options

-m, --mode=MODE

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

--version

output version information and exit