1.\" $OpenBSD: MAKEDEV.8,v 1.7 2003/07/10 08:30:36 jmc Exp $ 2.\" Copyright (c) 1991 The Regents of the University of California. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. Neither the name of the University nor the names of its contributors 14.\" may be used to endorse or promote products derived from this software 15.\" without specific prior written permission. 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" from: @(#)MAKEDEV.8 5.2 (Berkeley) 3/22/91 30.\" 31.Dd October 5, 2001 32.Dt MAKEDEV 8 sparc64 33.Os 34.Sh NAME 35.Nm MAKEDEV 36.Nd create system and device special files 37.Sh SYNOPSIS 38.Nm MAKEDEV 39.Ar name 40.Op Ar ... 41.Sh DESCRIPTION 42The shell script 43.Nm MAKEDEV , 44found in the 45.Pa /dev 46directory, is used to create 47the common special 48files. 49See 50.Xr intro 4 51for a more complete discussion of special files. 52.Pp 53.Nm MAKEDEV 54takes any number of device names as arguments, where the names are 55the common abbreviation for the device. 56There are four special device names, 57.Ar all , 58.Ar std , 59.Ar local 60and 61.Ar wscons . 62If 63given, 64.Ar all 65creates device files for all devices on the sparc64. 66If units are expected for a device, 67.Nm MAKEDEV 68will supply the standard numbers. 69The 70.Ar std 71argument creates only the standard devices for the sparc64. 72Finally 73.Ar local 74is for devices specific to the local site, and executes the shell file 75.Pa MAKEDEV.local . 76.Pp 77The sparc64 supports the following devices. 78Where a device name is followed by a hash sign ("#"), the hash sign 79must be replaced by a unit number. 80.Pp 81.Sy Pseudo-names 82.Bl -tag -width openprom -compact 83.It Ar all 84All known devices for the sparc64. 85.It Ar std 86The standard devices (console, drum, fd/*, klog, kmem, mem, null, stderr, 87stdin, stdout, tty, zero). 88.It Ar local 89Configuration specific devices. 90.It Ar wscons 91All wscons-related devices. 92.El 93.Pp 94.Sy Device-names 95.Bl -tag -width openprom -compact 96.It Ar audio 97Audio device. 98.It Ar bpf# 99Berkeley packet filters. 100.It Ar ccd# 101.Dq Concatenated 102disk drives. 103.It Ar cd# 104SCSI CD-ROM drives. 105.It Ar ch# 106SCSI media changer drives. 107.It Ar cua# 108Serial ports. 109.It Ar fd# 110.Dq Floppy 111disk drives. 112.It Ar lkm 113Loadable kernel modules. 114.It Ar openprom 115OPENPROM and EEPROM interface. 116.It Ar pty# 117Set of 16 master and slave pseudo terminals. 118.It Ar raid# 119RAIDframe disk drives. 120.It Ar random 121In-kernel random number generator. 122.It Ar rd# 123.Dq Ramdisk 124pseudo-disks. 125.It Ar sd# 126SCSI disk drives. 127.It Ar ses# 128SCSI SES/SAF-TE devices. 129.It Ar st# 130SCSI tape drives. 131.It Ar tty# 132Serial ports. 133.It Ar ttyC# 134Wscons console screens. 135.It Ar tun# 136Network tunnel devices. 137.It Ar uk# 138.Dq Unknown SCSI 139devices. 140.It Ar vnd# 141.Dq File 142pseudo-disks. 143.It Ar wskbd 144Keyboard devices for wscons. 145.It Ar wsmouse 146Mouse devices for wscons. 147.It Ar wsmux 148Multiplexor devices for wscons. 149.It Ar xfs# 150XFS filesystem devices. 151.El 152.Sh FILES 153.Bl -tag -width /dev -compact 154.It Pa /dev 155The special file directory. 156.El 157.Sh SEE ALSO 158.Xr intro 4 , 159.Xr config 8 , 160.Xr mknod 8 161