1*61619Sbostic.\" Copyright (c) 1983, 1991, 1993 2*61619Sbostic.\" The Regents of the University of California. All rights reserved. 318986Smckusick.\" 447467Scael.\" %sccs.include.redist.man% 518986Smckusick.\" 6*61619Sbostic.\" @(#)makedev.8 8.1 (Berkeley) 06/05/93 747467Scael.\" 847467Scael.Dd 947467Scael.Dt MAKEDEV 8 1047467Scael.Os BSD 4.2 1147467Scael.Sh NAME 1247467Scael.Nm makedev 1347467Scael.Nd make system special files 1447467Scael.Sh SYNOPSIS 1547467Scael.Nm MAKEDEV 1647467Scael.Ar device ... 1747467Scael.Sh DESCRIPTION 1847467Scael.Nm MAKEDEV 1918986Smckusickis a shell script normally used to install 2018986Smckusickspecial files. It resides in the 2147467Scael.Pa /dev 2218986Smckusickdirectory, as this is the normal location of special files. 2318986SmckusickArguments to 2447467Scael.Nm MAKEDEV 2518986Smckusickare usually of the form 2647467Scael.Ar device-name Ns Sy \&? 2718986Smckusickwhere 2847467Scael.Ar device-name 2918986Smckusickis one of the supported devices listed in section 4 of the 3047467Scaelmanual and 3147467Scael.Dq Sy \&? 3247467Scaelis a logical unit number (0-9). A few 3318986Smckusickspecial arguments create assorted collections of devices and are 3418986Smckusicklisted below. 3547467Scael.Bl -tag -width Ds 3647467Scael.It Sy std 3718986SmckusickCreate the 3847467Scael.Em standard 3947467Scaeldevices for the system; for example the standard 4047467Scael.Tn UNIX 4147467Scaeldevices 4247467Scael.Pa /dev/console and /dev/tty; 4347467Scaelthe standard hardware dependent devices, 4447467Scaelfor example in the VAX family 4547467Scaelthe 4647467Scael.Tn VAX-11/780 4747467Scaelconsole floppy device, 4847467Scael.Pa /dev/floppy , 4947467Scaeland 5047467Scael.Tn VAX-11/750 5147467Scaeland 5247467Scael.Tn VAX-11/730 5347467Scaelconsole cassette device(s), 5447467Scael.Pa /dev/tu? 5547467Scaeldevices would be made for the appropriate system. 5647467Scael.It Sy local 5718986SmckusickCreate those devices specific to the local site. This 5818986Smckusickrequest causes the shell file 5947467Scael.Pa /dev/MAKEDEV.local 6018986Smckusickto be executed. Site specific commands, such as those 6147467Scaelused to setup dialup lines as 6247467Scael.Pa ttyd? 6347467Scaelshould be included 6418986Smckusickin this file. 6547467Scael.El 6647467Scael.Pp 6718986SmckusickSince all devices are created using 6847467Scael.Xr mknod 8 , 6918986Smckusickthis shell script is useful only to the super-user. 7047467Scael.Sh DIAGNOSTICS 7118986SmckusickEither self-explanatory, or generated by one of the programs 7247467Scaelcalled from the script. Use 7347467Scael.Ql sh -x MAKEDEV 7447467Scaelin case of 7518986Smckusicktrouble. 7647467Scael.Sh SEE ALSO 7747467Scael.Xr intro 4 , 7847467Scael.Xr config 8 , 7947467Scael.Xr mknod 8 8047467Scael.Sh HISTORY 8147467ScaelThe 8247467Scael.Nm 8347467Scaelcommand appeared in 8447467Scael.Bx 4.2 . 85