xref: /netbsd-src/share/man/man8/MAKEDEV.8 (revision 1db3cc90ced0db5b8dc83a740ea270ae13565e53)
17381215eSjdolecek.\" *** ------------------------------------------------------------------
27381215eSjdolecek.\" *** This file was generated automatically
37381215eSjdolecek.\" *** from src/etc/MAKEDEV.tmpl and
47381215eSjdolecek.\" *** src/share/man/man8/MAKEDEV.8.template
57381215eSjdolecek.\" ***
67381215eSjdolecek.\" *** DO NOT EDIT - any changes will be lost!!!
77381215eSjdolecek.\" *** ------------------------------------------------------------------
87381215eSjdolecek.\"
9*1db3cc90Sgson.\" $NetBSD: MAKEDEV.8,v 1.57 2020/04/01 15:33:50 gson Exp $
107381215eSjdolecek.\"
11378687ecSapb.\" Copyright (c) 2001, 2003, 2007, 2008 The NetBSD Foundation, Inc.
127381215eSjdolecek.\" All rights reserved.
137381215eSjdolecek.\"
147381215eSjdolecek.\" This code is derived from software contributed to The NetBSD Foundation
157381215eSjdolecek.\" by Thomas Klausner.
167381215eSjdolecek.\"
177381215eSjdolecek.\" Redistribution and use in source and binary forms, with or without
187381215eSjdolecek.\" modification, are permitted provided that the following conditions
197381215eSjdolecek.\" are met:
207381215eSjdolecek.\" 1. Redistributions of source code must retain the above copyright
217381215eSjdolecek.\"    notice, this list of conditions and the following disclaimer.
227381215eSjdolecek.\" 2. Redistributions in binary form must reproduce the above copyright
237381215eSjdolecek.\"    notice, this list of conditions and the following disclaimer in the
247381215eSjdolecek.\"    documentation and/or other materials provided with the distribution.
257381215eSjdolecek.\"
267381215eSjdolecek.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
277381215eSjdolecek.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
287381215eSjdolecek.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
297381215eSjdolecek.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
307381215eSjdolecek.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
317381215eSjdolecek.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
327381215eSjdolecek.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
337381215eSjdolecek.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
347381215eSjdolecek.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
357381215eSjdolecek.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
367381215eSjdolecek.\" POSSIBILITY OF SUCH DAMAGE.
377381215eSjdolecek.\"
38*1db3cc90Sgson.Dd April  1, 2020
397381215eSjdolecek.Dt MAKEDEV 8
407381215eSjdolecek.Os
417381215eSjdolecek.Sh NAME
427381215eSjdolecek.Nm MAKEDEV
437381215eSjdolecek.Nd create system and device special files
447381215eSjdolecek.Sh SYNOPSIS
45378687ecSapb.\" Please keep this in sync with MAKEDEV.local.8
467381215eSjdolecek.Nm
4743a361baSapb.Op Fl fMsu
48ef0d4ed8Swiz.Op Fl m Ar mknod
4976426884Sapb.Op Fl p Ar pax
50378687ecSapb.Op Fl t Ar mtree
5176426884Sapb.Bro Ar special | device Brc Op Ar ...
527381215eSjdolecek.Sh DESCRIPTION
537381215eSjdolecek.Nm
547381215eSjdolecekis used to create system and device special files.
557381215eSjdolecekAs arguments it takes the names of known devices, like
567381215eSjdolecek.Ar sd0 ,
577381215eSjdolecekor of special targets, like
587381215eSjdolecek.Pa all
597381215eSjdolecekor
607381215eSjdolecek.Pa std ,
618048a356Sapbwhich create a collection of device special files,
628048a356Sapbor
638048a356Sapb.Pa local ,
648048a356Sapbwhich invokes
658048a356Sapb.Xr MAKEDEV.local 8
668048a356Sapbwith the
678048a356Sapb.Pa all
688048a356Sapbargument.
697381215eSjdolecek.Pp
707381215eSjdolecekThe script is in
71378687ecSapb.Pa /dev/MAKEDEV .
72378687ecSapbDevices are created in the current working directory;
73378687ecSapbin normal use,
74378687ecSapb.Nm
75378687ecSapbshould be invoked with
767381215eSjdolecek.Pa /dev
77378687ecSapbas the current working directory.
78ef0d4ed8Swiz.Pp
79ef0d4ed8SwizSupported options are:
80ef0d4ed8Swiz.Bl -tag -width XmXmknodXX
81ef0d4ed8Swiz.It Fl f
82ef0d4ed8SwizForce permissions to be updated on existing devices.
83368240a3SapbThis works only if
84378687ecSapb.Nm
85378687ecSapbinvokes
86378687ecSapb.Xr mknod 8 ;
87378687ecSapbit is not compatible with the
88378687ecSapb.Fl p ,
89378687ecSapb.Fl s ,
90368240a3Sapbor
91378687ecSapb.Fl t
92368240a3Sapboptions.
933fa05cb2Sdsl.It Fl M
943fa05cb2SdslCreate a memory file system, union mounted over the current directory,
953fa05cb2Sdslto contain the device special files.
96378687ecSapbThe memory file system is created using
97802860abSapb.Xr mount_tmpfs 8
98802860abSapbor
99378687ecSapb.Xr mount_mfs 8 ,
100378687ecSapbin that order of preference.
101368240a3Sapb.Pp
10276426884SapbIf the
10376426884Sapb.Fl M
10476426884Sapbflag is specified more than once, then
10576426884Sapb.Nm
106368240a3Sapbassumes that it is being invoked from
107e9a2a0b6Swiz.Xr init 8
108368240a3Sapbto populate a memory file system for
109368240a3Sapb.Pa /dev .
110368240a3SapbIn this case,
111368240a3Sapb.Nm
11276426884Sapbwill also redirect its output to the system console.
113ef0d4ed8Swiz.It Fl m Ar mknod
114378687ecSapbForce the use of
115378687ecSapb.Xr mknod 8 ,
116378687ecSapband specify the name or path to the
117ef0d4ed8Swiz.Xr mknod 8
118ef0d4ed8Swizprogram.
119ef0d4ed8Swiz[Usually, $TOOL_MKNOD or mknod.]
12076426884Sapb.It Fl p Ar pax
121378687ecSapbForce the use of
122378687ecSapb.Xr pax 1 ,
123378687ecSapband specify the name or path to the
12476426884Sapb.Xr pax 1
12576426884Sapbprogram.
126378687ecSapb[Usually, $TOOL_PAX or pax.]
127ef0d4ed8Swiz.It Fl s
128378687ecSapbGenerate an
129ef0d4ed8Swiz.Xr mtree 8
130ef0d4ed8Swizspecfile instead of creating devices.
131378687ecSapb.It Fl t Ar mtree
132378687ecSapbForce the use of
133378687ecSapb.Xr mtree 8 ,
134378687ecSapband specify the name or path to the
135378687ecSapb.Xr mtree 8
136378687ecSapbprogram.
137378687ecSapb[Usually, $TOOL_MTREE or mtree.]
13843a361baSapb.It Fl u
13943a361baSapbDon't re-create devices that already exist.
140378687ecSapb.El
141378687ecSapb.Pp
142378687ecSapb.Nm
143378687ecSapbhas several possible methods of creating device nodes:
144378687ecSapb.Bl -bullet
145378687ecSapb.It
146378687ecSapbBy invoking the
147378687ecSapb.Xr mknod 8
148378687ecSapbcommand once for each device node.
149378687ecSapbThis is the traditional method, but it is slow because each device node
150378687ecSapbis created using a new process.
151378687ecSapb.Pp
152378687ecSapbThe
153378687ecSapb.Fl m
154378687ecSapboption forces
155378687ecSapb.Nm
156378687ecSapbto use the
157378687ecSapb.Xr mknod 8
158378687ecSapbmethod.
159378687ecSapb.It
160378687ecSapbBy internally creating a specfile in a format usable by
161378687ecSapb.Xr mtree 8 ,
162378687ecSapband providing the specfile on standard input to a
163378687ecSapb.Xr pax 1
164378687ecSapbor
165378687ecSapb.Xr mtree 8
166378687ecSapbcommand, invoked with options that request it to create the device nodes
167378687ecSapbas well as any necessary subdirectories.
168378687ecSapbThis is much faster than creating device nodes with
169378687ecSapb.Xr mknod 8 ,
170378687ecSapbbecause it requires much fewer processes;
171378687ecSapbhowever, it's not compatible with the
172378687ecSapb.Fl f
173378687ecSapboption.
174378687ecSapb.Pp
175378687ecSapbThe
176378687ecSapb.Fl p
177378687ecSapbor
178378687ecSapb.Fl t
179378687ecSapboptions force
180378687ecSapb.Nm
181378687ecSapbto use the
182378687ecSapb.Xr pax 1
183378687ecSapbor
184378687ecSapb.Xr mtree 8
185378687ecSapbmethods.
186378687ecSapb.It
187378687ecSapbIf the
188378687ecSapb.Fl s
189378687ecSapboption is specified, then
190378687ecSapb.Nm
191378687ecSapbwill not create device nodes at all, but will output
192378687ecSapba specfile in a format usable by
193378687ecSapb.Xr mtree 8 .
194ef0d4ed8Swiz.El
1957381215eSjdolecek.Pp
196368240a3SapbThe
197378687ecSapb.Fl m , Fl p , Fl s ,
198368240a3Sapband
199378687ecSapb.Fl t
200368240a3Sapbflags are mutually exclusive.
201368240a3SapbIf none of these flags is specified, then
202368240a3Sapb.Nm
203378687ecSapbwill use
204378687ecSapb.Xr mtree 8 ,
205378687ecSapb.Xr pax 1 ,
206378687ecSapbor
207378687ecSapb.Xr mknod 8 ,
208378687ecSapbin that order of preference, depending on which commands
209378687ecSapbappear to be available and usable.
210378687ecSapbIn normal use, it's expected that
211378687ecSapb.Xr mtree 8
212378687ecSapbwill be available, so it will be chosen.
213378687ecSapbIf
214378687ecSapb.Nm
215378687ecSapbis invoked by
216378687ecSapb.Xr init 8 ,
217378687ecSapbit's expected that
218378687ecSapb.Xr mtree 8
219378687ecSapbwill not be available, but
220368240a3Sapb.Xr pax 1
221378687ecSapbmay be available.
222368240a3Sapb.Pp
2237381215eSjdolecekThe special targets supported on
2247381215eSjdolecek.Nx
2257381215eSjdolecekare:
2267381215eSjdolecek.Pp
2277381215eSjdolecek.\" @@@SPECIAL@@@
2287381215eSjdolecek.Bl -tag -width 01234567 -compact
2297381215eSjdolecek.It Ar all
2307381215eSjdolecekMakes all known devices, including local devices. Tries to make the 'standard' number of each type.
2317381215eSjdolecek.It Ar init
2327381215eSjdolecekA set of devices that is used for MFS /dev by init. May be equal to ``all''.
2337381215eSjdolecek.It Ar floppy
2347381215eSjdolecekDevices to be put on install floppies
2357381215eSjdolecek.It Ar ramdisk
2367381215eSjdolecekDevices to be put into INSTALL kernel ramdisks.
2377381215eSjdolecek.It Ar std
2387381215eSjdolecekStandard devices
2397381215eSjdolecek.It Ar local
2407381215eSjdolecekConfiguration specific devices
2419cd03c1eSsevan.It Ar lua
2429cd03c1eSsevanLua device
243940556deSjdolecek.It Ar wscons
244940556deSjdolecekMake wscons devices
2457381215eSjdolecek.It Ar usbs
2467381215eSjdolecekMake USB devices
2477381215eSjdolecek.El
2487381215eSjdolecek.Pp
2497381215eSjdolecekPlease note that any hash marks
2507381215eSjdolecek.Pq Dq #
2517381215eSjdolecekin the following list of supported device targets must be replaced by
2527381215eSjdolecekdigits when calling
2537381215eSjdolecek.Nm :
2547381215eSjdolecek.Pp
2557381215eSjdolecek.\" @@@DEVICES@@@
2567381215eSjdolecek.Bl -tag -width 01
2577381215eSjdolecek.It Tapes :
2587381215eSjdolecek. Bl -tag -width 0123456789 -compact
2597381215eSjdolecek. It Ar st#
2607381215eSjdolecekSCSI tapes, see
2617381215eSjdolecek.Xr \&st 4
2627381215eSjdolecek. It Ar wt#
2637381215eSjdolecekQIC-interfaced (e.g. not SCSI) 3M cartridge tape, see
2647381215eSjdolecek.Xr \&wt 4
2657381215eSjdolecek. It Ar ht#
266c39854a8SjdolecekMASSBUS TM03 and TU??, see
267c39854a8Sjdolecek.Xr \&vax/ht 4
2687381215eSjdolecek. It Ar mt#
269c39854a8SjdolecekMSCP tapes (e.g. TU81, TK50), see
270c39854a8Sjdolecek.Xr \&vax/mt 4
2717381215eSjdolecek. It Ar tm#
272c39854a8SjdolecekUNIBUS TM11 and TE10 emulations (e.g. Emulex TC-11), see
273c39854a8Sjdolecek.Xr \&vax/tm 4
2747381215eSjdolecek. It Ar ts#
275c39854a8SjdolecekUNIBUS TS11, see
276c39854a8Sjdolecek.Xr \&vax/ts 4
2777381215eSjdolecek. It Ar ut#
278c39854a8SjdolecekUNIBUS TU45 emulations (e.g. si 9700), see
279c39854a8Sjdolecek.Xr \&vax/ut 4
2807381215eSjdolecek. It Ar uu#
281c39854a8SjdolecekTU58 cassettes on DL11 controller, see
282c39854a8Sjdolecek.Xr \&vax/uu 4
2837381215eSjdolecek. El
2847381215eSjdolecek.It Disks :
2857381215eSjdolecek. Bl -tag -width 0123456789 -compact
2869cd03c1eSsevan. It Ar dk#
2879cd03c1eSsevanWedge disk slices, see
2889cd03c1eSsevan.Xr \&dk 4
2897381215eSjdolecek. It Ar ccd#
2907381215eSjdolecekConcatenated disk devices, see
2917381215eSjdolecek.Xr \&ccd 4
2927381215eSjdolecek. It Ar cd#
2937381215eSjdolecekSCSI or ATAPI CD-ROM, see
2947381215eSjdolecek.Xr \&cd 4
2957381215eSjdolecek. It Ar cgd#
2967381215eSjdolecekCryptographic disk devices, see
2977381215eSjdolecek.Xr \&cgd 4
2987381215eSjdolecek. It Ar raid#
2997381215eSjdolecekRAIDframe disk devices, see
3007381215eSjdolecek.Xr \&raid 4
3017381215eSjdolecek. It Ar sd#
3027381215eSjdolecekSCSI disks, see
3037381215eSjdolecek.Xr \&sd 4
3047381215eSjdolecek. It Ar wd#
3057381215eSjdolecek``winchester'' disk drives (ST506,IDE,ESDI,RLL,...), see
3067381215eSjdolecek.Xr \&wd 4
3077381215eSjdolecek. It Ar bmd#
308c39854a8SjdolecekNereid bank memory disks, see
309c39854a8Sjdolecek.Xr \&x68k/bmd 4
3107381215eSjdolecek. It Ar ed#
311c39854a8SjdolecekIBM PS/2 ESDI disk devices, see
312c39854a8Sjdolecek.Xr \&edc 4
3137381215eSjdolecek. It Ar fd#
31480010daeSjdolecek``floppy'' disk drives (3 1/2", 5 1/4"), see
315c39854a8Sjdolecek.Xr \&amiga/fdc 4 ,
316251ff82dSnjoly.Xr \&sparc64/fdc 4 ,
317251ff82dSnjoly.Xr \&x86/fdc 4
318fbae381aShannken. It Ar fss#
319fbae381aShannkenFiles system snapshot devices, see
320fbae381aShannken.Xr \&fss 4
3217381215eSjdolecek. It Ar gdrom#
322c39854a8SjdolecekDreamcast ``gigadisc'' CD-ROM drive, see
323c39854a8Sjdolecek.Xr \&dreamcast/gdrom 4
3247381215eSjdolecek. It Ar hk#
325c39854a8SjdolecekUNIBUS RK06 and RK07, see
326c39854a8Sjdolecek.Xr \&vax/hk 4
3277381215eSjdolecek. It Ar hp#
328c39854a8SjdolecekMASSBUS RM??, see
329c39854a8Sjdolecek.Xr \&vax/hp 4
3307381215eSjdolecek. It Ar ld#
3317381215eSjdolecekLogical disk devices (e.g., hardware RAID), see
3327381215eSjdolecek.Xr \&ld 4
3337381215eSjdolecek. It Ar mcd#
3347381215eSjdolecekMitsumi CD-ROM, see
3357381215eSjdolecek.Xr \&mcd 4
3367381215eSjdolecek. It Ar md#
3377381215eSjdolecekMemory pseudo-disk devices, see
3387381215eSjdolecek.Xr \&md 4
3397381215eSjdolecek. It Ar ofdisk#
3407381215eSjdolecekOpenFirmware disk devices
3417381215eSjdolecek. It Ar ra#
3427381215eSjdolecekMSCP disks (RA??, RD??)
3437381215eSjdolecek. It Ar rb#
3447381215eSjdolecek730 IDC w/ RB80 and/or RB02
3457381215eSjdolecek. It Ar rd#
346c39854a8SjdolecekHDC9224 RD disks on VS2000, see
347c39854a8Sjdolecek.Xr \&hp300/rd 4
3487381215eSjdolecek. It Ar rl#
349c39854a8SjdolecekUNIBUS RL02, see
350c39854a8Sjdolecek.Xr \&vax/rl 4
3517381215eSjdolecek. It Ar rx#
3527381215eSjdolecekMSCP floppy disk (RX33/50/...)
3537381215eSjdolecek. It Ar up#
354c39854a8SjdolecekOther UNIBUS devices (e.g. on Emulex SC-21V controller), see
355c39854a8Sjdolecek.Xr \&vax/up 4
3567381215eSjdolecek. It Ar vnd#
3577381215eSjdolecek``file'' pseudo-disks, see
3587381215eSjdolecek.Xr \&vnd 4
3590471faafSwiz. It Ar xbd#
360ae22920bSnjolyXen virtual disks, see
361ae22920bSnjoly.Xr \&xbd 4
3627381215eSjdolecek. It Ar xd#
3630471faafSwizXylogic 753/7053 disks, see
3640471faafSwiz.Xr \&sparc/xd 4
3657381215eSjdolecek. It Ar xy#
3660471faafSwizXylogic 450/451 disks, see
3670471faafSwiz.Xr \&sparc/xy 4
3687381215eSjdolecek. El
3697381215eSjdolecek.It Pointing devices :
3707381215eSjdolecek. Bl -tag -width 0123456789 -compact
3717381215eSjdolecek. It Ar wsmouse#
3727381215eSjdolecekwscons mouse events, see
3737381215eSjdolecek.Xr \&wsmouse 4
3747381215eSjdolecek. It Ar lms#
375c39854a8SjdolecekLogitech bus mouse, see
376c39854a8Sjdolecek.Xr \&i386/lms 4
3777381215eSjdolecek. It Ar mms#
378c39854a8SjdolecekMicrosoft bus mouse, see
379c39854a8Sjdolecek.Xr \&dreamcast/mms 4 ,
380c39854a8Sjdolecek.Xr \&i386/mms 4
3817381215eSjdolecek. It Ar qms#
382c39854a8Sjdolecek``quadrature mouse'', see
383c39854a8Sjdolecek.Xr \&acorn32/qms 4
3847381215eSjdolecek. It Ar pms#
3850471faafSwizPS/2 mouse
3867381215eSjdolecek. It Ar mouse
3877381215eSjdolecekMouse (provides events, for X11)
3887381215eSjdolecek. El
3897381215eSjdolecek.It Keyboard devices :
3907381215eSjdolecek. Bl -tag -width 0123456789 -compact
3917381215eSjdolecek. It Ar wskbd#
3927381215eSjdolecekwscons keyboard events, see
3937381215eSjdolecek.Xr \&wskbd 4
3947381215eSjdolecek. It Ar kbd
395c39854a8SjdolecekRaw keyboard (provides events, for X11), see
396c39854a8Sjdolecek.Xr \&sparc/kbd 4 ,
397c39854a8Sjdolecek.Xr \&sun2/kbd 4 ,
398c39854a8Sjdolecek.Xr \&sun3/kbd 4
3997381215eSjdolecek. It Ar kbdctl
4007381215eSjdolecekKeyboard control
4017381215eSjdolecek. El
4027381215eSjdolecek.It Terminals/Console ports :
4037381215eSjdolecek. Bl -tag -width 0123456789 -compact
4047381215eSjdolecek. It Ar tty[01]#
4057381215eSjdolecekStandard serial ports, see
4067381215eSjdolecek.Xr \&tty 4
4077381215eSjdolecek. It Ar tty0#
4087381215eSjdolecekSB1250 (``sbscn'') serial ports (sbmips), see
4097381215eSjdolecek.Xr \&tty 4
4107381215eSjdolecek. It Ar ttyE#
4117381215eSjdolecekwscons - Workstation console (``wscons'') glass-tty emulators
4127381215eSjdolecek. It Ar ttyCZ?
413c39854a8SjdolecekCyclades-Z multiport serial boards. Each ``unit'' makes 64 ports., see
414c39854a8Sjdolecek.Xr \&cz 4
4157381215eSjdolecek. It Ar ttyCY?
416c39854a8SjdolecekCyclom-Y multiport serial boards. Each ``unit'' makes 32 ports., see
417c39854a8Sjdolecek.Xr \&cy 4
4187381215eSjdolecek. It Ar ttye#
419c39854a8SjdolecekITE bitmapped consoles, see
420ae22920bSnjoly.Xr \&amiga/ite 4
4217381215eSjdolecek. It Ar ttyv0
4227381215eSjdolecekpccons
4237381215eSjdolecek. It Ar ttyC?
4247381215eSjdolecekNS16550 (``com'') serial ports
4257381215eSjdolecek. It Ar ttyS#
4267381215eSjdolecekSA1110 serial port (hpcarm)
4277381215eSjdolecek. It Ar ttyTX?
4287381215eSjdolecekTX39 internal serial ports (hpcmips)
4297381215eSjdolecek. It Ar ttyB?
430bb295c75SsevanDEC 3000 ZS8530 (``scc'') serial ports (alpha)
4317381215eSjdolecek. It Ar ttyA#
4327381215eSjdolecekMfc serial ports (amiga)
4337381215eSjdolecek. It Ar ttyB#
4347381215eSjdolecekMsc serial ports (amiga)
4357381215eSjdolecek. It Ar ttyC#
4367381215eSjdolecekCom style serial ports (DraCo, HyperCom) (amiga) On the DraCo, units 0 and 1 are the built-in ``modem'' and ``mouse'' ports, if configured.
4377381215eSjdolecek. It Ar ttyA0
4387381215eSjdolecek8530 Channel A (formerly ser02) (atari)
4397381215eSjdolecek. It Ar ttyA1
4407381215eSjdolecek8530 Channel B (formerly mdm02) (atari)
4417381215eSjdolecek. It Ar ttyB0
4427381215eSjdolecekUART on first 68901 (formerly mdm01) (atari)
4437381215eSjdolecek. It Ar ixpcom
4447381215eSjdolecekIXP12x0 COM ports
4450471faafSwiz. It Ar epcom
4460471faafSwizEP93xx COM ports
4479cd03c1eSsevan. It Ar plcom
4489cd03c1eSsevanARM PL01[01] serial ports
4499cd03c1eSsevan. It Ar wmcom
4509cd03c1eSsevanEPOC Windermere COM ports
45122599518Stsutsui. It Ar ttyM?
45222599518StsutsuiHP200/300 4 port serial mux interface (hp300)
4537381215eSjdolecek. It Ar ttya
454c39854a8Sjdolecek``ttya'' system console (luna68k)
4557381215eSjdolecek. It Ar ttyb
4567381215eSjdolecekSecond system serial port (luna68k)
4577381215eSjdolecek. It Ar tty#
4587381215eSjdolecekOnboard serial ports (mvme68k) On the mvme147 these are: ttyZ1, ttyZ2 and ttyZ3. On the mvme167, and '177: ttyC1, ttyC2 and ttyC3. Note that tty[CZ]0 is grabbed by the console device so is not created by default, see
4597381215eSjdolecek.Xr \&tty 4
4607381215eSjdolecek. It Ar dc#
461de328e13SpookaPMAX 4 channel serial interface (kbd, mouse, modem, printer)
4627381215eSjdolecek. It Ar scc#
463bb295c75Ssevan82530 serial interface (pmax)
4647381215eSjdolecek. It Ar ttyZ#
465c39854a8SjdolecekZilog 8530 (``zstty'') serial ports, see
466c39854a8Sjdolecek.Xr \&zstty 4
4677381215eSjdolecek. It Ar tty[abcd]
4687381215eSjdolecekBuilt-in serial ports (sparc)
4697381215eSjdolecek. It Ar tty#
4707381215eSjdolecekZ88530 serial controllers (sparc64), see
4717381215eSjdolecek.Xr \&tty 4
4727381215eSjdolecek. It Ar ttyh#
473a551fcafSwizSAB82532 serial controllers (sparc64), see
474a551fcafSwiz.Xr \&sparc64/sab 4
4757381215eSjdolecek. It Ar tty[a-j]
4767381215eSjdolecekBuilt-in serial ports (sun2, sun3)
4777381215eSjdolecek. It Ar ttyC?
4787381215eSjdolecekpccons (arc)
4797381215eSjdolecek. It Ar dz#
480c39854a8SjdolecekUNIBUS DZ11 and DZ32 (vax), see
481ae22920bSnjoly.Xr \&emips/dz 4 ,
482c39854a8Sjdolecek.Xr \&vax/dz 4
4837381215eSjdolecek. It Ar dh#
484c39854a8SjdolecekUNIBUS DH11 and emulations (e.g. Able DMAX, Emulex CS-11) (vax), see
485c39854a8Sjdolecek.Xr \&vax/dh 4
4867381215eSjdolecek. It Ar dmf#
487c39854a8SjdolecekUNIBUS DMF32 (vax), see
488c39854a8Sjdolecek.Xr \&vax/dmf 4
4897381215eSjdolecek. It Ar dhu#
490c39854a8SjdolecekUNIBUS DHU11 (vax), see
491c39854a8Sjdolecek.Xr \&vax/dhu 4
4927381215eSjdolecek. It Ar dmz#
493c39854a8SjdolecekUNIBUS DMZ32 (vax), see
494c39854a8Sjdolecek.Xr \&vax/dmz 4
4957381215eSjdolecek. It Ar dl#
496c39854a8SjdolecekUNIBUS DL11 (vax), see
497c39854a8Sjdolecek.Xr \&vax/dl 4
4980471faafSwiz. It Ar xencons
4990471faafSwizXen virtual console
5007381215eSjdolecek. El
5017381215eSjdolecek.It Terminal multiplexors :
5027381215eSjdolecek. Bl -tag -width 0123456789 -compact
5037381215eSjdolecek. It Ar dc#
504de328e13Spooka4 channel serial interface (keyboard, mouse, modem, printer)
5057381215eSjdolecek. It Ar dh#
506c39854a8SjdolecekUNIBUS DH11 and emulations (e.g. Able DMAX, Emulex CS-11), see
507c39854a8Sjdolecek.Xr \&vax/dh 4
5087381215eSjdolecek. It Ar dhu#
509c39854a8SjdolecekUNIBUS DHU11, see
510c39854a8Sjdolecek.Xr \&vax/dhu 4
5117381215eSjdolecek. It Ar dl#
512c39854a8SjdolecekUNIBUS DL11, see
513c39854a8Sjdolecek.Xr \&vax/dl 4
5147381215eSjdolecek. It Ar dmf#
515c39854a8SjdolecekUNIBUS DMF32, see
516c39854a8Sjdolecek.Xr \&vax/dmf 4
5177381215eSjdolecek. It Ar dmz#
518c39854a8SjdolecekUNIBUS DMZ32, see
519c39854a8Sjdolecek.Xr \&vax/dmz 4
5207381215eSjdolecek. It Ar dz#
521c39854a8SjdolecekUNIBUS DZ11 and DZ32, see
522ae22920bSnjoly.Xr \&emips/dz 4 ,
523c39854a8Sjdolecek.Xr \&vax/dz 4
5247381215eSjdolecek. It Ar scc#
525bb295c75Ssevan82530 serial interface
5267381215eSjdolecek. El
5277381215eSjdolecek.It Call units :
5287381215eSjdolecek. Bl -tag -width 0123456789 -compact
5297381215eSjdolecek. It Ar dn#
530c39854a8SjdolecekUNIBUS DN11 and emulations (e.g. Able Quadracall), see
531c39854a8Sjdolecek.Xr \&vax/dn 4
5327381215eSjdolecek. El
5337381215eSjdolecek.It Pseudo terminals :
5347381215eSjdolecek. Bl -tag -width 0123456789 -compact
5350471faafSwiz. It Ar ptm
5366bd14054SjmcneillPty multiplexor device, and pts directory, see
5370471faafSwiz.Xr \&ptm 4
5387381215eSjdolecek. It Ar pty#
5390471faafSwizSet of 16 master and slave pseudo terminals, see
5407381215eSjdolecek.Xr \&pty 4
5417381215eSjdolecek. It Ar opty
5427381215eSjdolecekFirst 16 ptys, to save inodes on install media
5437381215eSjdolecek. It Ar ipty
5447381215eSjdolecekFirst 2 ptys, for install media use only
5457381215eSjdolecek. El
5467381215eSjdolecek.It Printers :
5477381215eSjdolecek. Bl -tag -width 0123456789 -compact
5487381215eSjdolecek. It Ar arcpp#
5497381215eSjdolecekArchimedes parallel port
5507381215eSjdolecek. It Ar lpt#
551c39854a8SjdolecekStock lp, see
552a9e6f905Sbjh21.Xr \&lpt 4 ,
553c39854a8Sjdolecek.Xr \&acorn32/lpt 4 ,
554251ff82dSnjoly.Xr \&mvme68k/lpt 4 ,
555251ff82dSnjoly.Xr \&x86/lpt 4
5567381215eSjdolecek. It Ar lpa#
5577381215eSjdolecekInterruptless lp
5587381215eSjdolecek. It Ar par#
5597381215eSjdolecekAmiga motherboard parallel port
560f5ede5dcShauke. It Ar cpi#
5616bd14054SjmcneillMacintosh Nubus CSI parallel printer card, see
5626bd14054Sjmcneill.Xr \&mac68k/cpi 4
5637381215eSjdolecek. El
5647381215eSjdolecek.It USB devices :
5657381215eSjdolecek. Bl -tag -width 0123456789 -compact
5667381215eSjdolecek. It Ar usb#
5677381215eSjdolecekUSB control devices, see
5687381215eSjdolecek.Xr \&usb 4
5697381215eSjdolecek. It Ar uhid#
5707381215eSjdolecekUSB generic HID devices, see
5717381215eSjdolecek.Xr \&uhid 4
5727381215eSjdolecek. It Ar ulpt#
5737381215eSjdolecekUSB printer devices, see
5747381215eSjdolecek.Xr \&ulpt 4
5757381215eSjdolecek. It Ar ugen#
5767381215eSjdolecekUSB generic devices, see
5777381215eSjdolecek.Xr \&ugen 4
5787381215eSjdolecek. It Ar uscanner#
5797381215eSjdolecekUSB scanners, see
5807381215eSjdolecek.Xr \&uscanner 4
5814af989b1Sjakllsch. It Ar ttyHS#
5824af989b1SjakllschUSB Option N.V. modems
5837381215eSjdolecek. It Ar ttyU#
584c39854a8SjdolecekUSB modems, see
585c39854a8Sjdolecek.Xr \&ucom 4
586c6963d04Sskrll. It Ar ttyY#
587c6963d04SskrllUSB serial adapters
5887381215eSjdolecek. El
5897381215eSjdolecek.It Video devices :
5907381215eSjdolecek. Bl -tag -width 0123456789 -compact
5917381215eSjdolecek. It Ar bwtwo#
592c39854a8SjdolecekMonochromatic frame buffer, see
593c39854a8Sjdolecek.Xr \&sparc/bwtwo 4 ,
594c39854a8Sjdolecek.Xr \&sun2/bwtwo 4 ,
595c39854a8Sjdolecek.Xr \&sun3/bwtwo 4
5967381215eSjdolecek. It Ar cgtwo#
597c39854a8Sjdolecek8-bit color frame buffer, see
598c39854a8Sjdolecek.Xr \&sparc/cgtwo 4 ,
599c39854a8Sjdolecek.Xr \&sun3/cgtwo 4
6007381215eSjdolecek. It Ar cgthree#
601c39854a8Sjdolecek8-bit color frame buffer, see
602c39854a8Sjdolecek.Xr \&sparc/cgthree 4
6037381215eSjdolecek. It Ar cgfour#
604c39854a8Sjdolecek8-bit color frame buffer, see
605c39854a8Sjdolecek.Xr \&sparc/cgfour 4 ,
606c39854a8Sjdolecek.Xr \&sun3/cgfour 4
6077381215eSjdolecek. It Ar cgsix#
608c39854a8SjdolecekAccelerated 8-bit color frame buffer, see
609c39854a8Sjdolecek.Xr \&sparc/cgsix 4
6107381215eSjdolecek. It Ar cgeight#
611c39854a8Sjdolecek24-bit color frame buffer, see
612c39854a8Sjdolecek.Xr \&sparc/cgeight 4
6137381215eSjdolecek. It Ar etvme
614c39854a8SjdolecekTseng et-compatible cards on VME (atari)
6157381215eSjdolecek. It Ar ik#
616c39854a8SjdolecekUNIBUS interface to Ikonas frame buffer, see
617c39854a8Sjdolecek.Xr \&vax/ik 4
6187381215eSjdolecek. It Ar leo
619c39854a8SjdolecekCircad Leonardo VME-bus true color (atari)
6207381215eSjdolecek. It Ar ps#
621c39854a8SjdolecekUNIBUS interface to Picture System 2, see
622c39854a8Sjdolecek.Xr \&vax/ps 4
6237381215eSjdolecek. It Ar qv#
6247381215eSjdolecekQVSS (MicroVAX) display
6257381215eSjdolecek. It Ar tcx#
626c39854a8SjdolecekAccelerated 8/24-bit color frame buffer, see
627c39854a8Sjdolecek.Xr \&sparc/tcx 4
6287381215eSjdolecek. El
6297381215eSjdolecek.It Maple bus devices :
6307381215eSjdolecek. Bl -tag -width 0123456789 -compact
6317381215eSjdolecek. It Ar maple
632c39854a8SjdolecekMaple bus control devices, see
633c39854a8Sjdolecek.Xr \&dreamcast/maple 4
6347381215eSjdolecek. It Ar mlcd#
635c39854a8SjdolecekMaple bus LCD devices, see
636c39854a8Sjdolecek.Xr \&dreamcast/mlcd 4
6377381215eSjdolecek. It Ar mmem#
638c39854a8SjdolecekMaple bus storage devices, see
639c39854a8Sjdolecek.Xr \&dreamcast/mmem 4
6407381215eSjdolecek. El
641112e36f2Swiz.It IEEE1394 bus devices :
642112e36f2Swiz. Bl -tag -width 0123456789 -compact
643112e36f2Swiz. It Ar fw#
644112e36f2SwizIEEE1394 bus generic node access devices
645112e36f2Swiz. It Ar fwmem#
646112e36f2SwizIEEE1394 bus physical memory of the remote node access devices
647112e36f2Swiz. El
6487381215eSjdolecek.It Special purpose devices :
6497381215eSjdolecek. Bl -tag -width 0123456789 -compact
6507381215eSjdolecek. It Ar ad#
651c39854a8SjdolecekUNIBUS interface to Data Translation A/D converter, see
652c39854a8Sjdolecek.Xr \&vax/ad 4
6537381215eSjdolecek. It Ar agp#
6547381215eSjdolecekAGP GART devices, see
6557381215eSjdolecek.Xr \&agp 4
6567381215eSjdolecek. It Ar altq
65743a361baSapbALTQ control interface, see
65843a361baSapb.Xr \&altq 4
659de328e13Spooka. It Ar amr#
660de328e13SpookaAMI MegaRaid control device, see
661de328e13Spooka.Xr \&amr 4
6627381215eSjdolecek. It Ar apm
663c39854a8SjdolecekPower management device, see
664c39854a8Sjdolecek.Xr \&i386/apm 4
6657381215eSjdolecek. It Ar audio#
6667381215eSjdolecekAudio devices, see
6677381215eSjdolecek.Xr \&audio 4
6687381215eSjdolecek. It Ar bell#
669d93179e4SisakiOPM bell device (x68k)
6707381215eSjdolecek. It Ar bktr
6717381215eSjdolecekBrooktree 848/849/878/879 based TV cards, see
6727381215eSjdolecek.Xr \&bktr 4
6730471faafSwiz. It Ar bpf
6747381215eSjdolecekPacket filter, see
6757381215eSjdolecek.Xr \&bpf 4
676de328e13Spooka. It Ar bthub
677de328e13SpookaBluetooth Device Hub control interface, see
678de328e13Spooka.Xr \&bthub 4
6797381215eSjdolecek. It Ar cfs#
6807381215eSjdolecekCoda file system device
6817381215eSjdolecek. It Ar ch#
6827381215eSjdolecekSCSI media changer, see
6837381215eSjdolecek.Xr \&ch 4
6847381215eSjdolecek. It Ar cir#
6857381215eSjdolecekConsumer IR, see
6867381215eSjdolecek.Xr \&cir 4
6877381215eSjdolecek. It Ar clockctl
6887381215eSjdolecekClock control for non root users, see
6897381215eSjdolecek.Xr \&clockctl 4
690368240a3Sapb. It Ar cpuctl
691368240a3SapbCPU control
6927381215eSjdolecek. It Ar crypto
6930471faafSwizHardware crypto access driver, see
6940471faafSwiz.Xr \&crypto 4
6957381215eSjdolecek. It Ar dmoverio
6967381215eSjdolecekHardware-assisted data movers, see
6977381215eSjdolecek.Xr \&dmoverio 4
6987381215eSjdolecek. It Ar dpt#
6997381215eSjdolecekDPT/Adaptec EATA RAID management interface, see
7007381215eSjdolecek.Xr \&dpt 4
7017381215eSjdolecek. It Ar dpti#
7027381215eSjdolecekDPT/Adaptec I2O RAID management interface, see
7037381215eSjdolecek.Xr \&dpti 4
704762f1eaaShubertf. It Ar drm#
705762f1eaaShubertfDirect Rendering Manager interface, see
706762f1eaaShubertf.Xr \&drm 4
70743a361baSapb. It Ar dtv#
70843a361baSapbDigital TV interface, see
70943a361baSapb.Xr \&dtv 4
7107381215eSjdolecek. It Ar fb#
711de328e13SpookaPMAX generic framebuffer pseudo-device
7127381215eSjdolecek. It Ar fd
713c39854a8SjdolecekFile descriptors
714266bca89Sthorpej. It Ar gpiopps#
715266bca89Sthorpej1PPS signals on GPIO pins, see
716266bca89Sthorpej.Xr \&gpiopps 4
7177381215eSjdolecek. It Ar grf#
718c39854a8SjdolecekGraphics frame buffer device, see
719ae22920bSnjoly.Xr \&amiga/grf 4
720b88195cfSsborrill. It Ar hdaudio#
721b88195cfSsborrillHigh Definition audio control device, see
722b88195cfSsborrill.Xr \&hdaudio 4
7239cd03c1eSsevan. It Ar hdmicec#
7249cd03c1eSsevanHDMI CEC devices
7257381215eSjdolecek. It Ar hil
726c39854a8SjdolecekHP300 HIL input devices, see
727ae22920bSnjoly.Xr \&hil 4
7287381215eSjdolecek. It Ar icp
7297381215eSjdolecekICP-Vortex/Intel RAID control interface, see
7307381215eSjdolecek.Xr \&icp 4
7317381215eSjdolecek. It Ar iic#
732d7f624cfSsborrillIIC bus device, see
733d7f624cfSsborrill.Xr \&iic 4
73428b073dfSpooka. It Ar io
73528b073dfSpookaX86 IOPL access for COMPAT_10, COMPAT_FREEBSD, see
7366d3ceb1dSskrll.Xr \&hppa/io 4 ,
73728b073dfSpooka.Xr \&i386/io 4
7387381215eSjdolecek. It Ar iop#
7397381215eSjdolecekI2O IOP control interface, see
7407381215eSjdolecek.Xr \&iop 4
741a342a8d3Smaxv. It Ar ipmi#
742a342a8d3SmaxvOpenIPMI compatible interface, see
743a342a8d3Smaxv.Xr \&ipmi 4
7447381215eSjdolecek. It Ar ipl
7457381215eSjdolecekIP Filter
7467381215eSjdolecek. It Ar irframe#
7477381215eSjdolecekIrDA physical frame, see
7487381215eSjdolecek.Xr \&irframe 4
7497381215eSjdolecek. It Ar ite#
750c39854a8SjdolecekTerminal emulator interface to HP300 graphics devices, see
751ae22920bSnjoly.Xr \&amiga/ite 4
7527381215eSjdolecek. It Ar joy#
7537381215eSjdolecekJoystick device, see
7547381215eSjdolecek.Xr \&joy 4
7557381215eSjdolecek. It Ar kttcp
7567381215eSjdolecekKernel ttcp helper device, see
7577381215eSjdolecek.Xr \&kttcp 4
758de328e13Spooka. It Ar lockstat
759de328e13SpookaKernel locking statistics
7607381215eSjdolecek. It Ar magma#
761c39854a8SjdolecekMagma multiport serial/parallel cards, see
762c39854a8Sjdolecek.Xr \&sparc/magma 4
7637381215eSjdolecek. It Ar midi#
7647381215eSjdolecekMIDI, see
7657381215eSjdolecek.Xr \&midi 4
7669cd03c1eSsevan. It Ar mfi#
7679cd03c1eSsevanLSI MegaRAID/MegaSAS control interface, see
7689cd03c1eSsevan.Xr \&mfi 4
7697381215eSjdolecek. It Ar mlx#
7707381215eSjdolecekMylex DAC960 control interface, see
7717381215eSjdolecek.Xr \&mlx 4
7727381215eSjdolecek. It Ar mly#
7737381215eSjdolecekMylex AcceleRAID/eXtremeRAID control interface, see
7747381215eSjdolecek.Xr \&mly 4
7757381215eSjdolecek. It Ar np#
776c39854a8SjdolecekUNIBUS Ethernet co-processor interface, for downloading., see
777c39854a8Sjdolecek.Xr \&vax/np 4
778ae22920bSnjoly. It Ar npf
779ae22920bSnjolyNPF packet filter
7807381215eSjdolecek. It Ar nsmb#
7817381215eSjdolecekSMB requester, see
7827381215eSjdolecek.Xr \&nsmb 4
7839cd03c1eSsevan. It Ar nvme#
7849cd03c1eSsevanNon-Volatile Memory Host Controller Interface device driver, see
7859cd03c1eSsevan.Xr \&nvme 4
7869cd03c1eSsevan. It Ar nvme#ns*
7879cd03c1eSsevanNon-Volatile Memory namespace
788ebd776ccSmaxv. It Ar nvmm
789c94fc038SmaxvNetBSD Virtual Machine Monitor, see
790c94fc038Smaxv.Xr \&nvmm 4
7917381215eSjdolecek. It Ar openfirm
7927381215eSjdolecekOpenFirmware accessor
793368240a3Sapb. It Ar pad#
794368240a3SapbPseudo-audio device driver, see
795368240a3Sapb.Xr \&pad 4
7967381215eSjdolecek. It Ar pci#
7977381215eSjdolecekPCI bus access devices, see
7987381215eSjdolecek.Xr \&pci 4
7997381215eSjdolecek. It Ar pf
8000471faafSwizPF packet filter
801368240a3Sapb. It Ar putter
802368240a3SapbPass-to-Userspace Transporter
8037381215eSjdolecek. It Ar px#
8047381215eSjdolecekPixelStamp Xserver access, see
8057381215eSjdolecek.Xr \&px 4
806*1db3cc90Sgson. It Ar qemufwcfg#
807*1db3cc90SgsonQEMU Firmware Configuration, see
808*1db3cc90Sgson.Xr \&qemufwcfg 4
8097381215eSjdolecek. It Ar radio#
8107381215eSjdolecekRadio devices, see
8117381215eSjdolecek.Xr \&radio 4
8127381215eSjdolecek. It Ar random
8137381215eSjdolecekRandom number generator, see
8147381215eSjdolecek.Xr \&rnd 4
8157381215eSjdolecek. It Ar rtc#
816c39854a8SjdolecekRealTimeClock, see
817c39854a8Sjdolecek.Xr \&atari/rtc 4 ,
818368240a3Sapb.Xr \&evbppc/rtc 4 ,
819368240a3Sapb.Xr \&hp300/rtc 4
8207381215eSjdolecek. It Ar scsibus#
8217381215eSjdolecekSCSI busses, see
82280010daeSjdolecek.Xr \&scsi 4
8237381215eSjdolecek. It Ar se#
8247381215eSjdolecekSCSI Ethernet, see
8257381215eSjdolecek.Xr \&se 4
8267381215eSjdolecek. It Ar ses#
8277381215eSjdolecekSES/SAF-TE SCSI Devices, see
8287381215eSjdolecek.Xr \&ses 4
8297381215eSjdolecek. It Ar speaker
8307381215eSjdolecekPC speaker, see
8317381215eSjdolecek.Xr \&speaker 4
832b23bf74cSpgoyette. It Ar spi#
833b23bf74cSpgoyetteSPI bus device, see
834b23bf74cSpgoyette.Xr \&spi 4
8357381215eSjdolecek. It Ar sram
836d93179e4SisakiBattery backuped memory (x68k)
837b23bf74cSpgoyette. It Ar srt#
838a342a8d3SmaxvSource-address based routing, see
839a342a8d3Smaxv.Xr \&srt 4
8407381215eSjdolecek. It Ar ss#
8417381215eSjdolecekSCSI scanner, see
8427381215eSjdolecek.Xr \&ss 4
8437381215eSjdolecek. It Ar stic#
8447381215eSjdolecekPixelStamp interface chip
8457381215eSjdolecek. It Ar sysmon
846c39854a8SjdolecekSystem Monitoring hardware, see
847c39854a8Sjdolecek.Xr \&envsys 4
8480471faafSwiz. It Ar tap#
8490471faafSwizVirtual Ethernet device, see
8500471faafSwiz.Xr \&tap 4
8518f30df54Smaxv. It Ar tprof
8528f30df54SmaxvTask profiler, see
8538f30df54Smaxv.Xr \&tprof 4
8547381215eSjdolecek. It Ar tun#
8557381215eSjdolecekNetwork tunnel driver, see
8567381215eSjdolecek.Xr \&tun 4
857de328e13Spooka. It Ar twa
858de328e13Spooka3ware Apache control interface, see
859de328e13Spooka.Xr \&twa 4
8607381215eSjdolecek. It Ar twe
8617381215eSjdolecek3ware Escalade control interface, see
8627381215eSjdolecek.Xr \&twe 4
8637381215eSjdolecek. It Ar uk#
8647381215eSjdolecekUnknown SCSI device, see
8657381215eSjdolecek.Xr \&uk 4
8667381215eSjdolecek. It Ar veriexec
867e9a2a0b6SwizVeriexec fingerprint loader, see
8680471faafSwiz.Xr \&veriexec 4
869a342a8d3Smaxv. It Ar vhci
870a342a8d3SmaxvVirtual host controller interface
8716bd14054Sjmcneill. It Ar video#
8726bd14054SjmcneillVideo capture devices, see
8736bd14054Sjmcneill.Xr \&video 4
8747381215eSjdolecek. It Ar view#
8757381215eSjdolecekGeneric interface to graphic displays (Amiga)
8767381215eSjdolecek. It Ar wsfont#
8777381215eSjdolecekConsole font control, see
8787381215eSjdolecek.Xr \&wsfont 4
8797381215eSjdolecek. It Ar wsmux#
8807381215eSjdolecekwscons event multiplexor, see
8817381215eSjdolecek.Xr \&wsmux 4
8820471faafSwiz. It Ar xenevt
8830471faafSwizXen event interface
8847381215eSjdolecek. El
8858250293eSnjoly.It iSCSI communication devices
8868250293eSnjoly. Bl -tag -width 0123456789 -compact
8878250293eSnjoly. It Ar iscsi#
8888250293eSnjolyISCSI driver and /sbin/iscsid communication
8898250293eSnjoly. El
8909cd03c1eSsevan.It Trusted Computing devices
8919cd03c1eSsevan. Bl -tag -width 0123456789 -compact
8929cd03c1eSsevan. It Ar tpm
8939cd03c1eSsevanTrusted Platform Module, see
8949cd03c1eSsevan.Xr \&tpm 4
8959cd03c1eSsevan. El
8969cd03c1eSsevan.It Debugging and tracing
8979cd03c1eSsevan. Bl -tag -width 0123456789 -compact
8989cd03c1eSsevan. It Ar dtrace
8999cd03c1eSsevanDynamic tracing framework
9009cd03c1eSsevan. El
9017381215eSjdolecek.El
90285ea48fdSapb.Sh ENVIRONMENT
90385ea48fdSapbThe following environment variables affect the execution of
90485ea48fdSapb.Nm :
90585ea48fdSapb.Pp
90685ea48fdSapb.Bl -tag -width indent
90785ea48fdSapb.It Ev MAKEDEV_AS_LIBRARY
90885ea48fdSapbIf this is set, then
90985ea48fdSapb.Nm
91085ea48fdSapbwill define several shell functions and then return,
91185ea48fdSapbignoring all its command line options and arguments.
91285ea48fdSapbThis is used to enable
91385ea48fdSapb.Xr MAKEDEV.local 8
91485ea48fdSapbto use the shell functions defined in
91585ea48fdSapb.Nm .
91685ea48fdSapb.El
9177381215eSjdolecek.Sh FILES
9187381215eSjdolecek.Bl -tag -width "/dev/MAKEDEV.local" -compact
9197381215eSjdolecek.It Pa /dev
9207381215eSjdolecekspecial device files directory
9217381215eSjdolecek.It Pa /dev/MAKEDEV
9227381215eSjdolecekscript described in this man page
9237381215eSjdolecek.It Pa /dev/MAKEDEV.local
9248048a356Sapbscript for site-specific devices
9257381215eSjdolecek.El
9267381215eSjdolecek.Sh DIAGNOSTICS
9277381215eSjdolecekIf the script reports an error that is difficult to understand,
9287381215eSjdolecekyou can get more debugging output by using
9297381215eSjdolecek.Dl Ic sh Fl x Ar MAKEDEV Ar argument .
9307381215eSjdolecek.Sh SEE ALSO
931a9b411c1Speter.Xr config 1 ,
932d1c6bc87Sapb.Xr pax 1 ,
9337381215eSjdolecek.Xr intro 4 ,
934d1c6bc87Sapb.Xr diskless 8 ,
935e9a2a0b6Swiz.Xr init 8 ,
936e9a2a0b6Swiz.Xr MAKEDEV.local 8 ,
937d1c6bc87Sapb.Xr mknod 8 ,
938802860abSapb.Xr mount_mfs 8 ,
939802860abSapb.Xr mount_tmpfs 8 ,
940d1c6bc87Sapb.Xr mtree 8
9417381215eSjdolecek.Sh HISTORY
9427381215eSjdolecekThe
9437381215eSjdolecek.Nm
9447381215eSjdolecekcommand appeared in
9457381215eSjdolecek.Bx 4.2 .
946378687ecSapbThe
947378687ecSapb.Fl f ,
948378687ecSapb.Fl m ,
949378687ecSapband
950378687ecSapb.Fl s
951378687ecSapboptions were added in
952378687ecSapb.Nx 2.0 .
953378687ecSapbThe
954378687ecSapb.Fl p ,
955378687ecSapb.Fl t ,
956378687ecSapband
957378687ecSapb.Fl M
958378687ecSapboptions were added in
959378687ecSapb.Nx 5.0 .
96085ea48fdSapbThe ability to be used as a function library was added in
96185ea48fdSapb.Nx 5.0 .
962378687ecSapb.Sh BUGS
963378687ecSapbThe
964378687ecSapb.Fl f
965378687ecSapboption is not compatible with the use of
966378687ecSapb.Xr mtree 8
967378687ecSapbor
968378687ecSapb.Xr pax 1 .
9697381215eSjdolecek.Sh NOTES
970d1c6bc87SapbNot all devices listed in this manpage are supported on all platforms.
971d1c6bc87Sapb.Pp
9727381215eSjdolecekThis man page is generated automatically from the same sources
9737381215eSjdolecekas
9747381215eSjdolecek.Pa /dev/MAKEDEV ,
9757381215eSjdolecekin which the device files are not always sorted, which may result
9760471faafSwizin an unusual (non-alphabetical) order.
977d1c6bc87Sapb.Pp
978d1c6bc87SapbIn order to allow a diskless
979d1c6bc87Sapb.Nx
980d1c6bc87Sapbclient to obtain its
981d1c6bc87Sapb.Pa /dev
982d1c6bc87Sapbdirectory from a file server running a foreign operating system,
983d1c6bc87Sapbone of the following techniques may be useful to populate
984d1c6bc87Sapba directory of device nodes on the foreign server:
985d1c6bc87Sapb.Bl -bullet
986d1c6bc87Sapb.It
987d1c6bc87SapbIf the foreign server is sufficiently similar to
988d1c6bc87Sapb.Nx ,
989d1c6bc87Sapbrun
990d1c6bc87Sapb.Nm
991d1c6bc87Sapbin an appropriate directory of the foreign server,
992d1c6bc87Sapbusing the
993d1c6bc87Sapb.Fl m
994d1c6bc87Sapbflag to refer to a script that converts from command line
995d1c6bc87Sapbarguments that would be usable with the
996d1c6bc87Sapb.Nx
997d1c6bc87Sapb.Xr mknod 8
998d1c6bc87Sapbcommand to the equivalent commands for the foreign server.
999d1c6bc87Sapb.It
1000d1c6bc87SapbRun
1001d1c6bc87Sapb.Nm
1002d1c6bc87Sapbwith the
1003d1c6bc87Sapb.Fl s
1004d1c6bc87Sapbflag to generate an
1005d1c6bc87Sapb.Xr mtree 8
1006d1c6bc87Sapbspecification file; this can be done on any host with a
1007d1c6bc87SapbPOSIX-compliant shell and a few widely-available utilities.
1008d1c6bc87SapbUse the
1009d1c6bc87Sapb.Xr pax 1
1010d1c6bc87Sapbcommand with the
1011d1c6bc87Sapb.Fl w Fl M
1012d1c6bc87Sapbflags to convert the
1013d1c6bc87Sapb.Xr mtree 8
1014d1c6bc87Sapbspecification file into an archive
1015d1c6bc87Sapbin a format that supports device nodes
1016d1c6bc87Sapb(such as
1017d1c6bc87Sapb.Ar ustar
1018d1c6bc87Sapbformat);
1019d1c6bc87Sapbthis can be done on a
1020d1c6bc87Sapb.Nx
1021d1c6bc87Sapbhost, or can be done in a cross-build environment using
1022d1c6bc87Sapb.Sy TOOLDIR Ns Pa /bin/nbpax .
10239cd03c1eSsevanFinally, use appropriate tools on the foreign server
1024d1c6bc87Sapbto unpack the archive and create the device nodes.
1025d1c6bc87Sapb.El
1026