1MKNOD(1)                         User Commands                        MKNOD(1)
2
3
4

NAME

6       mknod - make block or character special files
7

SYNOPSIS

9       mknod [OPTION]... NAME TYPE [MAJOR MINOR]
10

DESCRIPTION

12       Create the special file NAME of the given TYPE.
13
14       Mandatory  arguments  to  long  options are mandatory for short options
15       too.
16
17       -m, --mode=MODE
18              set file permission bits to MODE, not a=rw - umask
19
20       -Z, --context=CTX
21              set the SELinux security context of NAME to CTX
22
23       --help display this help and exit
24
25       --version
26              output version information and exit
27
28       Both MAJOR and MINOR must be specified when TYPE is b,  c,  or  u,  and
29       they  must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x
30       or 0X, it is interpreted as hexadecimal; otherwise, if it  begins  with
31       0, as octal; otherwise, as decimal.  TYPE may be:
32
33       b      create a block (buffered) special file
34
35       c, u   create a character (unbuffered) special file
36
37       p      create a FIFO
38
39       NOTE:  your  shell  may  have  its  own version of mknod, which usually
40       supersedes the version described here.  Please refer  to  your  shell's
41       documentation for details about the options it supports.
42

AUTHOR

44       Written by David MacKenzie.
45

REPORTING BUGS

47       Report mknod bugs to bug-coreutils@gnu.org
48       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
49       General help using GNU software: <http://www.gnu.org/gethelp/>
50       Report mknod translation bugs to <http://translationproject.org/team/>
51
53       Copyright  ©  2010  Free Software Foundation, Inc.  License GPLv3+: GNU
54       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
55       This is free software: you are free  to  change  and  redistribute  it.
56       There is NO WARRANTY, to the extent permitted by law.
57

SEE ALSO

59       mknod(2)
60
61       The full documentation for mknod is maintained as a Texinfo manual.  If
62       the info and mknod programs are properly installed at  your  site,  the
63       command
64
65              info coreutils 'mknod invocation'
66
67       should give you access to the complete manual.
68
69
70
71GNU coreutils 8.5                November 2010                        MKNOD(1)
Impressum