OSDN Git Service

GNU_coreutils: Update originals to version 8.16.
[linuxjm/coreutils.git] / original / man1 / mknod.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH MKNOD "1" "March 2012" "GNU coreutils 8.16" "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\-Z\fR, \fB\-\-context\fR=\fICTX\fR
19 set the SELinux security context of NAME to CTX
20 .TP
21 \fB\-\-help\fR
22 display this help and exit
23 .TP
24 \fB\-\-version\fR
25 output version information and exit
26 .PP
27 Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
28 must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x or 0X,
29 it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
30 otherwise, as decimal.  TYPE may be:
31 .TP
32 b
33 create a block (buffered) special file
34 .TP
35 c, u
36 create a character (unbuffered) special file
37 .TP
38 p
39 create a FIFO
40 .PP
41 NOTE: your shell may have its own version of mknod, which usually supersedes
42 the version described here.  Please refer to your shell's documentation
43 for details about the options it supports.
44 .SH AUTHOR
45 Written by David MacKenzie.
46 .SH "REPORTING BUGS"
47 Report mknod bugs to bug\-coreutils@gnu.org
48 .br
49 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
50 .br
51 General help using GNU software: <http://www.gnu.org/gethelp/>
52 .br
53 Report mknod translation bugs to <http://translationproject.org/team/>
54 .SH COPYRIGHT
55 Copyright \(co 2012 Free Software Foundation, Inc.
56 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
57 .br
58 This is free software: you are free to change and redistribute it.
59 There is NO WARRANTY, to the extent permitted by law.
60 .SH "SEE ALSO"
61 mknod(2)
62 .PP
63 The full documentation for
64 .B mknod
65 is maintained as a Texinfo manual.  If the
66 .B info
67 and
68 .B mknod
69 programs are properly installed at your site, the command
70 .IP
71 .B info coreutils \(aqmknod invocation\(aq
72 .PP
73 should give you access to the complete manual.