Commit | Line | Data |
---|---|---|
bea22c67 C |
1 | .TH MKNOD 8 "4 February 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | mknod \- build special file | |
5 | .SH SYNOPSIS | |
6 | .B /etc/mknod | |
7 | name | |
8 | [ | |
9 | .B c | |
10 | ] [ | |
11 | .B b | |
12 | ] | |
13 | major | |
14 | minor | |
15 | .SH DESCRIPTION | |
16 | .I Mknod | |
17 | makes a special file. | |
18 | The first argument is the | |
19 | .I name | |
20 | of the entry. | |
21 | The second is | |
22 | .B b | |
23 | if the special file is block-type (disks, tape) or | |
24 | .B c | |
25 | if it is character-type (other devices). | |
26 | The last two arguments are | |
27 | numbers specifying the | |
28 | .I major | |
29 | device type | |
30 | and the | |
31 | .I minor | |
32 | device (e.g. unit, drive, or line number). | |
33 | .PP | |
34 | The assignment of major device numbers is specific to each system. | |
35 | They have to be dug out of the | |
36 | system source file | |
37 | .I conf.c. | |
38 | .SH "SEE ALSO" | |
39 | mknod(2) |