Add MAKEDEV(8) for x86_64.

This commit is contained in:
wiz 2002-06-19 09:28:02 +00:00
parent 44b5cee1bf
commit ef94287861
4 changed files with 382 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.492 2002/06/18 13:31:48 wiz Exp $
# $NetBSD: mi,v 1.493 2002/06/19 09:29:37 wiz Exp $
./usr/share/info/am-utils.info man-amd-info
./usr/share/info/as.info man-computil-info
./usr/share/info/awk.info man-util-info
@ -1747,6 +1747,8 @@
./usr/share/man/cat8/x68k/newdisk.0 man-sysutil-catman
./usr/share/man/cat8/x68k/poffd.0 man-sysutil-catman
./usr/share/man/cat8/x68k/rtcalarm.0 man-sysutil-catman
./usr/share/man/cat8/x86_64/MAKEDEV.0 man-sysutil-catman
./usr/share/man/cat8/x86_64/makedev.0 man-sysutil-catman
./usr/share/man/cat8/yp.0 man-nis-catman
./usr/share/man/cat8/ypbind.0 man-nis-catman
./usr/share/man/cat8/ypinit.0 man-nis-catman
@ -3478,6 +3480,8 @@
./usr/share/man/man8/x68k/newdisk.8 man-sysutil-man
./usr/share/man/man8/x68k/poffd.8 man-sysutil-man
./usr/share/man/man8/x68k/rtcalarm.8 man-sysutil-man
./usr/share/man/man8/x86_64/MAKEDEV.8 man-sysutil-man
./usr/share/man/man8/x86_64/makedev.8 man-sysutil-man
./usr/share/man/man8/yp.8 man-nis-man
./usr/share/man/man8/ypbind.8 man-nis-man
./usr/share/man/man8/ypinit.8 man-nis-man

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.58 2002/06/18 13:30:03 wiz Exp $
# $NetBSD: Makefile,v 1.59 2002/06/19 09:28:02 wiz Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
MAN= compat_freebsd.8 compat_hpux.8 compat_ibcs2.8 compat_linux.8 \
@ -25,7 +25,7 @@ SUBDIR= man8.acorn26 man8.acorn32 man8.algor man8.alpha man8.amiga \
man8.next68k man8.pc532 man8.playstation2 man8.pmax \
man8.pmppc man8.prep man8.sandpoint man8.sbmips man8.sgimips \
man8.shark man8.sparc man8.sparc64 \
man8.sun2 man8.sun3 man8.vax man8.walnut man8.x68k
man8.sun2 man8.sun3 man8.vax man8.walnut man8.x68k man8.x86_64
# to create man8.${arch}/MAKEDEV.8 from ../../etc/etc.${arch}/MAKEDEV
# set ARCHS to desired architectures, or leave empty for all.

View File

