Man page of MAKEDEV
Section: Maintenance Commands (8)
Return to Main Contents
MAKEDEV - makes system special files
/dev/MAKEDEV [ argument ] [ device-name? ...]
The MAKEDEV shell script is normally used to install
special files. It resides in the /dev
directory, the normal location of special files.
Arguments to MAKEDEV are usually of the form
device-name? where device-name
is one of the supported devices listed in Section 7 of the
and ? is a logical unit number.
argument is one of the following special arguments that create assorted
collections of devices:
Creates all standard device files for all systems.
Standard devices for Alpha AXP-based systems
are as follows: klog, kmem, mem, null,
console, tty, pty0, pty1, kbinlog,
ptmx, pm0, and cam.
Creates a set of 16 LAT device special files, one for each LAT terminal
device. The n specifies the set option. The set option range is 0
to 38. Specifying lat38 creates 12 LAT device special files.
Creates groups of pseudoterminal device special files, as follows:
Creates pty0 to pty22.
Creates pty23 to pty45.
Creates pty46 to pty56.
Creates pty57 to pty64.
Creates pty65 to pty72.
Creates pty73 to pty80.
Creates pty81 to pty88.
Creates pty89 to pty96.
Creates pty97 to pty101.
The # specifies the group of pseudoterminal device special files created.
Creates those devices specific to the local site. This
request causes the shell file /dev/MAKEDEV.local
to be executed. This file must exist prior to using the local
argument. Site specific commands, such as those used to setup dialup lines
as ttyd? and to create device special files for all non-Digital devices, should
be included in this file.
Because all devices are created using mknod(8)
this shell script is useful only to the superuser.
The MAKEDEV script installs files in the current working directory.
Although device special files can be located anywhere on the system,
they are usually created in the /dev directory, since this is
where most applications expect to find them.
Either self-explanatory, or generated by one of the programs
called from the script. Use sh -x MAKEDEV in case of trouble.
intro(7), config(8), mknod(8), pty(7)
- RELATED INFORMATION
This document was created by
using the manual pages.
Time: 02:40:32 GMT, October 02, 2010