xref: /openbsd/share/man/man8/man8.alpha/MAKEDEV.8 (revision 3d8817e4)
1.\" $OpenBSD: MAKEDEV.8,v 1.50 2010/11/19 20:56:07 miod Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.alpha/MAKEDEV.md,v 1.51 2010/11/19 20:55:46 miod Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.53 2010/09/30 15:27:54 claudio Exp
8.\"	OpenBSD: MAKEDEV.man,v 1.7 2009/03/18 17:34:25 sobrado Exp
9.\"	OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp
10.\"
11.\" Copyright (c) 2004, Miodrag Vallat
12.\" Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
13.\"
14.\" Permission to use, copy, modify, and distribute this software for any
15.\" purpose with or without fee is hereby granted, provided that the above
16.\" copyright notice and this permission notice appear in all copies.
17.\"
18.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
19.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
20.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
21.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
22.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
23.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
24.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
25.\"
26.Dd $Mdocdate: November 19 2010 $
27.Dt MAKEDEV 8 alpha
28.Os
29.Sh NAME
30.Nm MAKEDEV
31.Nd create system and device special files
32.Sh SYNOPSIS
33.Nm MAKEDEV
34.Ar name ...
35.Sh DESCRIPTION
36The shell script
37.Nm ,
38found in the
39.Pa /dev
40directory, is used to create various special files.
41See
42.Xr intro 4
43for a more complete discussion of special files.
44.Pp
45.Nm
46takes any number of device names as arguments, where the names are
47the common abbreviation for the device or group of devices.
48.Pp
49Where a device name is followed by a star
50.Sq * ,
51the star must be replaced by a unit number.
52If units are expected for a device but not provided,
53.Nm
54will supply the standard numbers in most cases.
55.Pp
56The alpha supports the following devices:
57.Pp
58.Sy Special device names
59.Bl -tag -width tenletters -compact
60.It Ar all
61Creates special files for all devices on alpha.
62.It Ar ramdisk
63Ramdisk kernel devices.
64.It Ar std
65Creates the
66.Sq standard
67devices (console, klog, kmem, ksyms, mem, null,
68stderr, stdin, stdout, tty, zero)
69which are absolutely necessary for the system to function properly.
70.It Ar local
71Creates configuration-specific devices, by invoking the shell file
72.Pa MAKEDEV.local .
73.El
74.Pp
75.Sy Disks
76.Bl -tag -width tenletters -compact
77.It Ar ccd*
78Concatenated disk devices, see
79.Xr ccd 4 .
80.It Ar cd*
81ATAPI and SCSI CD-ROM drives, see
82.Xr cd 4 .
83.It Ar fd*
84Floppy disk drives (3 1/2", 5 1/4"), see
85.Xr fd 4 .
86.It Ar raid*
87RAIDframe disk devices, see
88.Xr raid 4 .
89.It Ar rd*
90.Dq rd
91pseudo-disks, see
92.Xr rd 4 .
93.It Ar sd*
94SCSI disks, including flopticals, see
95.Xr sd 4 .
96.It Ar vnd*
97.Dq file
98pseudo-disk devices, see
99.Xr vnd 4 .
100.It Ar wd*
101.Dq winchester
102disk drives (ST506, IDE, ESDI, RLL, ...), see
103.Xr wd 4 .
104.El
105.Pp
106.Sy Tapes
107.Bl -tag -width tenletters -compact
108.It Ar ch*
109SCSI media changers, see
110.Xr ch 4 .
111.It Ar st*
112SCSI tape drives, see
113.Xr st 4 .
114.El
115.Pp
116.Sy Terminal ports
117.Bl -tag -width tenletters -compact
118.It Ar tty[0-7][0-9a-f]
119NS16x50 serial ports, see
120.Xr com 4 .
121.It Ar ttyB?
122DEC 3000 ZS8530 ("scc") serial ports, see
123.Xr scc 4 .
124.It Ar ttyc*
125Cyclades serial ports, see
126.Xr cy 4 .
127.El
128.Pp
129.Sy Pseudo terminals
130.Bl -tag -width tenletters -compact
131.It Ar ptm
132pty master device, see
133.Xr ptm 4 .
134.It Ar pty*
135Set of 62 master pseudo terminals, see
136.Xr pty 4 .
137.It Ar tty*
138Set of 62 slave pseudo terminals, see
139.Xr tty 4 .
140.El
141.Pp
142.Sy Console ports
143.Bl -tag -width tenletters -compact
144.It Ar ttyC-J*
145wscons display devices, see
146.Xr wsdisplay 4 .
147.It Ar wscons
148Minimal wscons devices, see
149.Xr wscons 4 .
150.It Ar wskbd*
151wscons keyboards, see
152.Xr wskbd 4 .
153.It Ar wsmux
154wscons keyboard/mouse mux devices, see
155.Xr wsmux 4 .
156.El
157.Pp
158.Sy Pointing devices
159.Bl -tag -width tenletters -compact
160.It Ar wsmouse*
161wscons mice, see
162.Xr wsmouse 4 .
163.El
164.Pp
165.Sy Printers
166.Bl -tag -width tenletters -compact
167.It Ar lpa*
168Polled printer port, see
169.Xr lpt 4 .
170.It Ar lpt*
171IEEE 1284 centronics printer, see
172.Xr lpt 4 .
173.El
174.Pp
175.Sy USB devices
176.Bl -tag -width tenletters -compact
177.It Ar ttyU*
178USB serial ports, see
179.Xr ucom 4 .
180.It Ar uall
181All USB devices, see
182.Xr usb 4 .
183.It Ar ugen*
184Generic USB devices, see
185.Xr ugen 4 .
186.It Ar uhid*
187Generic HID devices, see
188.Xr uhid 4 .
189.It Ar ulpt*
190Printer devices, see
191.Xr ulpt 4 .
192.It Ar urio*
193Diamond Multimedia Rio 500, see
194.Xr urio 4 .
195.It Ar usb*
196Bus control devices used by usbd for attach/detach, see
197.Xr usb 4 .
198.It Ar uscanner*
199Scanners, see
200.Xr uscanner 4 .
201.El
202.Pp
203.Sy Special purpose devices
204.Bl -tag -width tenletters -compact
205.It Ar audio*
206Audio devices, see
207.Xr audio 4 .
208.It Ar bio
209ioctl tunnel pseudo-device, see
210.Xr bio 4 .
211.It Ar bktr*
212Video frame grabbers, see
213.Xr bktr 4 .
214.It Ar bpf*
215Berkeley Packet Filter, see
216.Xr bpf 4 .
217.It Ar bthub*
218Bluetooth Hubs, see
219.Xr bthub 4 .
220.It Ar crypto
221Hardware crypto access driver, see
222.Xr crypto 4 .
223.It Ar diskmap
224Disk mapper, see
225.Xr diskmap 4 .
226.It Ar fd
227fd/* nodes, see
228.Xr fd 4 .
229.It Ar hotplug
230devices hot plugging, see
231.Xr hotplug 4 .
232.It Ar iop*
233I2O controller devices, see
234.Xr iop 4 .
235.It Ar lkm
236Loadable kernel modules interface, see
237.Xr lkm 4 .
238.It Ar music*
239MIDI sequencer, see
240.Xr music 4 .
241.It Ar nnpfs*
242NNPFS filesystem node, see
243.Xr mount_nnpfs 8 .
244.It Ar pci*
245PCI bus devices, see
246.Xr pci 4 .
247.It Ar pf*
248Packet Filter, see
249.Xr pf 4 .
250.It Ar pppx*
251PPP Multiplexer, see
252.Xr pppx 4 .
253.It Ar radio*
254FM tuner devices, see
255.Xr radio 4 .
256.It Ar *random
257In-kernel random data source, see
258.Xr random 4 .
259.It Ar rmidi*
260Raw MIDI devices, see
261.Xr midi 4 .
262.It Ar speaker
263PC speaker, see
264.Xr spkr 4 .
265.It Ar systrace*
266System call tracing device, see
267.Xr systrace 4 .
268.It Ar tun*
269Network tunnel driver, see
270.Xr tun 4 .
271.It Ar tuner*
272Tuner devices, see
273.Xr bktr 4 .
274.It Ar uk*
275Unknown SCSI devices, see
276.Xr uk 4 .
277.It Ar video*
278Video V4L2 devices, see
279.Xr video 4 .
280.It Ar vscsi*
281Virtual SCSI controller, see
282.Xr vscsi 8 .
283.El
284.Sh FILES
285.Bl -tag -width /dev -compact
286.It Pa /dev
287The special file directory.
288.El
289.Sh SEE ALSO
290.Xr intro 4 ,
291.Xr config 8 ,
292.Xr mknod 8
293