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