Commit | Line | Data |
---|---|---|
e8867c20 KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
d2716bb7 | 5 | .\" @(#)makedev.8 6.2 (Berkeley) %G% |
e8867c20 | 6 | .\" |
33c726eb | 7 | .TH MAKEDEV 8 "" |
e8867c20 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | makedev \- make system special files | |
11 | .SH SYNOPSIS | |
12 | .B /dev/MAKEDEV | |
13 | .IR device ... | |
14 | .SH DESCRIPTION | |
15 | .I MAKEDEV | |
16 | is a shell script normally used to install | |
17 | special files. It resides in the | |
18 | .I /dev | |
19 | directory, as this is the normal location of special files. | |
20 | Arguments to | |
21 | .I MAKEDEV | |
22 | are usually of the form | |
23 | .IR device-name ? | |
24 | where | |
25 | .I device-name | |
26 | is one of the supported devices listed in section 4 of the | |
27 | manual and ``?'' is a logical unit number (0-9). A few | |
28 | special arguments create assorted collections of devices and are | |
29 | listed below. | |
30 | .TP | |
31 | .B std | |
32 | Create the | |
33 | .I standard | |
34 | devices for the system; e.g. /dev/console, /dev/tty. | |
35 | The VAX-11/780 console floppy device, /dev/floppy, and VAX-11/750 | |
36 | and VAX-11/730 console cassette device(s), /dev/tu?, are also | |
37 | created with this entry. | |
38 | .TP | |
39 | .B local | |
40 | Create those devices specific to the local site. This | |
41 | request causes the shell file | |
42 | .I /dev/MAKEDEV.local | |
43 | to be executed. Site specific commands, such as those | |
44 | used to setup dialup lines as ``ttyd?'' should be included | |
45 | in this file. | |
46 | .PP | |
47 | Since all devices are created using | |
48 | .IR mknod (8), | |
49 | this shell script is useful only to the super-user. | |
50 | .SH DIAGNOSTICS | |
51 | Either self-explanatory, or generated by one of the programs | |
52 | called from the script. Use ``sh -x MAKEDEV'' in case of | |
53 | trouble. | |
54 | .SH "SEE ALSO" | |
55 | intro(4), | |
56 | config(8), | |
57 | mknod(8) |