xref: /original-bsd/share/man/man8/makedev.8 (revision 2301fdfb)
Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)makedev.8 6.2 (Berkeley) 05/19/86

MAKEDEV 8 ""
C 5
NAME
makedev - make system special files
SYNOPSIS
/dev/MAKEDEV device ...
DESCRIPTION
MAKEDEV is a shell script normally used to install special files. It resides in the /dev directory, as this is 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 4 of the manual and ``?'' is a logical unit number (0-9). A few special arguments create assorted collections of devices and are listed below.

std Create the standard devices for the system; e.g. /dev/console, /dev/tty. The VAX-11/780 console floppy device, /dev/floppy, and VAX-11/750 and VAX-11/730 console cassette device(s), /dev/tu?, are also created with this entry.

local Create those devices specific to the local site. This request causes the shell file /dev/MAKEDEV.local to be executed. Site specific commands, such as those used to setup dialup lines as ``ttyd?'' should be included in this file.

Since all devices are created using mknod (8), this shell script is useful only to the super-user.

DIAGNOSTICS
Either self-explanatory, or generated by one of the programs called from the script. Use ``sh -x MAKEDEV'' in case of trouble.
"SEE ALSO"
intro(4), config(8), mknod(8)