Tizen 2.0 Release
[external/tizen-coreutils.git] / man / mknod.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH MKNOD "1" "March 2007" "GNU coreutils 6.9" "User Commands"
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 file permission bits to MODE, 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
29 b
30 create a block (buffered) special file
31 .TP
32 c, u
33 create a character (unbuffered) special file
34 .TP
35 p
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 2007 Free Software Foundation, Inc.
43 .br
44 This is free software.  You may redistribute copies of it under the terms of
45 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
46 There is NO WARRANTY, to the extent permitted by law.
47 .SH "SEE ALSO"
48 mknod(2)
49 .PP
50 The full documentation for
51 .B mknod
52 is maintained as a Texinfo manual.  If the
53 .B info
54 and
55 .B mknod
56 programs are properly installed at your site, the command
57 .IP
58 .B info mknod
59 .PP
60 should give you access to the complete manual.