xref: /openbsd/share/man/man8/man8.alpha/MAKEDEV.8 (revision fc61954a)
1.\" $OpenBSD: MAKEDEV.8,v 1.73 2016/09/04 15:39:53 naddy Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.alpha/MAKEDEV.md,v 1.69 2016/09/04 15:38:59 naddy Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.91 2016/09/04 15:38:59 naddy Exp
8.\"	OpenBSD: MAKEDEV.man,v 1.8 2016/03/12 17:59:27 espie 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: September 4 2016 $
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.Op 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 cd*
78ATAPI and SCSI CD-ROM drives, see
79.Xr cd 4 .
80.It Ar fd*
81Floppy disk drives (3 1/2", 5 1/4"), see
82.Xr fd 4 .
83.It Ar rd*
84.Dq rd
85pseudo-disks, see
86.Xr rd 4 .
87.It Ar sd*
88SCSI disks, including flopticals, see
89.Xr sd 4 .
90.It Ar vnd*
91.Dq file
92pseudo-disk devices, see
93.Xr vnd 4 .
94.It Ar wd*
95.Dq winchester
96disk drives (ST506, IDE, ESDI, RLL, ...), see
97.Xr wd 4 .
98.El
99.Pp
100.Sy Tapes
101.Bl -tag -width tenletters -compact
102.It Ar ch*
103SCSI media changers, see
104.Xr ch 4 .
105.It Ar st*
106SCSI tape drives, see
107.Xr st 4 .
108.El
109.Pp
110.Sy Terminal ports
111.Bl -tag -width tenletters -compact
112.It Ar tty[0-7][0-9a-f]
113NS16x50 serial ports, see
114.Xr com 4 .
115.It Ar ttyB?
116DEC 3000 ZS8530 ("scc") serial ports, see
117.Xr scc 4 .
118.It Ar ttyc*
119Cyclades serial ports, see
120.Xr cy 4 .
121.El
122.Pp
123.Sy Pseudo terminals
124.Bl -tag -width tenletters -compact
125.It Ar ptm
126pty master device, see
127.Xr ptm 4 .
128.It Ar pty*
129Set of 62 master pseudo terminals, see
130.Xr pty 4 .
131.It Ar tty*
132Set of 62 slave pseudo terminals, see
133.Xr tty 4 .
134.El
135.Pp
136.Sy Console ports
137.Bl -tag -width tenletters -compact
138.It Ar ttyC-J*
139wscons display devices, see
140.Xr wsdisplay 4 .
141.It Ar wscons
142Minimal wscons devices, see
143.Xr wscons 4 .
144.It Ar wskbd*
145wscons keyboards, see
146.Xr wskbd 4 .
147.It Ar wsmux
148wscons keyboard/mouse mux devices, see
149.Xr wsmux 4 .
150.El
151.Pp
152.Sy Pointing devices
153.Bl -tag -width tenletters -compact
154.It Ar wsmouse*
155wscons mice, see
156.Xr wsmouse 4 .
157.El
158.Pp
159.Sy Printers
160.Bl -tag -width tenletters -compact
161.It Ar lpa*
162Polled printer port, see
163.Xr lpt 4 .
164.It Ar lpt*
165IEEE 1284 centronics printer, see
166.Xr lpt 4 .
167.El
168.Pp
169.Sy USB devices
170.Bl -tag -width tenletters -compact
171.It Ar ttyU*
172USB serial ports, see
173.Xr ucom 4 .
174.It Ar uall
175All USB devices, see
176.Xr usb 4 .
177.It Ar ugen*
178Generic USB devices, see
179.Xr ugen 4 .
180.It Ar uhid*
181Generic HID devices, see
182.Xr uhid 4 .
183.It Ar ulpt*
184Printer devices, see
185.Xr ulpt 4 .
186.It Ar usb*
187Bus control devices used by usbd for attach/detach, see
188.Xr usb 4 .
189.El
190.Pp
191.Sy Special purpose devices
192.Bl -tag -width tenletters -compact
193.It Ar audio*
194Audio devices, see
195.Xr audio 4 .
196.It Ar bio
197ioctl tunnel pseudo-device, see
198.Xr bio 4 .
199.It Ar bktr*
200Video frame grabbers, see
201.Xr bktr 4 .
202.It Ar bpf
203Berkeley Packet Filter, see
204.Xr bpf 4 .
205.It Ar diskmap
206Disk mapper, see
207.Xr diskmap 4 .
208.It Ar fd
209fd/* nodes, see
210.Xr fd 4 .
211.It Ar fuse
212Userland Filesystem, see
213.Xr fuse 4 .
214.It Ar hotplug
215devices hot plugging, see
216.Xr hotplug 4 .
217.It Ar pci*
218PCI bus devices, see
219.Xr pci 4 .
220.It Ar pf*
221Packet Filter, see
222.Xr pf 4 .
223.It Ar pppx*
224PPP Multiplexer, see
225.Xr pppx 4 .
226.It Ar radio*
227FM tuner devices, see
228.Xr radio 4 .
229.It Ar *random
230In-kernel random data source, see
231.Xr random 4 .
232.It Ar rmidi*
233Raw MIDI devices, see
234.Xr midi 4 .
235.It Ar speaker
236PC speaker, see
237.Xr spkr 4 .
238.It Ar tun*
239Network tunnel driver, see
240.Xr tun 4 .
241.It Ar tap*
242Ethernet tunnel driver, see
243.Xr tap 4 .
244.It Ar tuner*
245Tuner devices, see
246.Xr bktr 4 .
247.It Ar uk*
248Unknown SCSI devices, see
249.Xr uk 4 .
250.It Ar video*
251Video V4L2 devices, see
252.Xr video 4 .
253.It Ar vscsi*
254Virtual SCSI controller, see
255.Xr vscsi 4 .
256.It Ar switch*
257Switch driver, see
258.Xr switch 4 .
259.El
260.Sh FILES
261.Bl -tag -width /dev -compact
262.It Pa /dev
263The special file directory.
264.El
265.Sh SEE ALSO
266.Xr intro 4 ,
267.Xr config 8 ,
268.Xr mknod 8
269