creates a FIFO, character special file, or block special file with the specified name.

mknod [options]… NAME Type [Major Minor]


&qt;-m MODE&qt;&qt;
Set the mode of created files to MODE, which is symbolic as in
&qt;chmod&qt;&qt; and uses 0666 minus the bits set in the umask as the point
of departure.

Type The type of file to make:
&qt;p&qt;&qt; for a FIFO
&qt;b&qt;&qt; for a block special file
&qt;c&qt;&qt; for a character special file

Major/Minor When making a block or character special file, the major and minor
device numbers must be given after the file type.Unlike the phrase "special file type" above, the term "special file" has a technical meaning on Unix: something that can generate or receive data. Usually this corresponds to a physical piece of hardware, e.g., a printer or a disk. (These files are typically created at system-configuration time.) The &qt;mknod&qt;&qt; command is what creates files of this type. Such devices can be read either a character at a time or a "block" (many characters) at a time, hence we say there are "block special" files and "character special" files.