Line | |
---|
1 | .TH MKNOD 8
|
---|
2 | .SH NAME
|
---|
3 | mknod \- create a special file
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBmknod \fIfile\fR [\fBb\fR] [\fBc\fR] \fImajor \fIminor\fR
|
---|
6 | .br
|
---|
7 | \fBmknod \fIfile\fR \fBp\fR\fR
|
---|
8 | .br
|
---|
9 | .de FL
|
---|
10 | .TP
|
---|
11 | \\fB\\$1\\fR
|
---|
12 | \\$2
|
---|
13 | ..
|
---|
14 | .de EX
|
---|
15 | .TP 20
|
---|
16 | \\fB\\$1\\fR
|
---|
17 | # \\$2
|
---|
18 | ..
|
---|
19 | .SH EXAMPLES
|
---|
20 | .EX "mknod /dev/plotter c 7 0" "Create special file for a plotter"
|
---|
21 | .EX "mknod /dev/fd3 b 2 3" "Create a device for diskette drive 3"
|
---|
22 | .EX "mknod /tmp/stream p" "Create a named pipe"
|
---|
23 | .SH DESCRIPTION
|
---|
24 | .PP
|
---|
25 | .I Mknod
|
---|
26 | creates a special file named
|
---|
27 | .I file ,
|
---|
28 | with the indicated major and minor device numbers.
|
---|
29 | The second argument specifies a block special, a character special, or a
|
---|
30 | named pipe. Named pipes do not have device numbers so they are omitted.
|
---|
31 | .SH "SEE ALSO"
|
---|
32 | .BR mkfifo (1),
|
---|
33 | .BR mknod (2).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.