source: trunk/minix/man/man8/mknod.8@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 739 bytes
Line 
1.TH MKNOD 8
2.SH NAME
3mknod \- 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
26creates a special file named
27.I file ,
28with the indicated major and minor device numbers.
29The second argument specifies a block special, a character special, or a
30named 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.