1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)makedev.8 8.1 (Berkeley) 06/05/93 7.\" 8.Dd 9.Dt MAKEDEV 8 10.Os BSD 4.2 11.Sh NAME 12.Nm makedev 13.Nd make system special files 14.Sh SYNOPSIS 15.Nm MAKEDEV 16.Ar device ... 17.Sh DESCRIPTION 18.Nm MAKEDEV 19is a shell script normally used to install 20special files. It resides in the 21.Pa /dev 22directory, as this is the normal location of special files. 23Arguments to 24.Nm MAKEDEV 25are usually of the form 26.Ar device-name Ns Sy \&? 27where 28.Ar device-name 29is one of the supported devices listed in section 4 of the 30manual and 31.Dq Sy \&? 32is a logical unit number (0-9). A few 33special arguments create assorted collections of devices and are 34listed below. 35.Bl -tag -width Ds 36.It Sy std 37Create the 38.Em standard 39devices for the system; for example the standard 40.Tn UNIX 41devices 42.Pa /dev/console and /dev/tty; 43the standard hardware dependent devices, 44for example in the VAX family 45the 46.Tn VAX-11/780 47console floppy device, 48.Pa /dev/floppy , 49and 50.Tn VAX-11/750 51and 52.Tn VAX-11/730 53console cassette device(s), 54.Pa /dev/tu? 55devices would be made for the appropriate system. 56.It Sy local 57Create those devices specific to the local site. This 58request causes the shell file 59.Pa /dev/MAKEDEV.local 60to be executed. Site specific commands, such as those 61used to setup dialup lines as 62.Pa ttyd? 63should be included 64in this file. 65.El 66.Pp 67Since all devices are created using 68.Xr mknod 8 , 69this shell script is useful only to the super-user. 70.Sh DIAGNOSTICS 71Either self-explanatory, or generated by one of the programs 72called from the script. Use 73.Ql sh -x MAKEDEV 74in case of 75trouble. 76.Sh SEE ALSO 77.Xr intro 4 , 78.Xr config 8 , 79.Xr mknod 8 80.Sh HISTORY 81The 82.Nm 83command appeared in 84.Bx 4.2 . 85