1.\" $OpenBSD: MAKEDEV.8,v 1.31 2016/09/04 15:39:53 naddy Exp $ 2.\" 3.\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4.\" generated from: 5.\" 6.\" OpenBSD: etc.loongson/MAKEDEV.md,v 1.26 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 loongson 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 loongson 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 loongson. 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 rd* 81.Dq rd 82pseudo-disks, see 83.Xr rd 4 . 84.It Ar sd* 85SCSI disks, including flopticals, see 86.Xr sd 4 . 87.It Ar vnd* 88.Dq file 89pseudo-disk devices, see 90.Xr vnd 4 . 91.It Ar wd* 92.Dq winchester 93disk drives (ST506, IDE, ESDI, RLL, ...), see 94.Xr wd 4 . 95.El 96.Pp 97.Sy Tapes 98.Bl -tag -width tenletters -compact 99.It Ar ch* 100SCSI media changers, see 101.Xr ch 4 . 102.It Ar st* 103SCSI tape drives, see 104.Xr st 4 . 105.El 106.Pp 107.Sy Terminal ports 108.Bl -tag -width tenletters -compact 109.It Ar tty[0-7][0-9a-f] 110NS16x50 serial ports, see 111.Xr com 4 . 112.El 113.Pp 114.Sy Pseudo terminals 115.Bl -tag -width tenletters -compact 116.It Ar ptm 117pty master device, see 118.Xr ptm 4 . 119.It Ar pty* 120Set of 62 master pseudo terminals, see 121.Xr pty 4 . 122.It Ar tty* 123Set of 62 slave pseudo terminals, see 124.Xr tty 4 . 125.El 126.Pp 127.Sy Console ports 128.Bl -tag -width tenletters -compact 129.It Ar ttyC-J* 130wscons display devices, see 131.Xr wsdisplay 4 . 132.It Ar wscons 133Minimal wscons devices, see 134.Xr wscons 4 . 135.It Ar wskbd* 136wscons keyboards, see 137.Xr wskbd 4 . 138.It Ar wsmux 139wscons keyboard/mouse mux devices, see 140.Xr wsmux 4 . 141.El 142.Pp 143.Sy Pointing devices 144.Bl -tag -width tenletters -compact 145.It Ar wsmouse* 146wscons mice, see 147.Xr wsmouse 4 . 148.El 149.Pp 150.Sy USB devices 151.Bl -tag -width tenletters -compact 152.It Ar ttyU* 153USB serial ports, see 154.Xr ucom 4 . 155.It Ar uall 156All USB devices, see 157.Xr usb 4 . 158.It Ar ugen* 159Generic USB devices, see 160.Xr ugen 4 . 161.It Ar uhid* 162Generic HID devices, see 163.Xr uhid 4 . 164.It Ar ulpt* 165Printer devices, see 166.Xr ulpt 4 . 167.It Ar usb* 168Bus control devices used by usbd for attach/detach, see 169.Xr usb 4 . 170.El 171.Pp 172.Sy Special purpose devices 173.Bl -tag -width tenletters -compact 174.It Ar apm 175Power management device, see 176.Xr apm 4 . 177.It Ar audio* 178Audio devices, see 179.Xr audio 4 . 180.It Ar bio 181ioctl tunnel pseudo-device, see 182.Xr bio 4 . 183.It Ar bpf 184Berkeley Packet Filter, see 185.Xr bpf 4 . 186.It Ar diskmap 187Disk mapper, see 188.Xr diskmap 4 . 189.It Ar fd 190fd/* nodes, see 191.Xr fd 4 . 192.It Ar fuse 193Userland Filesystem, see 194.Xr fuse 4 . 195.It Ar hotplug 196devices hot plugging, see 197.Xr hotplug 4 . 198.It Ar pci* 199PCI bus devices, see 200.Xr pci 4 . 201.It Ar pf* 202Packet Filter, see 203.Xr pf 4 . 204.It Ar pppx* 205PPP Multiplexer, see 206.Xr pppx 4 . 207.It Ar *random 208In-kernel random data source, see 209.Xr random 4 . 210.It Ar tun* 211Network tunnel driver, see 212.Xr tun 4 . 213.It Ar tap* 214Ethernet tunnel driver, see 215.Xr tap 4 . 216.It Ar uk* 217Unknown SCSI devices, see 218.Xr uk 4 . 219.It Ar video* 220Video V4L2 devices, see 221.Xr video 4 . 222.It Ar vscsi* 223Virtual SCSI controller, see 224.Xr vscsi 4 . 225.It Ar switch* 226Switch driver, see 227.Xr switch 4 . 228.El 229.Sh FILES 230.Bl -tag -width /dev -compact 231.It Pa /dev 232The special file directory. 233.El 234.Sh SEE ALSO 235.Xr intro 4 , 236.Xr config 8 , 237.Xr mknod 8 238