1.\" $OpenBSD: MAKEDEV.8,v 1.16 2009/04/05 17:52:21 jmc Exp $ 2.\" 3.\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4.\" generated from: 5.\" 6.\" OpenBSD: etc.landisk/MAKEDEV.md,v 1.14 2009/02/06 21:17:14 grange Exp 7.\" OpenBSD: MAKEDEV.common,v 1.42 2009/04/05 17:49:14 jmc 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 5 2009 $ 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 wscons 136Minimal wscons devices, see 137.Xr wscons 4 . 138.It Ar ttyC-J* 139wscons display devices, see 140.Xr wsdisplay 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 uall 155All USB devices, see 156.Xr usb 4 . 157.It Ar ttyU* 158USB serial ports, see 159.Xr ucom 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 hotplug 189devices hot plugging, see 190.Xr hotplug 4 . 191.It Ar bpf* 192Berkeley Packet Filter, see 193.Xr bpf 4 . 194.It Ar crypto 195Hardware crypto access driver, see 196.Xr crypto 4 . 197.It Ar fd 198fd/* nodes, see 199.Xr fd 4 . 200.It Ar lkm 201Loadable kernel modules interface, see 202.Xr lkm 4 . 203.It Ar pci* 204PCI bus devices, see 205.Xr pci 4 . 206.It Ar pf* 207Packet Filter, see 208.Xr pf 4 . 209.It Ar radio* 210FM tuner devices, see 211.Xr radio 4 . 212.It Ar *random 213In-kernel random data source, see 214.Xr random 4 . 215.It Ar tun* 216Network tunnel driver, see 217.Xr tun 4 . 218.It Ar uk* 219Unknown SCSI devices, see 220.Xr uk 4 . 221.It Ar ss* 222SCSI scanners, see 223.Xr ss 4 . 224.It Ar systrace* 225System call tracing device, see 226.Xr systrace 4 . 227.It Ar video* 228Video V4L2 devices, see 229.Xr video 4 . 230.It Ar xfs* 231XFS filesystem node, see 232.Xr mount_xfs 8 . 233.El 234.Sh FILES 235.Bl -tag -width /dev -compact 236.It Pa /dev 237The special file directory. 238.El 239.Sh SEE ALSO 240.Xr intro 4 , 241.Xr config 8 , 242.Xr mknod 8 243