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