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