BSD 4_2 development
[unix-history] / usr / man / man8 / makedev.8
CommitLineData
4f20fdb5
C
1.TH MAKEDEV 8 "18 July 1983"
2.UC 4
3.SH NAME
4makedev \- make system special files
5.SH SYNOPSIS
6.B /dev/MAKEDEV
7.IR device ...
8.SH DESCRIPTION
9.I MAKEDEV
10is a shell script normally used to install
11special files. It resides in the
12.I /dev
13directory, as this is the normal location of special files.
14Arguments to
15.I MAKEDEV
16are usually of the form
17.IR device-name ?
18where
19.I device-name
20is one of the supported devices listed in section 4 of the
21manual and ``?'' is a logical unit number (0-9). A few
22special arguments create assorted collections of devices and are
23listed below.
24.TP
25.B std
26Create the
27.I standard
28devices for the system; e.g. /dev/console, /dev/tty.
29The VAX-11/780 console floppy device, /dev/floppy, and VAX-11/750
30and VAX-11/730 console cassette device(s), /dev/tu?, are also
31created with this entry.
32.TP
33.B local
34Create those devices specific to the local site. This
35request causes the shell file
36.I /dev/MAKEDEV.local
37to be executed. Site specific commands, such as those
38used to setup dialup lines as ``ttyd?'' should be included
39in this file.
40.PP
41Since all devices are created using
42.IR mknod (8),
43this shell script is useful only to the super-user.
44.SH DIAGNOSTICS
45Either self-explanatory, or generated by one of the programs
46called from the script. Use ``sh -x MAKEDEV'' in case of
47trouble.
48.SH "SEE ALSO"
49intro(4),
50config(8),
51mknod(8)
52.SH BUGS
53When more than one piece of hardware of the same ``kind'' is
54present on a machine (for instance, a dh and a dmf), naming
55conflicts arise.