1.\" $OpenBSD: MAKEDEV.8,v 1.81 2016/09/04 15:39:53 naddy Exp $ 2.\" 3.\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4.\" generated from: 5.\" 6.\" OpenBSD: etc.amd64/MAKEDEV.md,v 1.68 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 amd64 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 amd64 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 amd64. 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.It Ar ttyVI* 119Virtio serial ports, see 120.Xr viocon 4 . 121.El 122.Pp 123.Sy Pseudo terminals 124.Bl -tag -width tenletters -compact 125.It Ar ptm 126pty master device, see 127.Xr ptm 4 . 128.It Ar pty* 129Set of 62 master pseudo terminals, see 130.Xr pty 4 . 131.It Ar tty* 132Set of 62 slave pseudo terminals, see 133.Xr tty 4 . 134.El 135.Pp 136.Sy Console ports 137.Bl -tag -width tenletters -compact 138.It Ar ttyC-J* 139wscons display devices, see 140.Xr wsdisplay 4 . 141.It Ar wscons 142Minimal wscons devices, see 143.Xr wscons 4 . 144.It Ar wskbd* 145wscons keyboards, see 146.Xr wskbd 4 . 147.It Ar wsmux 148wscons keyboard/mouse mux devices, see 149.Xr wsmux 4 . 150.El 151.Pp 152.Sy Pointing devices 153.Bl -tag -width tenletters -compact 154.It Ar wsmouse* 155wscons mice, see 156.Xr wsmouse 4 . 157.El 158.Pp 159.Sy Printers 160.Bl -tag -width tenletters -compact 161.It Ar lpa* 162Polled printer port, see 163.Xr lpt 4 . 164.It Ar lpt* 165IEEE 1284 centronics printer, see 166.Xr lpt 4 . 167.El 168.Pp 169.Sy USB devices 170.Bl -tag -width tenletters -compact 171.It Ar ttyU* 172USB serial ports, see 173.Xr ucom 4 . 174.It Ar uall 175All USB devices, see 176.Xr usb 4 . 177.It Ar ugen* 178Generic USB devices, see 179.Xr ugen 4 . 180.It Ar uhid* 181Generic HID devices, see 182.Xr uhid 4 . 183.It Ar ulpt* 184Printer devices, see 185.Xr ulpt 4 . 186.It Ar usb* 187Bus control devices used by usbd for attach/detach, see 188.Xr usb 4 . 189.El 190.Pp 191.Sy Special purpose devices 192.Bl -tag -width tenletters -compact 193.It Ar apm 194Power Management Interface, 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 nvram 233NVRAM access, see 234.Xr nvram 4 . 235.It Ar pci* 236PCI bus devices, see 237.Xr pci 4 . 238.It Ar pctr* 239PC Performance Tuning Register access device, see 240.Xr pctr 4 . 241.It Ar pf* 242Packet Filter, see 243.Xr pf 4 . 244.It Ar pppx* 245PPP Multiplexer, see 246.Xr pppx 4 . 247.It Ar radio* 248FM tuner devices, see 249.Xr radio 4 . 250.It Ar *random 251In-kernel random data source, see 252.Xr random 4 . 253.It Ar rmidi* 254Raw MIDI devices, see 255.Xr midi 4 . 256.It Ar speaker 257PC speaker, see 258.Xr spkr 4 . 259.It Ar tun* 260Network tunnel driver, see 261.Xr tun 4 . 262.It Ar tap* 263Ethernet tunnel driver, see 264.Xr tap 4 . 265.It Ar tuner* 266Tuner devices, see 267.Xr bktr 4 . 268.It Ar uk* 269Unknown SCSI devices, see 270.Xr uk 4 . 271.It Ar video* 272Video V4L2 devices, see 273.Xr video 4 . 274.It Ar vmm 275Virtual Machine Monitor, see 276.Xr vmm 4 . 277.It Ar vscsi* 278Virtual SCSI controller, see 279.Xr vscsi 4 . 280.It Ar pvbus* 281paravirtual device tree root, see 282.Xr pvbus 4 . 283.It Ar switch* 284Switch driver, see 285.Xr switch 4 . 286.El 287.Sh FILES 288.Bl -tag -width /dev -compact 289.It Pa /dev 290The special file directory. 291.El 292.Sh SEE ALSO 293.Xr intro 4 , 294.Xr config 8 , 295.Xr mknod 8 296