xref: /openbsd/share/man/man8/man8.armv7/MAKEDEV.8 (revision 771fbea0)
1.\" $OpenBSD: MAKEDEV.8,v 1.19 2021/01/23 17:36:23 deraadt Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.armv7/MAKEDEV.md,v 1.19 2021/01/23 05:08:33 thfr Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.112 2021/01/23 05:08:33 thfr 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: January 23 2021 $
27.Dt MAKEDEV 8 armv7
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 armv7 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 armv7.
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 ch*
82SCSI media changers, see
83.Xr ch 4 .
84.It Ar rd*
85.Dq rd
86pseudo-disks, see
87.Xr rd 4 .
88.It Ar sd*
89SCSI disks, including flopticals, see
90.Xr sd 4 .
91.It Ar vnd*
92.Dq file
93pseudo-disk devices, see
94.Xr vnd 4 .
95.It Ar wd*
96.Dq winchester
97disk drives (ST506, IDE, ESDI, RLL, ...), see
98.Xr wd 4 .
99.El
100.Pp
101.Sy Tapes
102.Bl -tag -width tenletters -compact
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 tty[0-7][0-9a-f]
111NS16x50 serial ports, see
112.Xr com 4 .
113.El
114.Pp
115.Sy Pseudo terminals
116.Bl -tag -width tenletters -compact
117.It Ar ptm
118pty master device, see
119.Xr ptm 4 .
120.It Ar pty*
121Set of 62 master pseudo terminals, see
122.Xr pty 4 .
123.It Ar tty*
124Set of 62 slave pseudo terminals, see
125.Xr tty 4 .
126.El
127.Pp
128.Sy Console ports
129.Bl -tag -width tenletters -compact
130.It Ar ttyC-J*
131wscons display devices, see
132.Xr wsdisplay 4 .
133.It Ar wscons
134Minimal wscons devices, see
135.Xr wscons 4 .
136.It Ar wskbd*
137wscons keyboards, see
138.Xr wskbd 4 .
139.It Ar wsmouse*
140wscons mice, see
141.Xr wsmouse 4 .
142.It Ar wsmux
143wscons keyboard/mouse mux devices, see
144.Xr wsmux 4 .
145.El
146.Pp
147.Sy USB devices
148.Bl -tag -width tenletters -compact
149.It Ar ttyU*
150USB serial ports, see
151.Xr ucom 4 .
152.It Ar uall
153All USB devices, see
154.Xr usb 4 .
155.It Ar ugen*
156Generic USB devices, see
157.Xr ugen 4 .
158.It Ar uhid*
159Generic HID devices, see
160.Xr uhid 4 .
161.It Ar fido
162fido/* nodes, see
163.Xr fido 4 .
164.It Ar ujoy
165ujoy/* nodes, see
166.Xr ujoy 4 .
167.It Ar ulpt*
168Printer devices, see
169.Xr ulpt 4 .
170.It Ar usb*
171Bus control devices used by usbd for attach/detach, see
172.Xr usb 4 .
173.El
174.Pp
175.Sy Special purpose devices
176.Bl -tag -width tenletters -compact
177.It Ar apm
178Power management device, see
179.Xr apm 4 .
180.It Ar audio*
181Audio devices, see
182.Xr audio 4 .
183.It Ar bio
184ioctl tunnel pseudo-device, see
185.Xr bio 4 .
186.It Ar bktr*
187Video frame grabbers, see
188.Xr bktr 4 .
189.It Ar bpf
190Berkeley Packet Filter, see
191.Xr bpf 4 .
192.It Ar dt
193Dynamic Tracer, see
194.Xr dt 4 .
195.It Ar diskmap
196Disk mapper, see
197.Xr diskmap 4 .
198.It Ar fd
199fd/* nodes, see
200.Xr fd 4 .
201.It Ar fuse
202Userland Filesystem, see
203.Xr fuse 4 .
204.It Ar gpio*
205General Purpose Input/Output, see
206.Xr gpio 4 .
207.It Ar hotplug
208devices hot plugging, see
209.Xr hotplug 4 .
210.It Ar pci*
211PCI bus devices, see
212.Xr pci 4 .
213.It Ar pf*
214Packet Filter, see
215.Xr pf 4 .
216.It Ar pppx*
217PPP Multiplexer, see
218.Xr pppx 4 .
219.It Ar pppac*
220PPP Access Concentrator, see
221.Xr pppac 4 .
222.It Ar radio*
223FM tuner devices, see
224.Xr radio 4 .
225.It Ar *random
226In-kernel random data source, see
227.Xr random 4 .
228.It Ar rmidi*
229Raw MIDI devices, see
230.Xr midi 4 .
231.It Ar tun*
232Network tunnel driver, see
233.Xr tun 4 .
234.It Ar tap*
235Ethernet tunnel driver, see
236.Xr tap 4 .
237.It Ar uk*
238Unknown SCSI devices, see
239.Xr uk 4 .
240.It Ar tuner*
241Tuner devices, see
242.Xr bktr 4 .
243.It Ar video*
244Video V4L2 devices, see
245.Xr video 4 .
246.It Ar vscsi*
247Virtual SCSI controller, see
248.Xr vscsi 4 .
249.It Ar switch*
250Switch driver, see
251.Xr switch 4 .
252.It Ar kstat
253Kernel Statistics, see
254.Xr kstat 4 .
255.El
256.Sh FILES
257.Bl -tag -width /dev -compact
258.It Pa /dev
259The special file directory.
260.El
261.Sh SEE ALSO
262.Xr intro 4 ,
263.Xr config 8 ,
264.Xr mknod 8
265