xref: /openbsd/share/man/man8/man8.macppc/MAKEDEV.8 (revision 4cfece93)
1.\" $OpenBSD: MAKEDEV.8,v 1.81 2020/07/06 06:13:10 dlg Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.macppc/MAKEDEV.md,v 1.75 2020/07/06 06:11:27 dlg Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.111 2020/07/06 06:11:26 dlg Exp
8.\"	OpenBSD: MAKEDEV.man,v 1.9 2017/06/06 08:11:23 tb 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: July 6 2020 $
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.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.
48Files are created in the current working directory.
49.Pp
50Where a device name is followed by a star
51.Sq * ,
52the star must be replaced by a unit number.
53If units are expected for a device but not provided,
54.Nm
55will supply the standard numbers in most cases.
56.Pp
57The macppc supports the following devices:
58.Pp
59.Sy Special device names
60.Bl -tag -width tenletters -compact
61.It Ar all
62Creates special files for all devices on macppc.
63.It Ar ramdisk
64Ramdisk kernel devices.
65.It Ar std
66Creates the
67.Sq standard
68devices (console, klog, kmem, ksyms, mem, null,
69stderr, stdin, stdout, tty, zero)
70which are absolutely necessary for the system to function properly.
71.It Ar local
72Creates configuration-specific devices, by invoking the shell file
73.Pa MAKEDEV.local .
74.El
75.Pp
76.Sy Disks
77.Bl -tag -width tenletters -compact
78.It Ar cd*
79ATAPI and SCSI CD-ROM drives, see
80.Xr cd 4 .
81.It Ar rd*
82.Dq rd
83pseudo-disks, see
84.Xr rd 4 .
85.It Ar sd*
86SCSI disks, including flopticals, see
87.Xr sd 4 .
88.It Ar vnd*
89.Dq file
90pseudo-disk devices, see
91.Xr vnd 4 .
92.It Ar wd*
93.Dq winchester
94disk drives (ST506, IDE, ESDI, RLL, ...), see
95.Xr wd 4 .
96.El
97.Pp
98.Sy Tapes
99.Bl -tag -width tenletters -compact
100.It Ar ch*
101SCSI media changers, see
102.Xr ch 4 .
103.It Ar st*
104SCSI tape drives, see
105.Xr st 4 .
106.El
107.Pp
108.Sy Terminal ports
109.Bl -tag -width tenletters -compact
110.It Ar cua[a-z]*
111Zilog 8530 serial ports, see
112.Xr zs 4 .
113.It Ar tty[0-7][0-9a-f]
114NS16x50 serial ports, see
115.Xr com 4 .
116.It Ar tty[a-z]*
117Zilog 8530 serial ports, see
118.Xr zs 4 .
119.El
120.Pp
121.Sy Pseudo terminals
122.Bl -tag -width tenletters -compact
123.It Ar ptm
124pty master device, see
125.Xr ptm 4 .
126.It Ar pty*
127Set of 62 master pseudo terminals, see
128.Xr pty 4 .
129.It Ar tty*
130Set of 62 slave pseudo terminals, see
131.Xr tty 4 .
132.El
133.Pp
134.Sy Console ports
135.Bl -tag -width tenletters -compact
136.It Ar wscons
137Minimal wscons devices, see
138.Xr wscons 4 .
139.It Ar ttyC-J*
140wscons display devices, see
141.Xr wsdisplay 4 .
142.It Ar wskbd*
143wscons keyboards, see
144.Xr wskbd 4 .
145.It Ar wsmux
146wscons keyboard/mouse mux devices, see
147.Xr wsmux 4 .
148.El
149.Pp
150.Sy Pointing devices
151.Bl -tag -width tenletters -compact
152.It Ar wsmouse*
153wscons mice, see
154.Xr wsmouse 4 .
155.El
156.Pp
157.Sy USB devices
158.Bl -tag -width tenletters -compact
159.It Ar uall
160All USB devices, see
161.Xr usb 4 .
162.It Ar ttyU*
163USB serial ports, see
164.Xr ucom 4 .
165.It Ar ugen*
166Generic USB devices, see
167.Xr ugen 4 .
168.It Ar uhid*
169Generic HID devices, see
170.Xr uhid 4 .
171.It Ar fido
172fido/* nodes, see
173.Xr fido 4 .
174.It Ar ulpt*
175Printer devices, see
176.Xr ulpt 4 .
177.It Ar usb*
178Bus control devices used by usbd for attach/detach, see
179.Xr usb 4 .
180.El
181.Pp
182.Sy Special purpose devices
183.Bl -tag -width tenletters -compact
184.It Ar apm
185Power management device, see
186.Xr apm 4 .
187.It Ar audio*
188Audio devices, see
189.Xr audio 4 .
190.It Ar bio
191ioctl tunnel pseudo-device, see
192.Xr bio 4 .
193.It Ar bktr*
194Video frame grabbers, see
195.Xr bktr 4 .
196.It Ar bpf
197Berkeley Packet Filter, see
198.Xr bpf 4 .
199.It Ar dt
200Dynamic Tracer, see
201.Xr dt 4 .
202.It Ar diskmap
203Disk mapper, see
204.Xr diskmap 4 .
205.It Ar drm*
206Direct Rendering Manager, see
207.Xr drm 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 gpio*
215General Purpose Input/Output, see
216.Xr gpio 4 .
217.It Ar hotplug
218devices hot plugging, see
219.Xr hotplug 4 .
220.It Ar pci*
221PCI bus devices, see
222.Xr pci 4 .
223.It Ar pf*
224Packet Filter, see
225.Xr pf 4 .
226.It Ar pppx*
227PPP Multiplexer, see
228.Xr pppx 4 .
229.It Ar pppac*
230PPP Access Concentrator, see
231.Xr pppac 4 .
232.It Ar radio*
233FM tuner devices, see
234.Xr radio 4 .
235.It Ar *random
236In-kernel random data source, see
237.Xr random 4 .
238.It Ar rmidi*
239Raw MIDI devices, see
240.Xr midi 4 .
241.It Ar tun*
242Network tunnel driver, see
243.Xr tun 4 .
244.It Ar tap*
245Ethernet tunnel driver, see
246.Xr tap 4 .
247.It Ar tuner*
248Tuner devices, see
249.Xr bktr 4 .
250.It Ar uk*
251Unknown SCSI devices, see
252.Xr uk 4 .
253.It Ar video*
254Video V4L2 devices, see
255.Xr video 4 .
256.It Ar vscsi*
257Virtual SCSI controller, see
258.Xr vscsi 4 .
259.It Ar switch*
260Switch driver, see
261.Xr switch 4 .
262.It Ar kstat
263Kernel Statistics, see
264.Xr kstat 4 .
265.El
266.Sh FILES
267.Bl -tag -width /dev -compact
268.It Pa /dev
269The special file directory.
270.El
271.Sh SEE ALSO
272.Xr intro 4 ,
273.Xr config 8 ,
274.Xr mknod 8
275