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"
4 mknod \- make block or character special files
7 [\fI\,OPTION\/\fR]... \fI\,NAME TYPE \/\fR[\fI\,MAJOR MINOR\/\fR]
9 .\" Add any additional description here
11 Create the special file NAME of the given TYPE.
13 Mandatory arguments to long options are mandatory for short options too.
15 \fB\-m\fR, \fB\-\-mode\fR=\fI\,MODE\/\fR
16 set file permission bits to MODE, not a=rw \- umask
19 set the SELinux security context to default type
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
26 display this help and exit
29 output version information and exit
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:
37 create a block (buffered) special file
40 create a character (unbuffered) special file
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.
49 Written by David MacKenzie.
51 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
53 Report mknod translation bugs to <http://translationproject.org/team/>
55 Copyright \(co 2016 Free Software Foundation, Inc.
56 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
58 This is free software: you are free to change and redistribute it.
59 There is NO WARRANTY, to the extent permitted by law.
64 Full documentation at: <http://www.gnu.org/software/coreutils/mknod>
66 or available locally via: info \(aq(coreutils) mknod invocation\(aq