xref: /openbsd/share/man/man8/man8.macppc/MAKEDEV.8 (revision 73471bf0)
1.\" $OpenBSD: MAKEDEV.8,v 1.84 2021/11/11 09:51:33 claudio Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.macppc/MAKEDEV.md,v 1.79 2021/11/11 09:47:33 claudio Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.114 2021/11/11 09:47:32 claudio 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: November 11 2021 $
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 ujoy
175ujoy/* nodes, see
176.Xr ujoy 4 .
177.It Ar ulpt*
178Printer devices, see
179.Xr ulpt 4 .
180.It Ar usb*
181Bus control devices used by usbd for attach/detach, see
182.Xr usb 4 .
183.El
184.Pp
185.Sy Special purpose devices
186.Bl -tag -width tenletters -compact
187.It Ar apm
188Power management device, see
189.Xr apm 4 .
190.It Ar audio*
191Audio devices, see
192.Xr audio 4 .
193.It Ar bio
194ioctl tunnel pseudo-device, see
195.Xr bio 4 .
196.It Ar bktr*
197Video frame grabbers, see
198.Xr bktr 4 .
199.It Ar bpf
200Berkeley Packet Filter, see
201.Xr bpf 4 .
202.It Ar dt
203Dynamic Tracer, see
204.Xr dt 4 .
205.It Ar diskmap
206Disk mapper, see
207.Xr diskmap 4 .
208.It Ar dri
209Direct Rendering Infrastructure, see
210.Xr drm 4 .
211.It Ar drm*
212Direct Rendering Manager, see
213.Xr drm 4 .
214.It Ar fd
215fd/* nodes, see
216.Xr fd 4 .
217.It Ar fuse
218Userland Filesystem, see
219.Xr fuse 4 .
220.It Ar gpio*
221General Purpose Input/Output, see
222.Xr gpio 4 .
223.It Ar hotplug
224devices hot plugging, see
225.Xr hotplug 4 .
226.It Ar pci*
227PCI bus devices, see
228.Xr pci 4 .
229.It Ar pf*
230Packet Filter, see
231.Xr pf 4 .
232.It Ar pppx*
233PPP Multiplexer, see
234.Xr pppx 4 .
235.It Ar pppac*
236PPP Access Concentrator, see
237.Xr pppac 4 .
238.It Ar radio*
239FM tuner devices, see
240.Xr radio 4 .
241.It Ar *random
242In-kernel random data source, see
243.Xr random 4 .
244.It Ar rmidi*
245Raw MIDI devices, see
246.Xr midi 4 .
247.It Ar tun*
248Network tunnel driver, see
249.Xr tun 4 .
250.It Ar tap*
251Ethernet tunnel driver, see
252.Xr tap 4 .
253.It Ar tuner*
254Tuner devices, see
255.Xr bktr 4 .
256.It Ar uk*
257Unknown SCSI devices, see
258.Xr uk 4 .
259.It Ar video*
260Video V4L2 devices, see
261.Xr video 4 .
262.It Ar vscsi*
263Virtual SCSI controller, see
264.Xr vscsi 4 .
265.It Ar kstat
266Kernel Statistics, see
267.Xr kstat 4 .
268.El
269.Sh FILES
270.Bl -tag -width /dev -compact
271.It Pa /dev
272The special file directory.
273.El
274.Sh SEE ALSO
275.Xr intro 4 ,
276.Xr config 8 ,
277.Xr mknod 8
278