xref: /openbsd-src/share/man/man8/man8.landisk/MAKEDEV.8 (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.\" $OpenBSD: MAKEDEV.8,v 1.47 2016/09/04 15:39:53 naddy Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.landisk/MAKEDEV.md,v 1.42 2016/09/04 15:38:59 naddy Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.91 2016/09/04 15:38:59 naddy Exp
8.\"	OpenBSD: MAKEDEV.man,v 1.8 2016/03/12 17:59:27 espie 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: September 4 2016 $
27.Dt MAKEDEV 8 landisk
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.
48.Pp
49Where a device name is followed by a star
50.Sq * ,
51the star must be replaced by a unit number.
52If units are expected for a device but not provided,
53.Nm
54will supply the standard numbers in most cases.
55.Pp
56The landisk supports the following devices:
57.Pp
58.Sy Special device names
59.Bl -tag -width tenletters -compact
60.It Ar all
61Creates special files for all devices on landisk.
62.It Ar ramdisk
63Ramdisk kernel devices.
64.It Ar std
65Creates the
66.Sq standard
67devices (console, klog, kmem, ksyms, mem, null,
68stderr, stdin, stdout, tty, zero)
69which are absolutely necessary for the system to function properly.
70.It Ar local
71Creates configuration-specific devices, by invoking the shell file
72.Pa MAKEDEV.local .
73.El
74.Pp
75.Sy Disks
76.Bl -tag -width tenletters -compact
77.It Ar cd*
78ATAPI and SCSI CD-ROM drives, see
79.Xr cd 4 .
80.It Ar ch*
81SCSI media changers, see
82.Xr ch 4 .
83.It Ar rd*
84.Dq rd
85pseudo-disks, see
86.Xr rd 4 .
87.It Ar sd*
88SCSI disks, including flopticals, see
89.Xr sd 4 .
90.It Ar vnd*
91.Dq file
92pseudo-disk devices, see
93.Xr vnd 4 .
94.It Ar wd*
95.Dq winchester
96disk drives (ST506, IDE, ESDI, RLL, ...), see
97.Xr wd 4 .
98.El
99.Pp
100.Sy Tapes
101.Bl -tag -width tenletters -compact
102.It Ar st*
103SCSI tape drives, see
104.Xr st 4 .
105.El
106.Pp
107.Sy Terminal ports
108.Bl -tag -width tenletters -compact
109.It Ar ttya
110on-board serial port, see
111.Xr scif 4 .
112.El
113.Pp
114.Sy Pseudo terminals
115.Bl -tag -width tenletters -compact
116.It Ar ptm
117pty master device, see
118.Xr ptm 4 .
119.It Ar pty*
120Set of 62 master pseudo terminals, see
121.Xr pty 4 .
122.It Ar tty*
123Set of 62 slave pseudo terminals, see
124.Xr tty 4 .
125.El
126.Pp
127.Sy Console ports
128.Bl -tag -width tenletters -compact
129.It Ar ttyC-J*
130wscons display devices, see
131.Xr wsdisplay 4 .
132.It Ar wscons
133Minimal wscons devices, see
134.Xr wscons 4 .
135.It Ar wskbd*
136wscons keyboards, see
137.Xr wskbd 4 .
138.It Ar wsmouse*
139wscons mice, see
140.Xr wsmouse 4 .
141.It Ar wsmux
142wscons keyboard/mouse mux devices, see
143.Xr wsmux 4 .
144.El
145.Pp
146.Sy USB devices
147.Bl -tag -width tenletters -compact
148.It Ar ttyU*
149USB serial ports, see
150.Xr ucom 4 .
151.It Ar uall
152All USB devices, see
153.Xr usb 4 .
154.It Ar ugen*
155Generic USB devices, see
156.Xr ugen 4 .
157.It Ar uhid*
158Generic HID devices, see
159.Xr uhid 4 .
160.It Ar ulpt*
161Printer devices, see
162.Xr ulpt 4 .
163.It Ar usb*
164Bus control devices used by usbd for attach/detach, see
165.Xr usb 4 .
166.El
167.Pp
168.Sy Special purpose devices
169.Bl -tag -width tenletters -compact
170.It Ar audio*
171Audio devices, see
172.Xr audio 4 .
173.It Ar bio
174ioctl tunnel pseudo-device, see
175.Xr bio 4 .
176.It Ar bpf
177Berkeley Packet Filter, see
178.Xr bpf 4 .
179.It Ar diskmap
180Disk mapper, see
181.Xr diskmap 4 .
182.It Ar fd
183fd/* nodes, see
184.Xr fd 4 .
185.It Ar fuse
186Userland Filesystem, see
187.Xr fuse 4 .
188.It Ar hotplug
189devices hot plugging, see
190.Xr hotplug 4 .
191.It Ar pci*
192PCI bus devices, see
193.Xr pci 4 .
194.It Ar pf*
195Packet Filter, see
196.Xr pf 4 .
197.It Ar pppx*
198PPP Multiplexer, see
199.Xr pppx 4 .
200.It Ar radio*
201FM tuner devices, see
202.Xr radio 4 .
203.It Ar *random
204In-kernel random data source, see
205.Xr random 4 .
206.It Ar rmidi*
207Raw MIDI devices, see
208.Xr midi 4 .
209.It Ar tun*
210Network tunnel driver, see
211.Xr tun 4 .
212.It Ar tap*
213Ethernet tunnel driver, see
214.Xr tap 4 .
215.It Ar uk*
216Unknown SCSI devices, see
217.Xr uk 4 .
218.It Ar video*
219Video V4L2 devices, see
220.Xr video 4 .
221.It Ar vscsi*
222Virtual SCSI controller, see
223.Xr vscsi 4 .
224.It Ar switch*
225Switch driver, see
226.Xr switch 4 .
227.El
228.Sh FILES
229.Bl -tag -width /dev -compact
230.It Pa /dev
231The special file directory.
232.El
233.Sh SEE ALSO
234.Xr intro 4 ,
235.Xr config 8 ,
236.Xr mknod 8
237