NetBSD/share/man/man8/man8.i386/MAKEDEV.8

394 lines
9.1 KiB
Groff
Raw Normal View History

.\" *** ------------------------------------------------------------------
.\" *** This file was generated automatically
.\" *** from src/etc/etc.i386/MAKEDEV and
.\" *** src/share/man/man8/MAKEDEV.8.template
.\" ***
.\" *** DO NOT EDIT - any changes will be lost!!!
.\" *** ------------------------------------------------------------------
.\"
2003-04-14 09:48:46 +04:00
.\" $NetBSD: MAKEDEV.8,v 1.48 2003/04/14 05:48:50 wiz Exp $
1997-10-19 17:02:43 +04:00
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
.\" by Thomas Klausner.
1993-03-21 12:45:37 +03:00
.\"
.\" 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 NetBSD
.\" Foundation, Inc. and its contributors.
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
.\" contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
1993-03-21 12:45:37 +03:00
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
1993-03-21 12:45:37 +03:00
.\"
2002-12-18 22:25:44 +03:00
.Dd December 18, 2002
.Dt MAKEDEV 8 i386
.Os
.Sh NAME
.Nm MAKEDEV
.Nd create system and device special files
.Sh SYNOPSIS
.Nm
.Ar special Op Ar ...
.Pp
.Nm
.Ar device Op Ar ...
.Sh DESCRIPTION
.Nm
is used to create system and device special files.
As arguments it takes the names of known devices, like
.Ar sd0 ,
or of special targets, like
.Pa all
or
.Pa std ,
which create a collection of device special files.
.Pp
The script is in
.Pa /dev/MAKEDEV
and must be called from the
.Pa /dev
directory.
For the creation of the devices,
.Xr mknod 8
is used, which can only be used for creating devices by the
super-user.
.Pp
The special targets supported on
.Nx Ns / Ns i386
are:
.Pp
.\" @@@SPECIAL@@@
.Bl -tag -width 01234567 -compact
.It Ar all
Makes all known devices, including local devices. Tries to make the 'standard' number of each type.
.It Ar floppy
Devices to be put on install floppies
.It Ar ramdisk
Devices to be put into INSTALL kernel ramdisks.
.It Ar std
Standard devices
.It Ar local
Configuration specific devices
.It Ar usbs
Make USB devices
.It Ar isdns
2001-01-08 09:22:42 +03:00
Make ISDN devices
.El
.Pp
Please note that any hash marks
.Pq Dq #
in the following list of supported device targets must be replaced by
digits when calling
.Nm :
.Pp
.\" @@@DEVICES@@@
.Bl -tag -width 01
.It Tapes :
. Bl -tag -width 0123456789 -compact
. It Ar wt#
QIC-interfaced (e.g. not SCSI) 3M cartridge tape, see
2001-06-26 06:28:47 +04:00
.Xr \&wt 4
. It Ar st#
SCSI tapes, see
2001-06-26 06:28:47 +04:00
.Xr \&st 4
. El
.It Disks :
. Bl -tag -width 0123456789 -compact
. It Ar wd#
``winchester'' disk drives (ST506,IDE,ESDI,RLL,...), see
2001-06-26 06:28:47 +04:00
.Xr \&wd 4
. It Ar fd#
``floppy'' disk drives (3 1/2``, 5 1/4''), see
2001-06-26 06:28:47 +04:00
.Xr \&fdc 4
. It Ar sd#
SCSI disks, see
2001-06-26 06:28:47 +04:00
.Xr \&sd 4
. It Ar cd#
SCSI or ATAPI CD-ROM, see
2001-06-26 06:28:47 +04:00
.Xr \&cd 4
. It Ar mcd#
Mitsumi CD-ROM, see
2001-06-26 06:28:47 +04:00
.Xr \&mcd 4
. It Ar vnd#
``file'' pseudo-disks, see
2001-06-26 06:28:47 +04:00
.Xr \&vnd 4
. It Ar md#
2000-05-02 04:30:55 +04:00
Memory pseudo-disk devices, see
2001-06-26 06:28:47 +04:00
.Xr \&md 4
. It Ar ccd#
Concatenated disk devices, see
2001-06-26 06:28:47 +04:00
.Xr \&ccd 4
. It Ar cgd#
Cryptographic disk devices, see
.Xr \&cgd 4
. It Ar raid#
RAIDframe disk devices, see
2001-06-26 06:28:47 +04:00
.Xr \&raid 4
. It Ar ld#
Logical disk devices (e.g., hardware RAID), see
2001-06-26 06:28:47 +04:00
.Xr \&ld 4
2001-04-19 15:05:58 +04:00
. It Ar ed#
PS/2 ESDI disk devices
. El
.It Console ports :
. Bl -tag -width 0123456789 -compact
. It Ar ttyv0
pccons
. It Ar ttyE#
wscons
. El
.It Pointing devices :
. Bl -tag -width 0123456789 -compact
. It Ar mms#
Microsoft bus mouse, see
2001-06-26 06:28:47 +04:00
.Xr \&mms 4
. It Ar lms#
Logitech bus mouse, see
2001-06-26 06:28:47 +04:00
.Xr \&lms 4
. It Ar wsmouse#
wscons mouse events, see
2001-06-26 06:28:47 +04:00
.Xr \&wsmouse 4
. El
.It Keyboard devices :
. Bl -tag -width 0123456789 -compact
. It Ar wskbd#
wscons keyboard events, see
2001-06-26 06:28:47 +04:00
.Xr \&wskbd 4
. El
.It Terminal ports :
. Bl -tag -width 0123456789 -compact
. It Ar com#
Standard PC COM ports, see
2001-06-26 06:28:47 +04:00
.Xr \&com 4
. It Ar tty#
Alias for PC COM ports, this is what the system really wants, see
2001-06-26 06:28:47 +04:00
.Xr \&tty 4
. It Ar ttyCZ#
Cyclades-Z multiport serial boards. Each ``unit'' makes 64 ports.
. It Ar ttyCY#
Cyclom-Y multiport serial boards. Each ``unit'' makes 32 ports.
. El
.It Pseudo terminals :
. Bl -tag -width 0123456789 -compact
. It Ar pty#
Set of 62 master and slave pseudo terminals, see
2001-06-26 06:28:47 +04:00
.Xr \&pty 4
. It Ar opty
First 16 ptys, to save inodes on install media
. El
.It Printers :
. Bl -tag -width 0123456789 -compact
. It Ar lpt#
Stock lp, see
2001-06-26 06:28:47 +04:00
.Xr \&lpt 4
. It Ar lpa#
Interruptless lp
. El
.It USB devices :
. Bl -tag -width 0123456789 -compact
. It Ar usb#
USB control devices, see
2001-06-26 06:28:47 +04:00
.Xr \&usb 4
. It Ar uhid#
USB generic HID devices, see
2001-06-26 06:28:47 +04:00
.Xr \&uhid 4
. It Ar ulpt#
USB printer devices, see
2001-06-26 06:28:47 +04:00
.Xr \&ulpt 4
. It Ar ugen#
USB generic devices, see
2001-06-26 06:28:47 +04:00
.Xr \&ugen 4
2000-05-07 05:38:15 +04:00
. It Ar urio#
USB Diamond Rio 500 devices, see
2001-06-26 06:28:47 +04:00
.Xr \&urio 4
. It Ar uscanner#
2001-09-11 02:17:33 +04:00
USB scanners, see
2001-06-26 06:28:47 +04:00
.Xr \&uscanner 4
. It Ar ttyU#
USB modems
. El
.It ISDN devices :
. Bl -tag -width 0123456789 -compact
. It Ar isdn
Communication between userland isdnd and kernel, see
.Xr \&isdn 4
. It Ar isdnctl
Control device, see
.Xr \&isdnctl 4
. It Ar isdnbchan#
Raw b-channel access, see
.Xr \&isdnbchan 4
. It Ar isdntel#
Telephony device, see
.Xr \&isdntel 4
. It Ar isdntrc#
Trace device, see
.Xr \&isdntrc 4
. El
.It Special purpose devices :
. Bl -tag -width 0123456789 -compact
. It Ar clockctl
Clock control for non root users, see
.Xr \&clockctl 4
. It Ar fd
File descriptors, see
2002-01-13 01:06:01 +03:00
.Xr \&fd 4
. It Ar bpf#
Packet filter, see
2001-06-26 06:28:47 +04:00
.Xr \&bpf 4
2001-12-02 21:49:44 +03:00
. It Ar cir#
2001-12-11 08:29:47 +03:00
Consumer IR, see
.Xr \&cir 4
. It Ar ipl
2003-04-14 09:48:46 +04:00
IP Filter
2001-12-02 21:49:44 +03:00
. It Ar irframe#
2001-12-11 08:29:47 +03:00
IrDA physical frame, see
.Xr \&irframe 4
. It Ar random
Random number generator, see
2001-06-26 06:28:47 +04:00
.Xr \&rnd 4
. It Ar speaker
PC speaker, see
2001-06-26 06:28:47 +04:00
.Xr \&speaker 4
. It Ar lkm
Loadable kernel modules interface, see
2001-06-26 06:28:47 +04:00
.Xr \&lkm 4
. It Ar audio#
Audio devices, see
2001-06-26 06:28:47 +04:00
.Xr \&audio 4
. It Ar apm
Power management device, see
2001-06-26 06:28:47 +04:00
.Xr \&apm 4
. It Ar tun#
Network tunnel driver, see
2001-06-26 06:28:47 +04:00
.Xr \&tun 4
. It Ar joy#
Joystick device, see
2001-06-26 06:28:47 +04:00
.Xr \&joy 4
. It Ar satlink#
PlanetConnect satellite receiver driver
. It Ar scsibus#
SCSI busses, see
2001-06-26 06:28:47 +04:00
.Xr \&scsi 4 ,
.Xr \&scsictl 8
. It Ar ses#
SES/SAF-TE SCSI Devices, see
2001-06-26 06:28:47 +04:00
.Xr \&ses 4
. It Ar ss#
SCSI scanner, see
2001-06-26 06:28:47 +04:00
.Xr \&ss 4
. It Ar uk#
Unknown SCSI device, see
2001-06-26 06:28:47 +04:00
.Xr \&uk 4
. It Ar ch#
2002-01-13 01:06:01 +03:00
SCSI media changer, see
2001-06-26 06:28:47 +04:00
.Xr \&ch 4
. It Ar cfs#
Coda file system device
. It Ar sysmon
System Monitoring hardware
. It Ar bktr
Brooktree 848/849/878/879 based TV cards, see
2001-06-26 06:28:47 +04:00
.Xr \&bktr 4
. It Ar iop#
I2O IOP control interface, see
2001-06-26 06:28:47 +04:00
.Xr \&iop 4
. It Ar mlx#
Mylex DAC960 control interface, see
2001-06-26 06:28:47 +04:00
.Xr \&mlx 4
. It Ar mly#
Mylex AcceleRAID/eXtremeRAID control interface, see
.Xr \&mly 4
. It Ar altq
ALTQ control interface
2001-09-03 22:42:44 +04:00
. It Ar vmegen#
Generic VME access
. It Ar wsfont#
Console font control
2001-09-11 02:17:33 +04:00
. It Ar wsmux#
wscons event multiplexor, see
2001-09-11 02:17:33 +04:00
.Xr \&wsmux 4
2001-09-10 17:30:15 +04:00
. It Ar agp#
2001-09-15 14:53:17 +04:00
AGP GART devices, see
2001-09-11 02:17:33 +04:00
.Xr \&agp 4
2001-09-14 02:54:24 +04:00
. It Ar pci#
PCI bus access devices, see
.Xr \&pci 4
2002-12-18 22:25:44 +03:00
. It Ar dpt#
DPT/Adaptec EATA RAID management interface, see
.Xr \&dpt 4
. It Ar dpti#
2002-12-18 22:25:44 +03:00
DPT/Adaptec I2O RAID management interface, see
2001-11-11 01:58:27 +03:00
.Xr \&dpti 4
2002-01-13 01:06:01 +03:00
. It Ar radio#
Radio devices, see
.Xr \&radio 4
. It Ar nsmb#
SMB requester
. It Ar systrace
Syscall tracer, see
.Xr \&systrace 4
2002-07-11 04:38:47 +04:00
. It Ar kttcp
Kernel ttcp helper device
2002-08-02 04:48:28 +04:00
. It Ar dmoverio
Hardware-assisted data movers, see
.Xr \&dmoverio 4
2002-10-31 18:35:28 +03:00
. It Ar veriexec
Verified executable fingerprint loader, see
.Xr \&veriexec 4
2002-12-18 23:27:52 +03:00
. It Ar twe
3ware Escalade control interface, see
.Xr \&twe 4
. El
.El
.Sh FILES
.Bl -tag -width "/dev/MAKEDEV.local" -compact
.It Pa /dev
special device files directory
.It Pa /dev/MAKEDEV
script described in this man page
.It Pa /dev/MAKEDEV.local
script for site specific devices
.El
.Sh DIAGNOSTICS
If the script reports an error that is difficult to understand,
you can get more debugging output by using
.Dl Ic sh Fl x Ar MAKEDEV Ar argument .
.Sh SEE ALSO
.Xr intro 4 ,
1997-07-16 09:22:40 +04:00
.Xr config 8 ,
.Xr mknod 8
.Sh HISTORY
The
.Nm
command appeared in
.Bx 4.2 .
.Sh BUGS
This man page is generated automatically from the same sources
as
.Pa /dev/MAKEDEV ,
in which the device files are not always sorted, which may result
in an unusual (non-alphabetical) order.