mknod: Make block or character special files

creates a FIFO, character special file, or block special file
with the specified name.
Syntax
mknod [options]... NAME Type [Major Minor]

Options

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

Type The type of file to make:
`p? for a FIFO
`b? for a block special file
`c? 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 `mknod? 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.

Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (6 + 3) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 22.08.2009
Views: 1753
Item date: 10.01.2010
Views: 376
Item date: 13.12.2009
Views: 1408
Item date: 25.09.2009
Views: 1143
Item date: 01.01.2009
Views: 269
Item date: 21.07.2009
Views: 2056
Item date: 15.05.2009
Views: 1559
Item date: 07.03.2009
Views: 437
Item date: 13.05.2009
Views: 1595