1999-09-18 04:31:01 +04:00
|
|
|
.\" *** ------------------------------------------------------------------
|
|
|
|
.\" *** This file was generated automatically
|
|
|
|
.\" *** from src/etc/etc.alpha/MAKEDEV and
|
|
|
|
.\" *** src/share/man/man8/man8.alpha/MAKEDEV.8.template
|
|
|
|
.\" ***
|
|
|
|
.\" *** DO NOT EDIT - any changes will be lost!!!
|
|
|
|
.\" *** ------------------------------------------------------------------
|
|
|
|
.\"
|
2000-06-11 14:08:03 +04:00
|
|
|
.\" $NetBSD: MAKEDEV.8,v 1.5 2000/06/11 10:08:03 veego Exp $
|
1999-04-05 07:19:01 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Christopher G. Demetriou
|
|
|
|
.\" for the NetBSD Project.
|
|
|
|
.\" 3. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1991 The Regents of the University of California.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" @(#)MAKEDEV.8 5.2 (Berkeley) 3/22/91
|
|
|
|
.\"
|
|
|
|
.Dd April 3, 1999
|
|
|
|
.Dt MAKEDEV 8 alpha
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm MAKEDEV ,
|
|
|
|
.Nm makedev
|
|
|
|
.Nd create system and device special files
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm MAKEDEV
|
|
|
|
.Ar name
|
|
|
|
.Op Ar ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The shell script
|
|
|
|
.Nm MAKEDEV ,
|
|
|
|
found in the
|
|
|
|
.Pa /dev
|
|
|
|
directory, is used to create
|
|
|
|
the common special
|
|
|
|
files.
|
|
|
|
.\" See
|
|
|
|
.\" .Xr special 8
|
|
|
|
.\" for a more complete discussion of special files.
|
|
|
|
.Pp
|
|
|
|
.Nm MAKEDEV
|
|
|
|
takes any number of device names as arguments,
|
|
|
|
where the names are the common abbreviation for
|
|
|
|
the device.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nx Ns Tn /alpha
|
|
|
|
.Nm
|
|
|
|
script supports the following special names.
|
|
|
|
.Pp
|
1999-09-18 04:31:01 +04:00
|
|
|
.\" @@@SPECIAL@@@
|
1999-04-05 07:19:01 +04:00
|
|
|
.Bl -tag -width 01234567 -compact
|
|
|
|
.It Ar all
|
1999-09-18 04:31:01 +04:00
|
|
|
Makes all known devices, including local devices. If units are expected for a device
|
|
|
|
.Pa MAKEDEV
|
1999-04-05 07:19:01 +04:00
|
|
|
supplies the standard numbers.
|
|
|
|
.It Ar minimal
|
1999-09-18 04:31:01 +04:00
|
|
|
A minimal set of devices for install disks, etc.
|
1999-04-05 07:19:01 +04:00
|
|
|
.It Ar std
|
1999-09-18 04:31:01 +04:00
|
|
|
The standard devices (console, drum, klog, kmem, mem, null, stderr, stdin, stdout, tty, zero).
|
|
|
|
.It Ar local
|
|
|
|
Configuration specific devices which are created by running the
|
|
|
|
.Pa MAKEDEV.local
|
|
|
|
shell script with the argument ``all''.
|
1999-04-05 07:19:01 +04:00
|
|
|
.It Ar usbs
|
1999-09-18 04:31:01 +04:00
|
|
|
All USB devices. If units are expected for a device
|
|
|
|
.Pa MAKEDEV
|
1999-04-05 07:19:01 +04:00
|
|
|
supplies the standard numbers.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nx Ns Tn /alpha
|
|
|
|
.Nm
|
|
|
|
script supports the following device names.
|
|
|
|
Where a device name is followed by a hash
|
|
|
|
sign
|
|
|
|
.Pq Dq # ,
|
|
|
|
the hash sign must be replaced
|
|
|
|
by a unit number.
|
|
|
|
.Pp
|
1999-09-18 04:31:01 +04:00
|
|
|
.\" @@@DEVICES@@@
|
1999-04-05 07:19:01 +04:00
|
|
|
.Bl -tag -width 01
|
1999-09-18 04:31:01 +04:00
|
|
|
.It Tapes:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar st#
|
1999-09-18 04:31:01 +04:00
|
|
|
SCSI tape, see
|
|
|
|
.Xr st 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. El
|
1999-09-18 04:31:01 +04:00
|
|
|
.It Disks:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
2000-05-02 04:30:55 +04:00
|
|
|
. It Ar ca#
|
|
|
|
Compaq array, see
|
|
|
|
.Xr ca 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar ccd#
|
1999-09-18 04:31:01 +04:00
|
|
|
Concatenated disk driver, see
|
|
|
|
.Xr ccd 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar cd#
|
1999-09-18 04:31:01 +04:00
|
|
|
SCSI CD-ROM, see
|
|
|
|
.Xr cd 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar md#
|
2000-05-02 04:30:55 +04:00
|
|
|
Memory pseudo-disk devices, see
|
1999-09-18 04:31:01 +04:00
|
|
|
.Xr md 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar raid#
|
1999-09-18 04:31:01 +04:00
|
|
|
RAIDframe disk driver, see
|
|
|
|
.Xr raid 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar sd#
|
1999-09-18 04:31:01 +04:00
|
|
|
ATAPI and SCSI disks, see
|
|
|
|
.Xr sd 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar vnd#
|
1999-09-18 04:31:01 +04:00
|
|
|
File pseudo-disks, see
|
|
|
|
.Xr vnd 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar wd#
|
1999-09-18 04:31:01 +04:00
|
|
|
IDE disks, see
|
|
|
|
.Xr wd 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar fd#
|
|
|
|
PC-style floppy disks
|
|
|
|
. El
|
1999-09-18 04:31:01 +04:00
|
|
|
.It Terminals:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
|
|
|
. It Ar ttyB?
|
|
|
|
DEC 3000 ZS8530 (``scc'') serial ports
|
|
|
|
. It Ar ttyC?
|
|
|
|
AlphaStation NS16550 (``com'') serial ports
|
|
|
|
. It Ar ttyE?
|
|
|
|
Workstation console (``wscons'') glass-tty emulators
|
2000-06-11 14:08:03 +04:00
|
|
|
. It Ar ttyCZ?
|
|
|
|
Cyclades-Z multiport serial boards. Each ``unit'' makes 64 ports.
|
1999-04-05 07:19:01 +04:00
|
|
|
. El
|
1999-09-18 04:31:01 +04:00
|
|
|
.It Pseudo terminals:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar pty#
|
1999-09-18 04:31:01 +04:00
|
|
|
Set of 16 master and slave pseudo terminals, see
|
|
|
|
.Xr pty 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. El
|
1999-09-18 04:31:01 +04:00
|
|
|
.It Printers:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar lpt#
|
1999-09-18 04:31:01 +04:00
|
|
|
PC parallel port driver (``lpt'') units
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar lpa#
|
1999-09-18 04:31:01 +04:00
|
|
|
Polled PC parallel port driver (``lpt'') units
|
1999-04-05 07:19:01 +04:00
|
|
|
. El
|
1999-09-18 04:31:01 +04:00
|
|
|
.It USB devices:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar usb#
|
1999-09-18 04:31:01 +04:00
|
|
|
Bus control devices used by usbd for attach/detach, see
|
|
|
|
.Xr usb 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar uhid#
|
1999-09-18 04:31:01 +04:00
|
|
|
Generic HID devices, see
|
|
|
|
.Xr uhid 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar ulpt#
|
1999-09-18 04:31:01 +04:00
|
|
|
Printer devices, see
|
|
|
|
.Xr ulpt 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar ugen#
|
1999-09-18 04:31:01 +04:00
|
|
|
Generic devices, see
|
|
|
|
.Xr ugen 4
|
|
|
|
. It Ar ttyU#
|
|
|
|
Modem
|
1999-04-05 07:19:01 +04:00
|
|
|
. El
|
1999-09-18 04:31:01 +04:00
|
|
|
.It Special purpose devices:
|
|
|
|
. Bl -tag -width 0123456789 -compact
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar audio#
|
1999-09-18 04:31:01 +04:00
|
|
|
Audio devices, see
|
|
|
|
.Xr audio 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar bpf#
|
1999-09-18 04:31:01 +04:00
|
|
|
Berkeley packet filter devices, see
|
|
|
|
.Xr bpf 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar ch#
|
1999-09-18 04:31:01 +04:00
|
|
|
SCSI media changer, see
|
|
|
|
.Xr ch 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar fd
|
1999-09-18 04:31:01 +04:00
|
|
|
File descriptors (/dev/fd/*)
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar ipl
|
|
|
|
IP filter
|
|
|
|
. It Ar kbd
|
|
|
|
Keyboard (provides events, for X11)
|
|
|
|
. It Ar lkm
|
1999-09-18 04:31:01 +04:00
|
|
|
Loadable kernel modules interface, see
|
|
|
|
.Xr lkm 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar mouse
|
|
|
|
Mouse (provides events, for X11)
|
|
|
|
. It Ar random
|
|
|
|
Random number generator
|
|
|
|
. It Ar satlink#
|
|
|
|
PlanetConnect satellite receiver driver
|
|
|
|
. It Ar scsibus#
|
1999-09-18 04:31:01 +04:00
|
|
|
SCSI busses, see
|
|
|
|
.Xr scsictl 8 ,
|
|
|
|
.Xr scsi 8
|
2000-05-02 04:30:55 +04:00
|
|
|
. It Ar ses#
|
|
|
|
SES/SAF-TE SCSI Devices
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar speaker
|
2000-05-02 04:30:55 +04:00
|
|
|
PC speaker (IBM BASIC playstring emulation), see
|
|
|
|
.Xr speaker 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar ss#
|
1999-09-18 04:31:01 +04:00
|
|
|
SCSI scanner, see
|
|
|
|
.Xr ss 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar tun#
|
1999-09-18 04:31:01 +04:00
|
|
|
Network tunnel driver, see
|
|
|
|
.Xr tun 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. It Ar uk#
|
1999-09-18 04:31:01 +04:00
|
|
|
SCSI unknown, see
|
|
|
|
.Xr uk 4
|
1999-04-05 07:19:01 +04:00
|
|
|
. El
|
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /dev -compact
|
|
|
|
.It Pa /dev
|
|
|
|
The special file directory.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr intro 4 ,
|
|
|
|
.Xr config 8 ,
|
|
|
|
.Xr mknod 8
|
|
|
|
.\" .Xr special 8
|
|
|
|
.Sh BUGS
|
|
|
|
This manual page was created from the list at the top of the
|
|
|
|
.Nx Ns Tn /alpha
|
|
|
|
shell script. That script's comments may be incorrect, and
|
|
|
|
this manual page must be kept in sync with them, so it may be
|
|
|
|
even more incorrect. At the very least, the ordering of device
|
|
|
|
names in that file seems almost random.
|