Commit | Line | Data |
---|---|---|
567617cb KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
465f54ce | 5 | .\" @(#)mknod.8 6.2 (Berkeley) %G% |
567617cb | 6 | .\" |
03724d54 | 7 | .TH MKNOD 8 "" |
567617cb KM |
8 | .UC 4 |
9 | .SH NAME | |
10 | mknod \- build special file | |
11 | .SH SYNOPSIS | |
12 | .B /etc/mknod | |
13 | name | |
14 | [ | |
15 | .B c | |
16 | ] [ | |
17 | .B b | |
18 | ] | |
19 | major | |
20 | minor | |
21 | .SH DESCRIPTION | |
22 | .I Mknod | |
23 | makes a special file. | |
24 | The first argument is the | |
25 | .I name | |
26 | of the entry. | |
27 | The second is | |
28 | .B b | |
29 | if the special file is block-type (disks, tape) or | |
30 | .B c | |
31 | if it is character-type (other devices). | |
32 | The last two arguments are | |
33 | numbers specifying the | |
34 | .I major | |
35 | device type | |
36 | and the | |
37 | .I minor | |
38 | device (e.g. unit, drive, or line number). | |
39 | .PP | |
40 | The assignment of major device numbers is specific to each system. | |
41 | They have to be dug out of the | |
42 | system source file | |
43 | .I conf.c. | |
44 | .SH "SEE ALSO" | |
465f54ce | 45 | mknod(2), makedev(8) |