@ -0,0 +1,368 @@
.\" *** ------------------------------------------------------------------
.\" *** This file was generated automatically
.\" *** from src/etc/etc.x86_64/MAKEDEV and
.\" *** src/share/man/man8/MAKEDEV.8.template
.\" ***
.\" *** DO NOT EDIT - any changes will be lost!!!
.\" *** ------------------------------------------------------------------
.\"
.\" $NetBSD: MAKEDEV.8,v 1.1 2002/06/19 09:28:03 wiz Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
.\" by Thomas Klausner.
.\"
.\" 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.
.\"
.\" 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.
.\"
.Dd June 19, 2002
.Dt MAKEDEV 8 x86_64
.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 x86_64
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
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
.Xr \&wt 4
. It Ar st#
SCSI tapes, see
.Xr \&st 4
. El
.It Disks :
. Bl -tag -width 0123456789 -compact
. It Ar wd#
``winchester'' disk drives (ST506,IDE,ESDI,RLL,...), see
.Xr \&wd 4
. It Ar fd#
``floppy'' disk drives (3 1/2``, 5 1/4'')
. It Ar sd#
SCSI disks, see
.Xr \&sd 4
. It Ar cd#
SCSI or ATAPI CD-ROM, see
.Xr \&cd 4
. It Ar mcd#
Mitsumi CD-ROM, see
.Xr \&mcd 4
. It Ar vnd#
``file'' pseudo-disks, see
.Xr \&vnd 4
. It Ar md#
Memory pseudo-disk devices, see
.Xr \&md 4
. It Ar ccd#
Contatenated disk devices, see
.Xr \&ccd 4
. It Ar raid#
RAIDframe disk devices, see
.Xr \&raid 4
. It Ar ld#
Logical disk devices (e.g., hardware RAID), see
.Xr \&ld 4
. 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
. It Ar lms#
Logitech bus mouse
. It Ar wsmouse#
Wscons mouse events, see
.Xr \&wsmouse 4
. El
.It Keyboard devices :
. Bl -tag -width 0123456789 -compact
. It Ar wskbd#
Wscons keyboard events, see
.Xr \&wskbd 4
. El
.It Terminal ports :
. Bl -tag -width 0123456789 -compact
. It Ar com#
Standard PC COM ports, see
.Xr \&com 4
. It Ar tty#
Alias for PC COM ports, this is what the system really wants, see
.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
.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
. It Ar lpa#
Interruptless lp
. El
.It USB devices :
. Bl -tag -width 0123456789 -compact
. It Ar usb#
USB control devices, see
.Xr \&usb 4
. It Ar uhid#
USB generic HID devices, see
.Xr \&uhid 4
. It Ar ulpt#
USB printer devices, see
.Xr \&ulpt 4
. It Ar ugen#
USB generic devices, see
.Xr \&ugen 4
. It Ar urio#
USB Diamond Rio 500 devices, see
.Xr \&urio 4
. It Ar uscanner#
USB scanners, see
.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
.Xr \&fd 4
. It Ar bpf#
Packet filter, see
.Xr \&bpf 4
. It Ar cir#
Consumer IR, see
.Xr \&cir 4
. It Ar ipl
IP filter
. It Ar irframe#
IrDA physical frame, see
.Xr \&irframe 4
. It Ar random
Random number generator, see
.Xr \&rnd 4
. It Ar speaker
Pc speaker, see
.Xr \&speaker 4
. It Ar lkm
Loadable kernel modules interface, see
.Xr \&lkm 4
. It Ar audio#
Audio devices, see
.Xr \&audio 4
. It Ar apm
Power management device
. It Ar tun#
Network tunnel driver, see
.Xr \&tun 4
. It Ar joy#
Joystick device, see
.Xr \&joy 4
. It Ar satlink#
PlanetConnect satellite receiver driver
. It Ar scsibus#
SCSI busses, see
.Xr \&scsi 4 ,
.Xr \&scsictl 8
. It Ar ses#
SES/SAF-TE SCSI Devices, see
.Xr \&ses 4
. It Ar ss#
SCSI scanner, see
.Xr \&ss 4
. It Ar uk#
Unknown SCSI device, see
.Xr \&uk 4
. It Ar ch#
SCSI media changer, see
.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
.Xr \&bktr 4
. It Ar iop#
I2O IOP control interface, see
.Xr \&iop 4
. It Ar mlx#
Mylex DAC960 control interface, see
.Xr \&mlx 4
. It Ar mly#
Mylex AcceleRAID/eXtremeRAID control interface, see
.Xr \&mly 4
. It Ar altq
ALTQ control interface
. It Ar vmegen#
Generic VME access
. It Ar wsfont#
Console font control
. It Ar wsmux#
Wscons event multiplexor, see
.Xr \&wsmux 4
. It Ar agp#
AGP GART devices, see
.Xr \&agp 4
. It Ar pci#
PCI bus access devices, see
.Xr \&pci 4
. It Ar dpti#
DPT/Adaptec RAID management interface, see
.Xr \&dpti 4
. It Ar radio#
Radio devices, see
.Xr \&radio 4
. It Ar nsmb#
SMB requester
. 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 ,
.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.

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.1 2002/06/19 09:28:03 wiz Exp $
MAN= MAKEDEV.8
MLINKS= MAKEDEV.8 makedev.8
MANSUBDIR=/x86_64
.include <bsd.man.mk>