1.\" $OpenBSD: MAKEDEV.8,v 1.26 2011/06/26 23:47:07 deraadt Exp $ 2.\" 3.\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4.\" generated from: 5.\" 6.\" OpenBSD: etc.landisk/MAKEDEV.md,v 1.23 2010/09/30 15:27:54 claudio Exp 7.\" OpenBSD: MAKEDEV.common,v 1.55 2011/06/26 23:28:23 tedu 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: June 26 2011 $ 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 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 ch* 84SCSI media changers, see 85.Xr ch 4 . 86.It Ar raid* 87RAIDframe disk devices, see 88.Xr raid 4 . 89.It Ar rd* 90.Dq rd 91pseudo-disks, see 92.Xr rd 4 . 93.It Ar sd* 94SCSI disks, including flopticals, see 95.Xr sd 4 . 96.It Ar vnd* 97.Dq file 98pseudo-disk devices, see 99.Xr vnd 4 . 100.It Ar wd* 101.Dq winchester 102disk drives (ST506, IDE, ESDI, RLL, ...), see 103.Xr wd 4 . 104.El 105.Pp 106.Sy Tapes 107.Bl -tag -width tenletters -compact 108.It Ar st* 109SCSI tape drives, see 110.Xr st 4 . 111.El 112.Pp 113.Sy Terminal ports 114.Bl -tag -width tenletters -compact 115.It Ar ttya 116on-board serial port, see 117.Xr scif 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 wsmouse* 145wscons mice, see 146.Xr wsmouse 4 . 147.It Ar wsmux 148wscons keyboard/mouse mux devices, see 149.Xr wsmux 4 . 150.El 151.Pp 152.Sy USB devices 153.Bl -tag -width tenletters -compact 154.It Ar ttyU* 155USB serial ports, see 156.Xr ucom 4 . 157.It Ar uall 158All USB devices, see 159.Xr usb 4 . 160.It Ar ugen* 161Generic USB devices, see 162.Xr ugen 4 . 163.It Ar uhid* 164Generic HID devices, see 165.Xr uhid 4 . 166.It Ar ulpt* 167Printer devices, see 168.Xr ulpt 4 . 169.It Ar urio* 170Diamond Multimedia Rio 500, see 171.Xr urio 4 . 172.It Ar usb* 173Bus control devices used by usbd for attach/detach, see 174.Xr usb 4 . 175.It Ar uscanner* 176Scanners, see 177.Xr uscanner 4 . 178.El 179.Pp 180.Sy Special purpose devices 181.Bl -tag -width tenletters -compact 182.It Ar audio* 183Audio devices, see 184.Xr audio 4 . 185.It Ar bio 186ioctl tunnel pseudo-device, see 187.Xr bio 4 . 188.It Ar bpf* 189Berkeley Packet Filter, see 190.Xr bpf 4 . 191.It Ar bthub* 192Bluetooth Hubs, see 193.Xr bthub 4 . 194.It Ar crypto 195Hardware crypto access driver, see 196.Xr crypto 4 . 197.It Ar diskmap 198Disk mapper, see 199.Xr diskmap 4 . 200.It Ar fd 201fd/* nodes, see 202.Xr fd 4 . 203.It Ar hotplug 204devices hot plugging, see 205.Xr hotplug 4 . 206.It Ar lkm 207Loadable kernel modules interface, see 208.Xr lkm 4 . 209.It Ar music* 210MIDI sequencer, see 211.Xr music 4 . 212.It Ar nnpfs* 213NNPFS filesystem node, see 214.Xr mount_nnpfs 8 . 215.It Ar pci* 216PCI bus devices, see 217.Xr pci 4 . 218.It Ar pf* 219Packet Filter, see 220.Xr pf 4 . 221.It Ar pppx* 222PPP Multiplexer, see 223.Xr pppx 4 . 224.It Ar radio* 225FM tuner devices, see 226.Xr radio 4 . 227.It Ar *random 228In-kernel random data source, see 229.Xr random 4 . 230.It Ar rmidi* 231Raw MIDI devices, see 232.Xr midi 4 . 233.It Ar systrace* 234System call tracing device, see 235.Xr systrace 4 . 236.It Ar tun* 237Network tunnel driver, see 238.Xr tun 4 . 239.It Ar uk* 240Unknown SCSI devices, see 241.Xr uk 4 . 242.It Ar video* 243Video V4L2 devices, see 244.Xr video 4 . 245.It Ar vscsi* 246Virtual SCSI controller, see 247.Xr vscsi 8 . 248.El 249.Sh FILES 250.Bl -tag -width /dev -compact 251.It Pa /dev 252The special file directory. 253.El 254.Sh SEE ALSO 255.Xr intro 4 , 256.Xr config 8 , 257.Xr mknod 8 258