xref: /openbsd-src/share/man/man8/man8.landisk/MAKEDEV.8 (revision 4c1e55dc91edd6e69ccc60ce855900fbc12cf34f)
1.\" $OpenBSD: MAKEDEV.8,v 1.28 2012/04/06 15:32:57 jsing Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.landisk/MAKEDEV.md,v 1.26 2012/04/06 15:18:41 jsing Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.59 2012/04/06 15:18:41 jsing Exp
8.\"	OpenBSD: MAKEDEV.man,v 1.7 2009/03/18 17:34:25 sobrado 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: April 6 2012 $
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.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 urio*
164Diamond Multimedia Rio 500, see
165.Xr urio 4 .
166.It Ar usb*
167Bus control devices used by usbd for attach/detach, see
168.Xr usb 4 .
169.It Ar uscanner*
170Scanners, see
171.Xr uscanner 4 .
172.El
173.Pp
174.Sy Special purpose devices
175.Bl -tag -width tenletters -compact
176.It Ar audio*
177Audio devices, see
178.Xr audio 4 .
179.It Ar bio
180ioctl tunnel pseudo-device, see
181.Xr bio 4 .
182.It Ar bpf*
183Berkeley Packet Filter, see
184.Xr bpf 4 .
185.It Ar bthub*
186Bluetooth Hubs, see
187.Xr bthub 4 .
188.It Ar crypto
189Hardware crypto access driver, see
190.Xr crypto 4 .
191.It Ar diskmap
192Disk mapper, see
193.Xr diskmap 4 .
194.It Ar fd
195fd/* nodes, see
196.Xr fd 4 .
197.It Ar hotplug
198devices hot plugging, see
199.Xr hotplug 4 .
200.It Ar lkm
201Loadable kernel modules interface, see
202.Xr lkm 4 .
203.It Ar music*
204MIDI sequencer, see
205.Xr music 4 .
206.It Ar nnpfs*
207NNPFS filesystem node, see
208.Xr mount_nnpfs 8 .
209.It Ar pci*
210PCI bus devices, see
211.Xr pci 4 .
212.It Ar pf*
213Packet Filter, see
214.Xr pf 4 .
215.It Ar pppx*
216PPP Multiplexer, see
217.Xr pppx 4 .
218.It Ar radio*
219FM tuner devices, see
220.Xr radio 4 .
221.It Ar *random
222In-kernel random data source, see
223.Xr random 4 .
224.It Ar rmidi*
225Raw MIDI devices, see
226.Xr midi 4 .
227.It Ar systrace*
228System call tracing device, see
229.Xr systrace 4 .
230.It Ar tun*
231Network tunnel driver, see
232.Xr tun 4 .
233.It Ar uk*
234Unknown SCSI devices, see
235.Xr uk 4 .
236.It Ar video*
237Video V4L2 devices, see
238.Xr video 4 .
239.It Ar vscsi*
240Virtual SCSI controller, see
241.Xr vscsi 8 .
242.El
243.Sh FILES
244.Bl -tag -width /dev -compact
245.It Pa /dev
246The special file directory.
247.El
248.Sh SEE ALSO
249.Xr intro 4 ,
250.Xr config 8 ,
251.Xr mknod 8
252