xref: /openbsd/share/man/man8/man8.arm64/MAKEDEV.8 (revision 905646f0)
1.\" $OpenBSD: MAKEDEV.8,v 1.8 2020/07/06 06:13:10 dlg Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.arm64/MAKEDEV.md,v 1.10 2020/07/06 06:11:26 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 arm64
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 arm64 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 arm64.
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.El
104.Pp
105.Sy Terminal ports
106.Bl -tag -width tenletters -compact
107.It Ar tty[0-7][0-9a-f]
108NS16x50 serial ports, see
109.Xr com 4 .
110.El
111.Pp
112.Sy Pseudo terminals
113.Bl -tag -width tenletters -compact
114.It Ar ptm
115pty master device, see
116.Xr ptm 4 .
117.It Ar pty*
118Set of 62 master pseudo terminals, see
119.Xr pty 4 .
120.It Ar tty*
121Set of 62 slave pseudo terminals, see
122.Xr tty 4 .
123.El
124.Pp
125.Sy Console ports
126.Bl -tag -width tenletters -compact
127.It Ar ttyC-J*
128wscons display devices, see
129.Xr wsdisplay 4 .
130.It Ar wscons
131Minimal wscons devices, see
132.Xr wscons 4 .
133.It Ar wskbd*
134wscons keyboards, see
135.Xr wskbd 4 .
136.It Ar wsmux
137wscons keyboard/mouse mux devices, see
138.Xr wsmux 4 .
139.El
140.Pp
141.Sy Pointing devices
142.Bl -tag -width tenletters -compact
143.It Ar wsmouse*
144wscons mice, see
145.Xr wsmouse 4 .
146.El
147.Pp
148.Sy Printers
149.Bl -tag -width tenletters -compact
150.El
151.Pp
152.Sy USB devices
153.Bl -tag -width tenletters -compact
154.It Ar ttyU*
155USB serial ports, see
156.Xr ucom 4 .
157.It Ar uall
158All USB devices, see
159.Xr usb 4 .
160.It Ar ugen*
161Generic USB devices, see
162.Xr ugen 4 .
163.It Ar uhid*
164Generic HID devices, see
165.Xr uhid 4 .
166.It Ar fido
167fido/* nodes, see
168.Xr fido 4 .
169.It Ar ulpt*
170Printer devices, see
171.Xr ulpt 4 .
172.It Ar usb*
173Bus control devices used by usbd for attach/detach, see
174.Xr usb 4 .
175.El
176.Pp
177.Sy Special purpose devices
178.Bl -tag -width tenletters -compact
179.It Ar apm
180Power Management Interface, see
181.Xr apm 4 .
182.It Ar audio*
183Audio devices, see
184.Xr audio 4 .
185.It Ar bio
186ioctl tunnel pseudo-device, see
187.Xr bio 4 .
188.It Ar bktr*
189Video frame grabbers, see
190.Xr bktr 4 .
191.It Ar bpf
192Berkeley Packet Filter, see
193.Xr bpf 4 .
194.It Ar dt
195Dynamic Tracer, see
196.Xr dt 4 .
197.It Ar diskmap
198Disk mapper, see
199.Xr diskmap 4 .
200.It Ar drm*
201Direct Rendering Manager, see
202.Xr drm 4 .
203.It Ar fd
204fd/* nodes, see
205.Xr fd 4 .
206.It Ar fuse
207Userland Filesystem, see
208.Xr fuse 4 .
209.It Ar gpio*
210General Purpose Input/Output, see
211.Xr gpio 4 .
212.It Ar hotplug
213devices hot plugging, see
214.Xr hotplug 4 .
215.It Ar ipmi*
216IPMI BMC access, see
217.Xr ipmi 4 .
218.It Ar pci*
219PCI bus devices, see
220.Xr pci 4 .
221.It Ar pf*
222Packet Filter, see
223.Xr pf 4 .
224.It Ar pppx*
225PPP Multiplexer, see
226.Xr pppx 4 .
227.It Ar pppac*
228PPP Access Concentrator, see
229.Xr pppac 4 .
230.It Ar radio*
231FM tuner devices, see
232.Xr radio 4 .
233.It Ar *random
234In-kernel random data source, see
235.Xr random 4 .
236.It Ar rmidi*
237Raw MIDI devices, see
238.Xr midi 4 .
239.It Ar tun*
240Network tunnel driver, see
241.Xr tun 4 .
242.It Ar tap*
243Ethernet tunnel driver, see
244.Xr tap 4 .
245.It Ar tuner*
246Tuner devices, see
247.Xr bktr 4 .
248.It Ar uk*
249Unknown SCSI devices, see
250.Xr uk 4 .
251.It Ar video*
252Video V4L2 devices, see
253.Xr video 4 .
254.It Ar vscsi*
255Virtual SCSI controller, see
256.Xr vscsi 4 .
257.It Ar switch*
258Switch driver, see
259.Xr switch 4 .
260.It Ar kstat
261Kernel Statistics, see
262.Xr kstat 4 .
263.El
264.Sh FILES
265.Bl -tag -width /dev -compact
266.It Pa /dev
267The special file directory.
268.El
269.Sh SEE ALSO
270.Xr intro 4 ,
271.Xr config 8 ,
272.Xr mknod 8
273