xref: /openbsd-src/share/man/man8/man8.loongson/MAKEDEV.8 (revision 27ea7898a681bf9b86abef5dfe8771757cfc88b9)
1.\" $OpenBSD: MAKEDEV.8,v 1.44 2022/11/10 11:02:27 krw Exp $
2.\"
3.\" THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
4.\" generated from:
5.\"
6.\"	OpenBSD: etc.loongson/MAKEDEV.md,v 1.38 2022/11/09 19:35:23 krw Exp
7.\"	OpenBSD: MAKEDEV.common,v 1.118 2022/11/10 09:50:00 krw Exp
8.\"	OpenBSD: MAKEDEV.man,v 1.9 2017/06/06 08:11:23 tb 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: November 10 2022 $
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.
48Files are created in the current working directory.
49.Pp
50Where a device name is followed by a star
51.Sq * ,
52the star must be replaced by a unit number.
53If units are expected for a device but not provided,
54.Nm
55will supply the standard numbers in most cases.
56.Pp
57The loongson supports the following devices:
58.Pp
59.Sy Special device names
60.Bl -tag -width tenletters -compact
61.It Ar all
62Creates special files for all devices on loongson.
63.It Ar ramdisk
64Ramdisk kernel devices.
65.It Ar std
66Creates the
67.Sq standard
68devices (console, klog, kmem, ksyms, mem, null,
69stderr, stdin, stdout, tty, zero)
70which are absolutely necessary for the system to function properly.
71.It Ar local
72Creates configuration-specific devices, by invoking the shell file
73.Pa MAKEDEV.local .
74.El
75.Pp
76.Sy Disks
77.Bl -tag -width tenletters -compact
78.It Ar cd*
79ATAPI and SCSI CD-ROM drives, see
80.Xr cd 4 .
81.It Ar rd*
82.Dq rd
83pseudo-disks, see
84.Xr rd 4 .
85.It Ar sd*
86SCSI disks, including flopticals, see
87.Xr sd 4 .
88.It Ar vnd*
89.Dq file
90pseudo-disk devices, see
91.Xr vnd 4 .
92.It Ar wd*
93.Dq winchester
94disk drives (ST506, IDE, ESDI, RLL, ...), see
95.Xr wd 4 .
96.El
97.Pp
98.Sy Tapes
99.Bl -tag -width tenletters -compact
100.It Ar ch*
101SCSI media changers, see
102.Xr ch 4 .
103.It Ar st*
104SCSI tape drives, see
105.Xr st 4 .
106.El
107.Pp
108.Sy Terminal ports
109.Bl -tag -width tenletters -compact
110.It Ar tty[0-7][0-9a-f]
111NS16x50 serial ports, see
112.Xr com 4 .
113.El
114.Pp
115.Sy Pseudo terminals
116.Bl -tag -width tenletters -compact
117.It Ar ptm
118pty master device, see
119.Xr ptm 4 .
120.It Ar pty*
121Set of 62 master pseudo terminals, see
122.Xr pty 4 .
123.It Ar tty*
124Set of 62 slave pseudo terminals, see
125.Xr tty 4 .
126.El
127.Pp
128.Sy Console ports
129.Bl -tag -width tenletters -compact
130.It Ar ttyC-J*
131wscons display devices, see
132.Xr wsdisplay 4 .
133.It Ar wscons
134Minimal wscons devices, see
135.Xr wscons 4 .
136.It Ar wskbd*
137wscons keyboards, see
138.Xr wskbd 4 .
139.It Ar wsmux
140wscons keyboard/mouse mux devices, see
141.Xr wsmux 4 .
142.El
143.Pp
144.Sy Pointing devices
145.Bl -tag -width tenletters -compact
146.It Ar wsmouse*
147wscons mice, see
148.Xr wsmouse 4 .
149.El
150.Pp
151.Sy USB devices
152.Bl -tag -width tenletters -compact
153.It Ar ttyU*
154USB serial ports, see
155.Xr ucom 4 .
156.It Ar uall
157All USB devices, see
158.Xr usb 4 .
159.It Ar ugen*
160Generic USB devices, see
161.Xr ugen 4 .
162.It Ar uhid*
163Generic HID devices, see
164.Xr uhid 4 .
165.It Ar fido
166fido/* nodes, see
167.Xr fido 4 .
168.It Ar ujoy
169ujoy/* nodes, see
170.Xr ujoy 4 .
171.It Ar ulpt*
172Printer devices, see
173.Xr ulpt 4 .
174.It Ar usb*
175Bus control devices used by usbd for attach/detach, see
176.Xr usb 4 .
177.El
178.Pp
179.Sy Special purpose devices
180.Bl -tag -width tenletters -compact
181.It Ar apm
182Power management device, see
183.Xr apm 4 .
184.It Ar audio*
185Audio devices, see
186.Xr audio 4 .
187.It Ar bio
188ioctl tunnel pseudo-device, see
189.Xr bio 4 .
190.It Ar bpf
191Berkeley Packet Filter, see
192.Xr bpf 4 .
193.It Ar dt
194Dynamic Tracer, see
195.Xr dt 4 .
196.It Ar diskmap
197Disk mapper, see
198.Xr diskmap 4 .
199.It Ar dri
200Direct Rendering Infrastructure, see
201.Xr drm 4 .
202.It Ar fd
203fd/* nodes, see
204.Xr fd 4 .
205.It Ar fuse
206Userland Filesystem, see
207.Xr fuse 4 .
208.It Ar hotplug
209devices hot plugging, see
210.Xr hotplug 4 .
211.It Ar pci*
212PCI bus devices, see
213.Xr pci 4 .
214.It Ar pf
215Packet Filter, see
216.Xr pf 4 .
217.It Ar pppx*
218PPP Multiplexer, see
219.Xr pppx 4 .
220.It Ar pppac*
221PPP Access Concentrator, see
222.Xr pppac 4 .
223.It Ar *random
224In-kernel random data source, see
225.Xr random 4 .
226.It Ar tun*
227Network tunnel driver, see
228.Xr tun 4 .
229.It Ar tap*
230Ethernet tunnel driver, see
231.Xr tap 4 .
232.It Ar uk*
233Unknown SCSI devices, see
234.Xr uk 4 .
235.It Ar video*
236Video V4L2 devices, see
237.Xr video 4 .
238.It Ar vscsi*
239Virtual SCSI controller, see
240.Xr vscsi 4 .
241.It Ar kstat
242Kernel Statistics, see
243.Xr kstat 4 .
244.El
245.Sh FILES
246.Bl -tag -width /dev -compact
247.It Pa /dev
248The special file directory.
249.El
250.Sh SEE ALSO
251.Xr intro 4 ,
252.Xr config 8 ,
253.Xr mknod 8
254