Imported upstream version 1.5
[manpages-zh.git] / raw / man1 / mknod.1
blob151e7db3b58c44c29e9b4016fd16418d085384f2
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.022.
2 .TH MKNOD "1" "October 2003" "mknod (coreutils) 5.0" FSF
3 .SH NAME
4 mknod \- make block or character special files
5 .SH SYNOPSIS
6 .B mknod
7 [\fIOPTION\fR]... \fINAME TYPE \fR[\fIMAJOR MINOR\fR]
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Create the special file NAME of the given TYPE.
12 .PP
13 Mandatory arguments to long options are mandatory for short options too.
14 .TP
15 \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
16 set permission mode (as in chmod), not a=rw - umask
17 .TP
18 \fB\-\-help\fR
19 display this help and exit
20 .TP
21 \fB\-\-version\fR
22 output version information and exit
23 .PP
24 Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
25 must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x or 0X,
26 it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
27 otherwise, as decimal.  TYPE may be:
28 .TP
30 create a block (buffered) special file
31 .TP
32 c, u
33 create a character (unbuffered) special file
34 .TP
36 create a FIFO
37 .SH AUTHOR
38 Written by David MacKenzie.
39 .SH "REPORTING BUGS"
40 Report bugs to <bug-coreutils@gnu.org>.
41 .SH COPYRIGHT
42 Copyright \(co 2003 Free Software Foundation, Inc.
43 .br
44 This is free software; see the source for copying conditions.  There is NO
45 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46 .SH "SEE ALSO"
47 The full documentation for
48 .B mknod
49 is maintained as a Texinfo manual.  If the
50 .B info
51 and
52 .B mknod
53 programs are properly installed at your site, the command
54 .IP
55 .B info mknod
56 .PP
57 should give you access to the complete manual.