1.\" $OpenBSD: MAKEDEV.8,v 1.106 2016/09/04 15:39:53 naddy Exp $ 2.\" 3.\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4.\" generated from: 5.\" 6.\" OpenBSD: etc.i386/MAKEDEV.md,v 1.82 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 i386 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 i386 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 i386. 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 fd* 81Floppy disk drives (3 1/2", 5 1/4"), see 82.Xr fd 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 ch* 103SCSI media changers, see 104.Xr ch 4 . 105.It Ar st* 106SCSI tape drives, see 107.Xr st 4 . 108.El 109.Pp 110.Sy Terminal ports 111.Bl -tag -width tenletters -compact 112.It Ar tty[0-7][0-9a-f] 113NS16x50 serial ports, see 114.Xr com 4 . 115.It Ar ttyc* 116Cyclades serial ports, see 117.Xr cy 4 . 118.El 119.Pp 120.Sy Pseudo terminals 121.Bl -tag -width tenletters -compact 122.It Ar ptm 123pty master device, see 124.Xr ptm 4 . 125.It Ar pty* 126Set of 62 master pseudo terminals, see 127.Xr pty 4 . 128.It Ar tty* 129Set of 62 slave pseudo terminals, see 130.Xr tty 4 . 131.El 132.Pp 133.Sy Console ports 134.Bl -tag -width tenletters -compact 135.It Ar ttyC-J* 136wscons display devices, see 137.Xr wsdisplay 4 . 138.It Ar wscons 139Minimal wscons devices, see 140.Xr wscons 4 . 141.It Ar wskbd* 142wscons keyboards, see 143.Xr wskbd 4 . 144.It Ar wsmux 145wscons keyboard/mouse mux devices, see 146.Xr wsmux 4 . 147.El 148.Pp 149.Sy Pointing devices 150.Bl -tag -width tenletters -compact 151.It Ar wsmouse* 152wscons mice, see 153.Xr wsmouse 4 . 154.El 155.Pp 156.Sy Printers 157.Bl -tag -width tenletters -compact 158.It Ar lpa* 159Polled printer port, see 160.Xr lpt 4 . 161.It Ar lpt* 162IEEE 1284 centronics printer, see 163.Xr lpt 4 . 164.El 165.Pp 166.Sy USB devices 167.Bl -tag -width tenletters -compact 168.It Ar ttyU* 169USB serial ports, see 170.Xr ucom 4 . 171.It Ar uall 172All USB devices, see 173.Xr usb 4 . 174.It Ar ugen* 175Generic USB devices, see 176.Xr ugen 4 . 177.It Ar uhid* 178Generic HID devices, see 179.Xr uhid 4 . 180.It Ar ulpt* 181Printer devices, see 182.Xr ulpt 4 . 183.It Ar usb* 184Bus control devices used by usbd for attach/detach, see 185.Xr usb 4 . 186.El 187.Pp 188.Sy Special purpose devices 189.Bl -tag -width tenletters -compact 190.It Ar amdmsr 191AMD MSR access device, see 192.Xr amdmsr 4 . 193.It Ar apm 194Power management device, see 195.Xr apm 4 . 196.It Ar audio* 197Audio devices, see 198.Xr audio 4 . 199.It Ar bio 200ioctl tunnel pseudo-device, see 201.Xr bio 4 . 202.It Ar bktr* 203Video frame grabbers, see 204.Xr bktr 4 . 205.It Ar bpf 206Berkeley Packet Filter, see 207.Xr bpf 4 . 208.It Ar diskmap 209Disk mapper, see 210.Xr diskmap 4 . 211.It Ar drm* 212Direct Rendering Manager, see 213.Xr drm 4 . 214.It Ar fd 215fd/* nodes, see 216.Xr fd 4 . 217.It Ar fuse 218Userland Filesystem, see 219.Xr fuse 4 . 220.It Ar gpio* 221General Purpose Input/Output, see 222.Xr gpio 4 . 223.It Ar gpr* 224GPR400 smartcard reader, see 225.Xr gpr 4 . 226.It Ar hotplug 227devices hot plugging, see 228.Xr hotplug 4 . 229.It Ar ipmi* 230IPMI BMC access, see 231.Xr ipmi 4 . 232.It Ar joy* 233Joystick driver, see 234.Xr joy 4 . 235.It Ar nvram 236NVRAM access, see 237.Xr nvram 4 . 238.It Ar pci* 239PCI bus devices, see 240.Xr pci 4 . 241.It Ar pctr* 242PC Performance Tuning Register access device, see 243.Xr pctr 4 . 244.It Ar pf* 245Packet Filter, see 246.Xr pf 4 . 247.It Ar pppx* 248PPP Multiplexer, see 249.Xr pppx 4 . 250.It Ar radio* 251FM tuner devices, see 252.Xr radio 4 . 253.It Ar *random 254In-kernel random data source, see 255.Xr random 4 . 256.It Ar rmidi* 257Raw MIDI devices, see 258.Xr midi 4 . 259.It Ar speaker 260PC speaker, see 261.Xr spkr 4 . 262.It Ar tun* 263Network tunnel driver, see 264.Xr tun 4 . 265.It Ar tap* 266Ethernet tunnel driver, see 267.Xr tap 4 . 268.It Ar tuner* 269Tuner devices, see 270.Xr bktr 4 . 271.It Ar uk* 272Unknown SCSI devices, see 273.Xr uk 4 . 274.It Ar video* 275Video V4L2 devices, see 276.Xr video 4 . 277.It Ar vmm 278Virtual Machine Monitor, see 279.Xr vmm 4 . 280.It Ar vscsi* 281Virtual SCSI controller, see 282.Xr vscsi 4 . 283.It Ar pvbus* 284paravirtual device tree root, see 285.Xr pvbus 4 . 286.It Ar switch* 287Switch driver, see 288.Xr switch 4 . 289.El 290.Sh FILES 291.Bl -tag -width /dev -compact 292.It Pa /dev 293The special file directory. 294.El 295.Sh SEE ALSO 296.Xr intro 4 , 297.Xr config 8 , 298.Xr mknod 8 299