xref: /openbsd/share/man/man8/man8.loongson/MAKEDEV.8 (revision 91f110e0)
1.\" $OpenBSD: MAKEDEV.8,v 1.22 2013/09/05 06:36:58 jmc Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.loongson/MAKEDEV.md,v 1.15 2013/08/21 15:12:48 ajacoutot Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.69 2013/08/20 14:27:24 ajacoutot 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: September 5 2013 $
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.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 urio*
168Diamond Multimedia Rio 500, see
169.Xr urio 4 .
170.It Ar usb*
171Bus control devices used by usbd for attach/detach, see
172.Xr usb 4 .
173.El
174.Pp
175.Sy Special purpose devices
176.Bl -tag -width tenletters -compact
177.It Ar apm
178Power management device, see
179.Xr apm 4 .
180.It Ar audio*
181Audio devices, see
182.Xr audio 4 .
183.It Ar bio
184ioctl tunnel pseudo-device, see
185.Xr bio 4 .
186.It Ar bpf*
187Berkeley Packet Filter, see
188.Xr bpf 4 .
189.It Ar bthub*
190Bluetooth Hubs.
191.It Ar crypto
192Hardware crypto access driver, see
193.Xr crypto 4 .
194.It Ar diskmap
195Disk mapper, see
196.Xr diskmap 4 .
197.It Ar fd
198fd/* nodes, see
199.Xr fd 4 .
200.It Ar fuse
201Userland Filesystem, see
202.Xr fuse 4 .
203.It Ar hotplug
204devices hot plugging, see
205.Xr hotplug 4 .
206.It Ar pci*
207PCI bus devices, see
208.Xr pci 4 .
209.It Ar pf*
210Packet Filter, see
211.Xr pf 4 .
212.It Ar pppx*
213PPP Multiplexer, see
214.Xr pppx 4 .
215.It Ar *random
216In-kernel random data source, see
217.Xr random 4 .
218.It Ar systrace*
219System call tracing device, see
220.Xr systrace 4 .
221.It Ar tun*
222Network tunnel driver, see
223.Xr tun 4 .
224.It Ar uk*
225Unknown SCSI devices, see
226.Xr uk 4 .
227.It Ar video*
228Video V4L2 devices, see
229.Xr video 4 .
230.It Ar vscsi*
231Virtual SCSI controller, see
232.Xr vscsi 4 .
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