Make LCALL like LJMP and avoid segmentation faults parsing segments (!).
[unix-history] / usr / src / share / man / man8 / makedev.8
CommitLineData
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
10makedev \- make system special files
11.SH SYNOPSIS
12.B /dev/MAKEDEV
13.IR device ...
14.SH DESCRIPTION
15.I MAKEDEV
16is a shell script normally used to install
17special files. It resides in the
18.I /dev
19directory, as this is the normal location of special files.
20Arguments to
21.I MAKEDEV
22are usually of the form
23.IR device-name ?
24where
25.I device-name
26is one of the supported devices listed in section 4 of the
27manual and ``?'' is a logical unit number (0-9). A few
28special arguments create assorted collections of devices and are
29listed below.
30.TP
31.B std
32Create the
33.I standard
34devices for the system; e.g. /dev/console, /dev/tty.
35The VAX-11/780 console floppy device, /dev/floppy, and VAX-11/750
36and VAX-11/730 console cassette device(s), /dev/tu?, are also
37created with this entry.
38.TP
39.B local
40Create those devices specific to the local site. This
41request causes the shell file
42.I /dev/MAKEDEV.local
43to be executed. Site specific commands, such as those
44used to setup dialup lines as ``ttyd?'' should be included
45in this file.
46.PP
47Since all devices are created using
48.IR mknod (8),
49this shell script is useful only to the super-user.
50.SH DIAGNOSTICS
51Either self-explanatory, or generated by one of the programs
52called from the script. Use ``sh -x MAKEDEV'' in case of
53trouble.
54.SH "SEE ALSO"
55intro(4),
56config(8),
57mknod(8)