1.\" $OpenBSD: MAKEDEV.8,v 1.77 2010/10/11 14:34:36 claudio Exp $ 2.\" 3.\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4.\" generated from: 5.\" 6.\" OpenBSD: etc.i386/MAKEDEV.md,v 1.58 2010/09/30 15:27:54 claudio Exp 7.\" OpenBSD: MAKEDEV.common,v 1.53 2010/09/30 15:27:54 claudio 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: October 11 2010 $ 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.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 ccd* 78Concatenated disk devices, see 79.Xr ccd 4 . 80.It Ar cd* 81ATAPI and SCSI CD-ROM drives, see 82.Xr cd 4 . 83.It Ar fd* 84Floppy disk drives (3 1/2", 5 1/4"), see 85.Xr fd 4 . 86.It Ar mcd* 87Mitsumi CD-ROM drives, see 88.Xr mcd 4 . 89.It Ar raid* 90RAIDframe disk devices, see 91.Xr raid 4 . 92.It Ar rd* 93.Dq rd 94pseudo-disks, see 95.Xr rd 4 . 96.It Ar sd* 97SCSI disks, including flopticals, see 98.Xr sd 4 . 99.It Ar vnd* 100.Dq file 101pseudo-disk devices, see 102.Xr vnd 4 . 103.It Ar wd* 104.Dq winchester 105disk drives (ST506, IDE, ESDI, RLL, ...), see 106.Xr wd 4 . 107.El 108.Pp 109.Sy Tapes 110.Bl -tag -width tenletters -compact 111.It Ar ch* 112SCSI media changers, see 113.Xr ch 4 . 114.It Ar st* 115SCSI tape drives, see 116.Xr st 4 . 117.El 118.Pp 119.Sy Terminal ports 120.Bl -tag -width tenletters -compact 121.It Ar tty[0-7][0-9a-f] 122NS16x50 serial ports, see 123.Xr com 4 . 124.It Ar ttyc* 125Cyclades serial ports, see 126.Xr cy 4 . 127.El 128.Pp 129.Sy Pseudo terminals 130.Bl -tag -width tenletters -compact 131.It Ar ptm 132pty master device, see 133.Xr ptm 4 . 134.It Ar pty* 135Set of 62 master pseudo terminals, see 136.Xr pty 4 . 137.It Ar tty* 138Set of 62 slave pseudo terminals, see 139.Xr tty 4 . 140.El 141.Pp 142.Sy Console ports 143.Bl -tag -width tenletters -compact 144.It Ar ttyC-J* 145wscons display devices, see 146.Xr wsdisplay 4 . 147.It Ar wscons 148Minimal wscons devices, see 149.Xr wscons 4 . 150.It Ar wskbd* 151wscons keyboards, see 152.Xr wskbd 4 . 153.It Ar wsmux 154wscons keyboard/mouse mux devices, see 155.Xr wsmux 4 . 156.El 157.Pp 158.Sy Pointing devices 159.Bl -tag -width tenletters -compact 160.It Ar wsmouse* 161wscons mice, see 162.Xr wsmouse 4 . 163.El 164.Pp 165.Sy Printers 166.Bl -tag -width tenletters -compact 167.It Ar lpa* 168Polled printer port, see 169.Xr lpt 4 . 170.It Ar lpt* 171IEEE 1284 centronics printer, see 172.Xr lpt 4 . 173.El 174.Pp 175.Sy USB devices 176.Bl -tag -width tenletters -compact 177.It Ar ttyU* 178USB serial ports, see 179.Xr ucom 4 . 180.It Ar uall 181All USB devices, see 182.Xr usb 4 . 183.It Ar ugen* 184Generic USB devices, see 185.Xr ugen 4 . 186.It Ar uhid* 187Generic HID devices, see 188.Xr uhid 4 . 189.It Ar ulpt* 190Printer devices, see 191.Xr ulpt 4 . 192.It Ar urio* 193Diamond Multimedia Rio 500, see 194.Xr urio 4 . 195.It Ar usb* 196Bus control devices used by usbd for attach/detach, see 197.Xr usb 4 . 198.It Ar uscanner* 199Scanners, see 200.Xr uscanner 4 . 201.El 202.Pp 203.Sy Special purpose devices 204.Bl -tag -width tenletters -compact 205.It Ar agp* 206AGP bridge, see 207.Xr agp 4 . 208.It Ar amdmsr 209AMD MSR access device, see 210.Xr amdmsr 4 . 211.It Ar apm 212Power management device, see 213.Xr apm 4 . 214.It Ar audio* 215Audio devices, see 216.Xr audio 4 . 217.It Ar bio 218ioctl tunnel pseudo-device, see 219.Xr bio 4 . 220.It Ar bktr* 221Video frame grabbers, see 222.Xr bktr 4 . 223.It Ar bpf* 224Berkeley Packet Filter, see 225.Xr bpf 4 . 226.It Ar bthub* 227Bluetooth Hubs, see 228.Xr bthub 4 . 229.It Ar crypto 230Hardware crypto access driver, see 231.Xr crypto 4 . 232.It Ar diskmap 233Disk mapper, see 234.Xr diskmap 4 . 235.It Ar drm* 236Direct Rendering Manager, see 237.Xr drm 4 . 238.It Ar fd 239fd/* nodes, see 240.Xr fd 4 . 241.It Ar gpio* 242General Purpose Input/Output, see 243.Xr gpio 4 . 244.It Ar gpr* 245GPR400 smartcard reader, see 246.Xr gpr 4 . 247.It Ar hotplug 248devices hot plugging, see 249.Xr hotplug 4 . 250.It Ar iop* 251I2O controller devices, see 252.Xr iop 4 . 253.It Ar joy* 254Joystick driver, see 255.Xr joy 4 . 256.It Ar lkm 257Loadable kernel modules interface, see 258.Xr lkm 4 . 259.It Ar music* 260MIDI sequencer, see 261.Xr music 4 . 262.It Ar nnpfs* 263NNPFS filesystem node, see 264.Xr mount_nnpfs 8 . 265.It Ar nvram 266NVRAM access, see 267.Xr nvram 4 . 268.It Ar pci* 269PCI bus devices, see 270.Xr pci 4 . 271.It Ar pctr* 272PC Performance Tuning Register access device, see 273.Xr pctr 4 . 274.It Ar pf* 275Packet Filter, see 276.Xr pf 4 . 277.It Ar pppx* 278PPP Multiplexer, see 279.Xr pppx 4 . 280.It Ar radio* 281FM tuner devices, see 282.Xr radio 4 . 283.It Ar *random 284In-kernel random data source, see 285.Xr random 4 . 286.It Ar rmidi* 287Raw MIDI devices, see 288.Xr midi 4 . 289.It Ar speaker 290PC speaker, see 291.Xr spkr 4 . 292.It Ar systrace* 293System call tracing device, see 294.Xr systrace 4 . 295.It Ar tun* 296Network tunnel driver, see 297.Xr tun 4 . 298.It Ar tuner* 299Tuner devices, see 300.Xr bktr 4 . 301.It Ar uk* 302Unknown SCSI devices, see 303.Xr uk 4 . 304.It Ar video* 305Video V4L2 devices, see 306.Xr video 4 . 307.It Ar vscsi* 308Virtual SCSI controller, see 309.Xr vscsi 8 . 310.El 311.Sh FILES 312.Bl -tag -width /dev -compact 313.It Pa /dev 314The special file directory. 315.El 316.Sh SEE ALSO 317.Xr intro 4 , 318.Xr config 8 , 319.Xr mknod 8 320