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"
4 mknod \- make block or character special files
7 [\fIOPTION\fR]... \fINAME TYPE \fR[\fIMAJOR 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=\fIMODE\fR
16 set file permission bits to MODE, not a=rw \- umask
18 \fB\-Z\fR, \fB\-\-context\fR=\fICTX\fR
19 set the SELinux security context of NAME to CTX
22 display this help and exit
25 output version information and exit
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:
33 create a block (buffered) special file
36 create a character (unbuffered) special file
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.
45 Written by David MacKenzie.
47 Report mknod bugs to bug\-coreutils@gnu.org
49 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
51 General help using GNU software: <http://www.gnu.org/gethelp/>
53 Report mknod translation bugs to <http://translationproject.org/team/>
55 Copyright \(co 2012 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.
63 The full documentation for
65 is maintained as a Texinfo manual. If the
69 programs are properly installed at your site, the command
71 .B info coreutils \(aqmknod invocation\(aq
73 should give you access to the complete manual.