OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / mknod.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
2 .TH MKNOD "1" "January 2016" "GNU coreutils 8.25" "User Commands"
3 .SH NAME
4 mknod \- make block or character special files
5 .SH SYNOPSIS
6 .B mknod
7 [\fI\,OPTION\/\fR]... \fI\,NAME TYPE \/\fR[\fI\,MAJOR 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=\fI\,MODE\/\fR
16 set file permission bits to MODE, not a=rw \- umask
17 .TP
18 \fB\-Z\fR
19 set the SELinux security context to default type
20 .TP
21 \fB\-\-context\fR[=\fI\,CTX\/\fR]
22 like \fB\-Z\fR, or if CTX is specified then set the SELinux
23 or SMACK security context to CTX
24 .TP
25 \fB\-\-help\fR
26 display this help and exit
27 .TP
28 \fB\-\-version\fR
29 output version information and exit
30 .PP
31 Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
32 must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x or 0X,
33 it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
34 otherwise, as decimal.  TYPE may be:
35 .TP
36 b
37 create a block (buffered) special file
38 .TP
39 c, u
40 create a character (unbuffered) special file
41 .TP
42 p
43 create a FIFO
44 .PP
45 NOTE: your shell may have its own version of mknod, which usually supersedes
46 the version described here.  Please refer to your shell's documentation
47 for details about the options it supports.
48 .SH AUTHOR
49 Written by David MacKenzie.
50 .SH "REPORTING BUGS"
51 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
52 .br
53 Report mknod translation bugs to <http://translationproject.org/team/>
54 .SH COPYRIGHT
55 Copyright \(co 2016 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 .br
64 Full documentation at: <http://www.gnu.org/software/coreutils/mknod>
65 .br
66 or available locally via: info \(aq(coreutils) mknod invocation\(aq