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       -Z, --context=CONTEXT
18              set security context (quoted string)
19
20       -m, --mode=MODE
21              set file permission bits to MODE, not a=rw - umask
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

AUTHOR

40       Written by David MacKenzie.
41

REPORTING BUGS

43       Report bugs to <bug-coreutils@gnu.org>.
44
46       Copyright © 2007 Free Software Foundation, Inc.
47       This  is  free  software.   You may redistribute copies of it under the
48       terms      of      the      GNU      General       Public       License
49       <http://www.gnu.org/licenses/gpl.html>.   There  is NO WARRANTY, to the
50       extent permitted by law.
51

SEE ALSO

53       mknod(2)
54
55       The full documentation for mknod is maintained as a Texinfo manual.  If
56       the  info  and  mknod programs are properly installed at your site, the
57       command
58
59              info mknod
60
61       should give you access to the complete manual.
62
63
64
65GNU coreutils 6.9                 March 2007                          MKNOD(1)
Impressum