xref: /openbsd/share/man/man8/man8.macppc/MAKEDEV.8 (revision 891d7ab6)
1.\" $OpenBSD: MAKEDEV.8,v 1.52 2011/06/26 23:47:07 deraadt Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.macppc/MAKEDEV.md,v 1.46 2011/04/19 23:07:55 todd Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.55 2011/06/26 23:28:23 tedu 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: June 26 2011 $
27.Dt MAKEDEV 8 macppc
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 macppc 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 macppc.
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 raid*
84RAIDframe disk devices, see
85.Xr raid 4 .
86.It Ar rd*
87.Dq rd
88pseudo-disks, see
89.Xr rd 4 .
90.It Ar sd*
91SCSI disks, including flopticals, see
92.Xr sd 4 .
93.It Ar vnd*
94.Dq file
95pseudo-disk devices, see
96.Xr vnd 4 .
97.It Ar wd*
98.Dq winchester
99disk drives (ST506, IDE, ESDI, RLL, ...), see
100.Xr wd 4 .
101.El
102.Pp
103.Sy Tapes
104.Bl -tag -width tenletters -compact
105.It Ar ch*
106SCSI media changers, see
107.Xr ch 4 .
108.It Ar st*
109SCSI tape drives, see
110.Xr st 4 .
111.El
112.Pp
113.Sy Terminal ports
114.Bl -tag -width tenletters -compact
115.It Ar cua[a-z]*
116Zilog 8530 serial ports, see
117.Xr zs 4 .
118.It Ar tty[0-7][0-9a-f]
119NS16x50 serial ports, see
120.Xr com 4 .
121.It Ar tty[a-z]*
122Zilog 8530 serial ports, see
123.Xr zs 4 .
124.El
125.Pp
126.Sy Pseudo terminals
127.Bl -tag -width tenletters -compact
128.It Ar ptm
129pty master device, see
130.Xr ptm 4 .
131.It Ar pty*
132Set of 62 master pseudo terminals, see
133.Xr pty 4 .
134.It Ar tty*
135Set of 62 slave pseudo terminals, see
136.Xr tty 4 .
137.El
138.Pp
139.Sy Console ports
140.Bl -tag -width tenletters -compact
141.It Ar wscons
142Minimal wscons devices, see
143.Xr wscons 4 .
144.It Ar ttyC-J*
145wscons display devices, see
146.Xr wsdisplay 4 .
147.It Ar wskbd*
148wscons keyboards, see
149.Xr wskbd 4 .
150.It Ar wsmux
151wscons keyboard/mouse mux devices, see
152.Xr wsmux 4 .
153.El
154.Pp
155.Sy Pointing devices
156.Bl -tag -width tenletters -compact
157.It Ar wsmouse*
158wscons mice, see
159.Xr wsmouse 4 .
160.El
161.Pp
162.Sy USB devices
163.Bl -tag -width tenletters -compact
164.It Ar uall
165All USB devices, see
166.Xr usb 4 .
167.It Ar ttyU*
168USB serial ports, see
169.Xr ucom 4 .
170.It Ar ugen*
171Generic USB devices, see
172.Xr ugen 4 .
173.It Ar uhid*
174Generic HID devices, see
175.Xr uhid 4 .
176.It Ar ulpt*
177Printer devices, see
178.Xr ulpt 4 .
179.It Ar urio*
180Diamond Multimedia Rio 500, see
181.Xr urio 4 .
182.It Ar usb*
183Bus control devices used by usbd for attach/detach, see
184.Xr usb 4 .
185.It Ar uscanner*
186Scanners, see
187.Xr uscanner 4 .
188.El
189.Pp
190.Sy Special purpose devices
191.Bl -tag -width tenletters -compact
192.It Ar apm
193Power management device, see
194.Xr apm 4 .
195.It Ar audio*
196Audio devices, see
197.Xr audio 4 .
198.It Ar bio
199ioctl tunnel pseudo-device, see
200.Xr bio 4 .
201.It Ar bktr*
202Video frame grabbers, see
203.Xr bktr 4 .
204.It Ar bpf*
205Berkeley Packet Filter, see
206.Xr bpf 4 .
207.It Ar bthub*
208Bluetooth Hubs, see
209.Xr bthub 4 .
210.It Ar crypto
211Hardware crypto access driver, see
212.Xr crypto 4 .
213.It Ar diskmap
214Disk mapper, see
215.Xr diskmap 4 .
216.It Ar fd
217fd/* nodes, see
218.Xr fd 4 .
219.It Ar gpio*
220General Purpose Input/Output, see
221.Xr gpio 4 .
222.It Ar hotplug
223devices hot plugging, see
224.Xr hotplug 4 .
225.It Ar iop*
226I2O controller devices, see
227.Xr iop 4 .
228.It Ar lkm
229Loadable kernel modules interface, see
230.Xr lkm 4 .
231.It Ar nnpfs*
232NNPFS filesystem node, see
233.Xr mount_nnpfs 8 .
234.It Ar pci*
235PCI bus devices, see
236.Xr pci 4 .
237.It Ar pf*
238Packet Filter, see
239.Xr pf 4 .
240.It Ar pppx*
241PPP Multiplexer, see
242.Xr pppx 4 .
243.It Ar radio*
244FM tuner devices, see
245.Xr radio 4 .
246.It Ar *random
247In-kernel random data source, see
248.Xr random 4 .
249.It Ar rmidi*
250Raw MIDI devices, see
251.Xr midi 4 .
252.It Ar music*
253MIDI sequencer, see
254.Xr music 4 .
255.It Ar systrace*
256System call tracing device, see
257.Xr systrace 4 .
258.It Ar tun*
259Network tunnel driver, see
260.Xr tun 4 .
261.It Ar tuner*
262Tuner devices, see
263.Xr bktr 4 .
264.It Ar uk*
265Unknown SCSI devices, see
266.Xr uk 4 .
267.It Ar video*
268Video V4L2 devices, see
269.Xr video 4 .
270.It Ar vscsi*
271Virtual SCSI controller, see
272.Xr vscsi 8 .
273.El
274.Sh FILES
275.Bl -tag -width /dev -compact
276.It Pa /dev
277The special file directory.
278.El
279.Sh SEE ALSO
280.Xr intro 4 ,
281.Xr config 8 ,
282.Xr mknod 8
283