OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [Documentation/] [devices.tex] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
\documentstyle{article}
2
%
3
% Adopt somewhat reasonable margins, so it doesn't take a million
4
% pages to print... :-)  If you're actually putting this in print, you
5
% may wish to change these.
6
%
7
\oddsidemargin=0in
8
\textwidth=6.5in
9
\topmargin=0in
10
\headheight=0.5in
11
\headsep=0.25in
12
\textheight=7.5in
13
\footskip=0.75in
14
\footheight=0.5in
15
%
16
\begin{document}
17
\newcommand{\file}{\tt}                 % Style to use for a filename
18
\newcommand{\hex}{\tt}                  % Style to use for a hex number
19
\newcommand{\ud}{(Under development)}   % Abbreviation
20
\newcommand{\1}{\({}^1\)}
21
\newcommand{\2}{\({}^2\)}
22
\newcommand{\3}{\({}^3\)}
23
\newcommand{\4}{\({}^4\)}
24
\newlength{\dig}
25
\settowidth{\dig}{0}                    % Get width of digits
26
\newcommand{\num}[2]{\makebox[#1\dig][r]{#2}}
27
\newcommand{\major}[4]{\num{3}{#1}#2 \> #3 \> #4 \\}
28
\newcommand{\minor}[3]{\> \> \num{3}{#1} \> {\file #2} \> #3 \\}
29
\newcommand{\minordots}{\> \> \> \dots \\}
30
\newenvironment{devicelist}%
31
 {\begin{tabbing}%
32
000--000 \= blockxxx \= 000 \= {\file /dev/crambamboli} \= foo \kill}%
33
 {\end{tabbing}}
34
\newcommand{\link}[4]{{\file #1} \> {\file #2} \> #3 \> #4 \\}
35
\newcommand{\vlink}[4]{{\file #1} \> {\em #2 \/} \> #3 \> #4 \\}
36
\newcommand{\node}[3]{{\file #1} \> #2 \> #3 \\}
37
\newenvironment{nodelist}%
38
 {\begin{tabbing}%
39
{\file /dev/crambamboli} \= {\file /proc/self/fd/99} \= symbolicxxx \=
40
foo \kill}%
41
 {\end{tabbing}}
42
%
43
\title{{\bf Linux Allocated Devices}}
44
\author{Maintained by H. Peter Anvin $<$hpa@zytor.com$>$}
45
\date{Last revised: July 9, 1996}
46
\maketitle
47
%
48
\noindent
49
This list is the successor to Rick Miller's Linux Device List, which
50
he stopped maintaining when he got busy with other things in 1993.  It
51
is a registry of allocated major device numbers, as well as the
52
recommended {\file /dev} directory nodes for these devices.
53
 
54
The latest version of this list is included with the Linux kernel
55
sources in \LaTeX\ and ASCII form.  In case of discrepancy, the
56
\LaTeX\ version is authoritative.
57
 
58
This document is included by reference into the Linux Filesystem
59
Standard (FSSTND).  The FSSTND is available via FTP from
60
tsx-11.mit.edu in the directory {\file
61
/pub/linux/docs/linux-standards/fsstnd}.
62
 
63
To have a major number allocated, or a minor number in situations
64
where that applies (e.g.\ busmice), please contact me with the
65
appropriate device information.  Also, if you have additional
66
information regarding any of the devices listed below, or if I have
67
made a mistake, I would greatly appreciate a note.  When sending me
68
mail, please include the word ``device'' in the subject so your mail
69
won't accidentally get buried!
70
 
71
Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga
72
platform only.  Allocations marked (68k/Atari) apply to Linux/68k on
73
the Atari platform only.
74
 
75
This document is in the public domain.  The author requests, however,
76
that semantically altered versions are not distributed without
77
permission of the author, assuming the author can be contacted without
78
an unreasonable effort.
79
 
80
In particular, please don't sent patches for this list to Linus, at
81
least not without contacting me first.
82
 
83
I do not have any information about these devices beyond what appears
84
on this list.  Any such information requests will be deleted without
85
reply.
86
 
87
\section{Major numbers}
88
 
89
\begin{devicelist}
90
\major{ 0}{}{     }{Unnamed devices (e.g. non-device mounts)}
91
\major{ 1}{}{char }{Memory devices}
92
\major{  }{}{block}{RAM disk}
93
\major{ 2}{}{char }{Pseudo-TTY masters}
94
\major{  }{}{block}{Floppy disks}
95
\major{ 3}{}{char }{Pseudo-TTY slaves}
96
\major{  }{}{block}{First MFM, RLL and IDE hard disk/CD-ROM interface}
97
\major{ 4}{}{char }{TTY devices}
98
\major{ 5}{}{char }{Alternate TTY devices}
99
\major{ 6}{}{char }{Parallel printer devices}
100
\major{ 7}{}{char }{Virtual console access devices}
101
\major{  }{}{block}{Loopback devices}
102
\major{ 8}{}{block}{SCSI disk devices}
103
\major{ 9}{}{char }{SCSI tape devices}
104
\major{  }{}{block}{Metadisk (RAID) devices}
105
\major{10}{}{char }{Non-serial mice, misc features}
106
\major{11}{}{char }{Raw keyboard device}
107
\major{  }{}{block}{SCSI CD-ROM devices}
108
\major{12}{}{char }{QIC-02 tape}
109
\major{  }{}{block}{MSCDEX CD-ROM callback support}
110
\major{13}{}{char }{PC speaker}
111
\major{  }{}{block}{8-bit MFM/RLL/IDE controller}
112
\major{14}{}{char }{Sound card}
113
\major{  }{}{block}{BIOS harddrive callback support}
114
\major{15}{}{char }{Joystick}
115
\major{  }{}{block}{Sony CDU-31A/CDU-33A CD-ROM}
116
\major{16}{}{char }{Non-SCSI scanners}
117
\major{  }{}{block}{GoldStar CD-ROM}
118
\major{17}{}{char }{Chase serial card}
119
\major{  }{}{block}{Optics Storage CD-ROM}
120
\major{18}{}{char }{Chase serial card -- alternate devices}
121
\major{  }{}{block}{Sanyo CD-ROM}
122
\major{19}{}{char }{Cyclades serial card}
123
\major{  }{}{block}{Double compressed disk}
124
\major{20}{}{char }{Cyclades serial card -- alternate devices}
125
\major{  }{}{block}{Hitachi CD-ROM}
126
\major{21}{}{char }{Generic SCSI access}
127
\major{22}{}{char }{Digiboard serial card}
128
\major{  }{}{block}{Second IDE hard disk/CD-ROM interface}
129
\major{23}{}{char }{Digiboard serial card -- alternate devices}
130
\major{  }{}{block}{Mitsumi proprietary CD-ROM}
131
\major{24}{}{char }{Stallion serial card}
132
\major{  }{}{block}{Sony CDU-535 CD-ROM}
133
\major{25}{}{char }{Stallion serial card -- alternate devices}
134
\major{  }{}{block}{First Matsushita (Panasonic/SoundBlaster) CD-ROM}
135
\major{26}{}{char }{Quanta WinVision frame grabber}
136
\major{  }{}{block}{Second Matsushita (Panasonic/SoundBlaster) CD-ROM}
137
\major{27}{}{char }{QIC-117 tape}
138
\major{  }{}{block}{Third Matsushita (Panasonic/SoundBlaster) CD-ROM}
139
\major{28}{}{char }{Stallion serial card -- card programming}
140
\major{  }{}{char }{Atari SLM ACSI laser printer (68k/Atari)}
141
\major{  }{}{block}{Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM}
142
\major{  }{}{block}{ACSI disk (68k/Atari)}
143
\major{29}{}{char }{Universal frame buffer}
144
\major{  }{}{block}{Aztech/Orchid/Okano/Wearnes CD-ROM}
145
\major{30}{}{char }{iBCS-2}
146
\major{  }{}{block}{Philips LMS-205 CD-ROM}
147
\major{31}{}{char }{MPU-401 MIDI}
148
\major{  }{}{block}{ROM/flash memory card}
149
\major{32}{}{char }{Specialix serial card}
150
\major{  }{}{block}{Philips LMS-206 CD-ROM}
151
\major{33}{}{char }{Specialix serial card -- alternate devices}
152
\major{  }{}{block}{Third IDE hard disk/CD-ROM interface}
153
\major{34}{}{char }{Z8530 HDLC driver}
154
\major{  }{}{block}{Fourth IDE hard disk/CD-ROM interface}
155
\major{35}{}{char }{tclmidi MIDI driver}
156
\major{  }{}{block}{Modular RAM disk}
157
\major{36}{}{char }{Netlink support}
158
\major{  }{}{block}{MCA ESDI hard disk}
159
\major{37}{}{char }{IDE tape}
160
\major{  }{}{block}{Zorro II ramdisk}
161
\major{38}{}{char }{Myricom PCI Myrinet board}
162
\major{  }{}{block}{Reserved for Linux/AP+}
163
\major{39}{}{char }{ML-16P experimental I/O board}
164
\major{  }{}{block}{Reserved for Linux/AP+}
165
\major{40}{}{char }{Matrox Meteor frame grabber}
166
\major{  }{}{block}{Syquest EZ135 parallel port removable drive}
167
\major{41}{}{char }{Yet Another Micro Monitor}
168
\major{  }{}{block}{MicroSolutions BackPack parallel port CD-ROM}
169
\major{42}{}{}{Demo/sample use}
170
\major{43}{}{char }{isdn4linux virtual modem}
171
\major{44}{}{char }{isdn4linux virtual modem -- alternate devices}
172
\major{45}{}{char }{isdn4linux ISDN BRI driver}
173
\major{46}{}{char }{Comtrol Rocketport serial card}
174
\major{47}{}{char }{Comtrol Rocketport serial card -- alternate devices}
175
\major{48}{}{char }{SDL RISCom serial card}
176
\major{49}{}{char }{SDL RISCom serial card -- alternate devices}
177
\major{50}{}{char }{Reserved for GLINT}
178
\major{51}{}{char }{Baycom radio modem}
179
\major{52}{}{char }{Spellcaster DataComm/BRI ISDN card}
180
\major{53}{}{char }{BDM interface for remote debugging MC683xx microcontrollers}
181
\major{54}{}{char }{Electrocardiognosis Holter serial card}
182
\major{55}{--59}{}{Unallocated}
183
\major{60}{--63}{}{Local/experimental use}
184
\major{64}{--119}{}{Unallocated}
185
\major{120}{--127}{}{Local/experimental use}
186
\major{128}{--239}{}{Unallocated}
187
\major{240}{--254}{}{Local/experimental use}
188
\major{255}{}{}{Reserved}
189
\end{devicelist}
190
 
191
\section{Minor numbers}
192
 
193
 
194
\begin{devicelist}
195
\major{0}{}{}{Unnamed devices (e.g. non-device mounts)}
196
        \minor{0}{}{reserved as null device number}
197
\end{devicelist}
198
 
199
\begin{devicelist}
200
\major{1}{}{char}{Memory devices}
201
        \minor{1}{/dev/mem}{Physical memory access}
202
        \minor{2}{/dev/kmem}{Kernel virtual memory access}
203
        \minor{3}{/dev/null}{Null device}
204
        \minor{4}{/dev/port}{I/O port access}
205
        \minor{5}{/dev/zero}{Null byte source}
206
        \minor{6}{/dev/core}{OBSOLETE -- should be a link to {\file /proc/kcore}}
207
        \minor{7}{/dev/full}{Returns ENOSPC on write}
208
        \minor{8}{/dev/random}{Nondeterministic random number generator}
209
        \minor{9}{/dev/urandom}{Less secure, but faster random number generator}
210
\\
211
\major{}{}{block}{RAM disk}
212
        \minor{0}{/dev/ram0}{First RAM disk}
213
        \minordots
214
        \minor{7}{/dev/ram7}{Eighth RAM disk}
215
        \minor{250}{/dev/initrd}{Initial RAM disk}
216
\end{devicelist}
217
 
218
\noindent
219
Earlier kernels had {\file /dev/ramdisk} (1, 1) here.  {\file /dev/initrd}
220
refers to a RAM disk which was preloaded by the boot loader.
221
 
222
\begin{devicelist}
223
\major{2}{}{char}{Pseudo-TTY masters}
224
        \minor{0}{/dev/ptyp0}{First PTY master}
225
        \minor{1}{/dev/ptyp1}{Second PTY master}
226
        \minordots
227
        \minor{255}{/dev/ptyef}{256th PTY master}
228
\end{devicelist}
229
 
230
\noindent
231
Pseudo-TTY's are named as follows:
232
\begin{itemize}
233
\item Masters are {\file pty}, slaves are {\file tty};
234
\item the fourth letter is one of {\file pqrstuvwxyzabcde} indicating
235
the 1st through 16th series of 16 pseudo-ttys each, and
236
\item the fifth letter is one of {\file 0123456789abcdef} indicating
237
the position within the series.
238
\end{itemize}
239
 
240
\begin{devicelist}
241
\major{}{}{block}{Floppy disks}
242
        \minor{0}{/dev/fd0}{Controller 1, drive 1 autodetect}
243
        \minor{1}{/dev/fd1}{Controller 1, drive 2 autodetect}
244
        \minor{2}{/dev/fd2}{Controller 1, drive 3 autodetect}
245
        \minor{3}{/dev/fd3}{Controller 1, drive 4 autodetect}
246
        \minor{128}{/dev/fd4}{Controller 2, drive 1 autodetect}
247
        \minor{129}{/dev/fd5}{Controller 2, drive 2 autodetect}
248
        \minor{130}{/dev/fd6}{Controller 2, drive 3 autodetect}
249
        \minor{131}{/dev/fd7}{Controller 2, drive 4 autodetect}
250
\\
251
\major{}{}{}{To specify format, add to the autodetect device number}
252
        \minor{  0}{/dev/fd?}{Autodetect format}
253
        \minor{  4}{/dev/fd?d360}{5.25" \num{4}{360}K in a \num{4}{360}K drive\1}
254
        \minor{ 20}{/dev/fd?h360}{5.25" \num{4}{360}K in a 1200K drive\1}
255
        \minor{ 48}{/dev/fd?h410}{5.25" \num{4}{410}K in a 1200K drive}
256
        \minor{ 64}{/dev/fd?h420}{5.25" \num{4}{420}K in a 1200K drive}
257
        \minor{ 24}{/dev/fd?h720}{5.25" \num{4}{720}K in a 1200K drive}
258
        \minor{ 80}{/dev/fd?h880}{5.25" \num{4}{880}K in a 1200K drive\1}
259
        \minor{  8}{/dev/fd?h1200}{5.25" 1200K in a 1200K drive\1}
260
        \minor{ 40}{/dev/fd?h1440}{5.25" 1440K in a 1200K drive\1}
261
        \minor{ 56}{/dev/fd?h1476}{5.25" 1476K in a 1200K drive}
262
        \minor{ 72}{/dev/fd?h1494}{5.25" 1494K in a 1200K drive}
263
        \minor{ 92}{/dev/fd?h1600}{5.25" 1600K in a 1200K drive\1}
264
        \minor{}{}{}
265
        \minor{ 12}{/dev/fd?u360}{3.5" \num{4}{360}K Double Density}
266
        \minor{ 16}{/dev/fd?u720}{3.5" \num{4}{720}K Double Density\1}
267
        \minor{120}{/dev/fd?u800}{3.5" \num{4}{800}K Double Density\2}
268
        \minor{ 52}{/dev/fd?u820}{3.5" \num{4}{820}K Double Density}
269
        \minor{ 68}{/dev/fd?u830}{3.5" \num{4}{830}K Double Density}
270
        \minor{ 84}{/dev/fd?u1040}{3.5" 1040K Double Density\1}
271
        \minor{ 88}{/dev/fd?u1120}{3.5" 1120K Double Density\1}
272
        \minor{ 28}{/dev/fd?u1440}{3.5" 1440K High Density\1}
273
        \minor{124}{/dev/fd?u1600}{3.5" 1600K High Density\1}
274
        \minor{ 44}{/dev/fd?u1680}{3.5" 1680K High Density\3}
275
        \minor{ 60}{/dev/fd?u1722}{3.5" 1722K High Density}
276
        \minor{ 76}{/dev/fd?u1743}{3.5" 1743K High Density}
277
        \minor{ 96}{/dev/fd?u1760}{3.5" 1760K High Density}
278
        \minor{116}{/dev/fd?u1840}{3.5" 1840K High Density\3}
279
        \minor{100}{/dev/fd?u1920}{3.5" 1920K High Density\1}
280
        \minor{ 32}{/dev/fd?u2880}{3.5" 2880K Extra Density\1}
281
        \minor{104}{/dev/fd?u3200}{3.5" 3200K Extra Density}
282
        \minor{108}{/dev/fd?u3520}{3.5" 3520K Extra Density}
283
        \minor{112}{/dev/fd?u3840}{3.5" 3840K Extra Density\1}
284
        \minor{}{}{}
285
        \minor{36}{/dev/fd?CompaQ}{Compaq 2880K drive; probably obsolete}
286
\\
287
\major{}{}{}{\1 Autodetectable format}
288
\major{}{}{}{\2 Autodetectable format in a Double Density (720K) drive only}
289
\major{}{}{}{\3 Autodetectable format in a High Density (1440K) drive only}
290
\end{devicelist}
291
 
292
NOTE: The letter in the device name ({\file d}, {\file q}, {\file h}
293
or {\file u}) signifies the type of drive supported: 5.25" Double
294
Density ({\file d}), 5.25" Quad Density ({\file q}), 5.25" High
295
Density ({\file h}) or 3.5" (any type, {\file u}).  The capital
296
letters {\file D}, {\file H}, or {\file E} for the 3.5" models have
297
been deprecated, since the drive type is insignificant for these devices.
298
 
299
\begin{devicelist}
300
\major{3}{}{char}{Pseudo-TTY slaves}
301
        \minor{0}{/dev/ttyp0}{First PTY slave}
302
        \minor{1}{/dev/ttyp1}{Second PTY slave}
303
        \minordots
304
        \minor{255}{/dev/ttyef}{256th PTY slave}
305
\\
306
\major{}{}{block}{First MFM, RLL and IDE hard disk/CD-ROM interface}
307
        \minor{0}{/dev/hda}{Master: whole disk (or CD-ROM)}
308
        \minor{64}{/dev/hdb}{Slave: whole disk (or CD-ROM)}
309
\\
310
\major{}{}{}{For partitions, add to the whole disk device number}
311
        \minor{0}{/dev/hd?}{Whole disk}
312
        \minor{1}{/dev/hd?1}{First partition}
313
        \minor{2}{/dev/hd?2}{Second partition}
314
        \minordots
315
        \minor{63}{/dev/hd?63}{63rd partition}
316
\end{devicelist}
317
 
318
\noindent
319
For Linux/i386, partitions 1-4 are the primary partitions, partitions
320
5 and up are logical partitions.  Other versions of Linux use
321
partitioning schemes appropriate to their respective architectures.
322
 
323
\begin{devicelist}
324
\major{ 4}{}{char }{TTY devices}
325
        \minor{0}{/dev/console}{Console device}
326
        \minor{1}{/dev/tty1}{First virtual console}
327
        \minordots
328
        \minor{63}{/dev/tty63}{63rd virtual console}
329
        \minor{64}{/dev/ttyS0}{First serial port}
330
        \minordots
331
        \minor{127}{/dev/ttyS63}{64th serial port}
332
        \minor{128}{/dev/ptyp0}{First pseudo-tty master}
333
        \minordots
334
        \minor{191}{/dev/ptysf}{64th pseudo-tty master}
335
        \minor{192}{/dev/ttyp0}{First pseudo-tty slave}
336
        \minordots
337
        \minor{255}{/dev/ttysf}{64th pseudo-tty slave}
338
\end{devicelist}
339
 
340
\noindent
341
For compatibility with previous versions of Linux, the first 64 PTYs
342
are replicated under this device number.  This use will be obsolescent
343
with the release of Linux 2.0 and may be removed in a future version
344
of Linux.
345
 
346
\begin{devicelist}
347
\major{ 5}{}{char }{Alternate TTY devices}
348
        \minor{0}{/dev/tty}{Current TTY device}
349
        \minor{64}{/dev/cua0}{Callout device corresponding to {\file ttyS0}}
350
        \minordots
351
        \minor{127}{/dev/cua63}{Callout device corresponding to {\file ttyS63}}
352
\end{devicelist}
353
 
354
\begin{devicelist}
355
\major{ 6}{}{char }{Parallel printer devices}
356
        \minor{0}{/dev/lp0}{First parallel printer ({\hex 0x3bc})}
357
        \minor{1}{/dev/lp1}{Second parallel printer ({\hex 0x378})}
358
        \minor{2}{/dev/lp2}{Third parallel printer ({\hex 0x278})}
359
\end{devicelist}
360
 
361
\noindent
362
Not all computers have the {\hex 0x3bc} parallel port, hence the
363
"first" printer may be either {\file /dev/lp0} or {\file /dev/lp1}.
364
 
365
\begin{devicelist}
366
\major{ 7}{}{char }{Virtual console access devices}
367
        \minor{0}{/dev/vcs}{Current vc text access}
368
        \minor{1}{/dev/vcs1}{tty1 text access}
369
        \minordots
370
        \minor{63}{/dev/vcs63}{tty63 text access}
371
        \minor{128}{/dev/vcsa}{Current vc text/attribute access}
372
        \minor{129}{/dev/vcsa1}{tty1 text/attribute access}
373
        \minordots
374
        \minor{191}{/dev/vcsa63}{tty63 text/attribute access}
375
\end{devicelist}
376
 
377
\noindent
378
NOTE: These devices permit both read and write access.
379
 
380
\begin{devicelist}
381
\major{  }{}{block}{Loopback devices}
382
        \minor{0}{/dev/loop0}{First loopback device}
383
        \minor{1}{/dev/loop1}{Second loopback device}
384
        \minordots
385
\end{devicelist}
386
 
387
\begin{devicelist}
388
\major{ 8}{}{block}{SCSI disk devices}
389
        \minor{0}{/dev/sda}{First SCSI disk whole disk}
390
        \minor{16}{/dev/sdb}{Second SCSI disk whole disk}
391
        \minor{32}{/dev/sdc}{Third SCSI disk whole disk}
392
        \minordots
393
        \minor{240}{/dev/sdp}{Sixteenth SCSI disk whole disk}
394
\end{devicelist}
395
 
396
\noindent
397
Partitions are handled in the same way as for IDE disks (see major
398
number 3) except that the partition limit is 15 rather than 63 per
399
disk.
400
 
401
\begin{devicelist}
402
\major{ 9}{}{char }{SCSI tape devices}
403
        \minor{0}{/dev/st0}{First SCSI tape, mode 0}
404
        \minor{1}{/dev/st1}{Second SCSI tape, mode 0}
405
        \minordots
406
        \minor{32}{/dev/st0l}{First SCSI tape, mode 1}
407
        \minor{33}{/dev/st1l}{Second SCSI tape, mode 1}
408
        \minordots
409
        \minor{64}{/dev/st0m}{First SCSI tape, mode 2}
410
        \minor{65}{/dev/st1m}{Second SCSI tape, mode 2}
411
        \minordots
412
        \minor{96}{/dev/st0a}{First SCSI tape, mode 3}
413
        \minor{97}{/dev/st1a}{Second SCSI tape, mode 4}
414
        \minordots
415
        \minor{128}{/dev/nst0}{First SCSI tape, mode 0, no rewind}
416
        \minor{129}{/dev/nst1}{Second SCSI tape, mode 0, no rewind}
417
        \minordots
418
        \minor{160}{/dev/nst0l}{First SCSI tape, mode 1, no rewind}
419
        \minor{161}{/dev/nst1l}{Second SCSI tape, mode 1, no rewind}
420
        \minordots
421
        \minor{192}{/dev/nst0m}{First SCSI tape, mode 2, no rewind}
422
        \minor{193}{/dev/nst1m}{Second SCSI tape, mode 2, no rewind}
423
        \minordots
424
        \minor{224}{/dev/nst0a}{First SCSI tape, mode 3, no rewind}
425
        \minor{225}{/dev/nst1a}{Second SCSI tape, mode 3, no rewind}
426
        \minordots
427
\end{devicelist}
428
 
429
\noindent
430
``No rewind'' refers to the omission of the default automatic rewind
431
on device close.  The {\file MTREW} or {\file MTOFFL} ioctl()s can be
432
used to rewind the tape regardless of the device used to access it.
433
 
434
\begin{devicelist}
435
\major{  }{}{block}{Metadisk (RAID) devices}
436
        \minor{0}{/dev/md0}{First metadisk group}
437
        \minor{1}{/dev/md1}{Second metadisk group}
438
        \minordots
439
\end{devicelist}
440
 
441
\noindent
442
The metadisk driver is used to span a filesystem across multiple
443
physical disks.
444
 
445
\begin{devicelist}
446
\major{10}{}{char }{Non-serial mice, misc features}
447
        \minor{0}{/dev/logibm}{Logitech bus mouse}
448
        \minor{1}{/dev/psaux}{PS/2-style mouse port}
449
        \minor{2}{/dev/inportbm}{Microsoft Inport bus mouse}
450
        \minor{3}{/dev/atibm}{ATI XL bus mouse}
451
        \minor{4}{/dev/jbm}{J-mouse}
452
        \minor{4}{/dev/amigamouse}{Amiga mouse (68k/Amiga)}
453
        \minor{5}{/dev/atarimouse}{Atari mouse}
454
        \minor{6}{/dev/sunmouse}{Sun mouse}
455
        \minor{7}{/dev/amigamouse1}{Second Amiga mouse}
456
        \minor{128}{/dev/beep}{Fancy beep device}
457
        \minor{129}{/dev/modreq}{Kernel module load request}
458
        \minor{130}{/dev/watchdog}{Watchdog timer port}
459
        \minor{131}{/dev/temperature}{Machine internal temperature}
460
        \minor{132}{/dev/hwtrap}{Hardware fault trap}
461
        \minor{133}{/dev/exttrp}{External device trap}
462
        \minor{134}{/dev/apm\_bios}{Advanced Power Management BIOS}
463
        \minor{135}{/dev/rtc}{Real Time Clock}
464
        \minor{136}{/dev/qcam0}{QuickCam on {\file lp0}}
465
        \minor{137}{/dev/qcam1}{QuickCam on {\file lp1}}
466
        \minor{138}{/dev/qcam2}{QuickCam on {\file lp2}}
467
        \minor{139}{/dev/openprom}{SPARC OpenBoot PROM}
468
\end{devicelist}
469
 
470
\noindent
471
The loopback devices are used to mount filesystems not associated with
472
block devices.  The binding to the loopback devices is usually handled
473
by {\bf mount}(8).
474
 
475
\begin{devicelist}
476
\major{11}{}{char }{Raw keyboard device}
477
        \minor{0}{/dev/kbd}{Raw keyboard device}
478
\end{devicelist}
479
 
480
\noindent
481
The raw keyboard device is used on Linux/SPARC only.
482
 
483
\begin{devicelist}
484
\major{  }{}{block}{SCSI CD-ROM devices}
485
        \minor{0}{/dev/sr0}{First SCSI CD-ROM}
486
        \minor{1}{/dev/sr1}{Second SCSI CD-ROM}
487
        \minordots
488
\end{devicelist}
489
 
490
\noindent
491
The prefix {\file /dev/scd} instead of {\file /dev/sr} has been used
492
as well, and might make more sense.
493
 
494
\begin{devicelist}
495
\major{12}{}{char }{QIC-02 tape}
496
        \minor{2}{/dev/ntpqic11}{QIC-11, no rewind-on-close}
497
        \minor{3}{/dev/tpqic11}{QIC-11, rewind-on-close}
498
        \minor{4}{/dev/ntpqic24}{QIC-24, no rewind-on-close}
499
        \minor{5}{/dev/tpqic24}{QIC-24, rewind-on-close}
500
        \minor{6}{/dev/ntpqic120}{QIC-120, no rewind-on-close}
501
        \minor{7}{/dev/tpqic120}{QIC-120, rewind-on-close}
502
        \minor{8}{/dev/ntpqic150}{QIC-150, no rewind-on-close}
503
        \minor{9}{/dev/tpqic150}{QIC-150, rewind-on-close}
504
\end{devicelist}
505
 
506
\noindent
507
The device names specified are proposed -- if there are ``standard''
508
names for these devices, please let me know.
509
 
510
\begin{devicelist}
511
\major{  }{}{block}{MSCDEX CD-ROM callback support}
512
        \minor{0}{/dev/dos\_cd0}{First MSCDEX CD-ROM}
513
        \minor{1}{/dev/dos\_cd1}{Second MSCDEX CD-ROM}
514
        \minordots
515
\end{devicelist}
516
 
517
\begin{devicelist}
518
\major{13}{}{char }{PC speaker}
519
        \minor{0}{/dev/pcmixer}{Emulates {\file /dev/mixer}}
520
        \minor{3}{/dev/pcsp}{Emulates {\file /dev/dsp} (8-bit)}
521
        \minor{4}{/dev/pcaudio}{Emulates {\file /dev/audio}}
522
        \minor{5}{/dev/pcsp16}{Emulates {\file /dev/dsp} (16-bit)}
523
\\
524
\major{  }{}{block}{8-bit MFM/RLL/IDE controller}
525
        \minor{0}{/dev/xda}{First XT disk whole disk}
526
        \minor{64}{/dev/xdb}{Second XT disk whole disk}
527
\end{devicelist}
528
 
529
\noindent
530
Partitions are handled in the same way as for IDE disks (see major
531
number 3).
532
 
533
\begin{devicelist}
534
\major{14}{}{char }{Sound card}
535
        \minor{0}{/dev/mixer}{Mixer control}
536
        \minor{1}{/dev/sequencer}{Audio sequencer}
537
        \minor{2}{/dev/midi00}{First MIDI port}
538
        \minor{3}{/dev/dsp}{Digital audio}
539
        \minor{4}{/dev/audio}{Sun-compatible digital audio}
540
        \minor{6}{/dev/sndstat}{Sound card status information}
541
        \minor{8}{/dev/sequencer2}{Sequencer -- alternate device}
542
        \minor{16}{/dev/mixer1}{Second soundcard mixer control}
543
        \minor{17}{/dev/patmgr0}{Sequencer patch manager}
544
        \minor{18}{/dev/midi01}{Second MIDI port}
545
        \minor{19}{/dev/dsp1}{Second soundcard digital audio}
546
        \minor{20}{/dev/audio1}{Second soundcard Sun digital audio}
547
        \minor{33}{/dev/patmgr1}{Sequencer patch manager}
548
        \minor{34}{/dev/midi02}{Third MIDI port}
549
        \minor{50}{/dev/midi03}{Fourth MIDI port}
550
\\
551
\major{  }{}{block}{BIOS harddrive callback support}
552
        \minor{0}{/dev/dos\_hda}{First BIOS harddrive whole disk}
553
        \minor{64}{/dev/dos\_hdb}{Second BIOS harddrive whole disk}
554
        \minor{128}{/dev/dos\_hdc}{Third BIOS harddrive whole disk}
555
        \minor{192}{/dev/dos\_hdd}{Fourth BIOS harddrive whole disk}
556
\end{devicelist}
557
 
558
\noindent
559
Partitions are handled in the same way as for IDE disks (see major
560
number 3).
561
 
562
\begin{devicelist}
563
\major{15}{}{char }{Joystick}
564
        \minor{0}{/dev/js0}{First analog joystick}
565
        \minor{1}{/dev/js1}{Second analog joystick}
566
        \minordots
567
        \minor{128}{/dev/djs0}{First digital joystick}
568
        \minor{129}{/dev/djs1}{Second digital joystick}
569
        \minordots
570
\\
571
\major{  }{}{block}{Sony CDU-31A/CDU-33A CD-ROM}
572
        \minor{0}{/dev/sonycd}{Sony CDU-31A CD-ROM}
573
\end{devicelist}
574
 
575
\begin{devicelist}
576
\major{16}{}{char }{Non-SCSI scanners}
577
        \minor{0}{/dev/gs4500}{Genius 4500 handheld scanner}
578
\\
579
\major{  }{}{block}{GoldStar CD-ROM}
580
        \minor{0}{/dev/gscd}{GoldStar CD-ROM}
581
\end{devicelist}
582
 
583
\begin{devicelist}
584
\major{17}{}{char }{Chase serial card}
585
        \minor{0}{/dev/ttyH0}{First Chase port}
586
        \minor{1}{/dev/ttyH1}{Second Chase port}
587
        \minordots
588
\\
589
\major{  }{}{block}{Optics Storage CD-ROM}
590
        \minor{0}{/dev/optcd}{Optics Storage CD-ROM}
591
\end{devicelist}
592
 
593
\begin{devicelist}
594
\major{18}{}{char }{Chase serial card -- alternate devices}
595
        \minor{0}{/dev/cuh0}{Callout device corresponding to {\file ttyH0}}
596
        \minor{1}{/dev/cuh1}{Callout device corresponding to {\file ttyH1}}
597
        \minordots
598
\\
599
\major{  }{}{block}{Sanyo CD-ROM}
600
        \minor{0}{/dev/sjcd}{Sanyo CD-ROM}
601
\end{devicelist}
602
 
603
\begin{devicelist}
604
\major{19}{}{char }{Cyclades serial card}
605
        \minor{0}{/dev/ttyC0}{First Cyclades port}
606
        \minordots
607
        \minor{31}{/dev/ttyC31}{32nd Cyclades port}
608
\\
609
\major{  }{}{block}{``Double'' compressed disk}
610
        \minor{0}{/dev/double0}{First compressed disk}
611
        \minordots
612
        \minor{7}{/dev/double7}{Eighth compressed disk}
613
        \minor{128}{/dev/cdouble0}{Mirror of first compressed disk}
614
        \minordots
615
        \minor{135}{/dev/cdouble7}{Mirror of eighth compressed disk}
616
\end{devicelist}
617
 
618
\noindent
619
See the Double documentation for an explanation of the ``mirror'' devices.
620
 
621
\begin{devicelist}
622
\major{20}{}{char }{Cyclades serial card -- alternate devices}
623
        \minor{0}{/dev/cub0}{Callout device corresponding to {\file ttyC0}}
624
        \minordots
625
        \minor{31}{/dev/cub31}{Callout device corresponding to {\file ttyC31}}
626
\\
627
\major{  }{}{block}{Hitachi CD-ROM}
628
        \minor{0}{/dev/hitcd}{Hitachi CD-ROM}
629
\end{devicelist}
630
 
631
\begin{devicelist}
632
\major{21}{}{char }{Generic SCSI access}
633
        \minor{0}{/dev/sg0}{First generic SCSI device}
634
        \minor{1}{/dev/sg1}{Second generic SCSI device}
635
        \minordots
636
\end{devicelist}
637
 
638
\begin{devicelist}
639
\major{22}{}{char }{Digiboard serial card}
640
        \minor{0}{/dev/ttyD0}{First Digiboard port}
641
        \minor{1}{/dev/ttyD1}{Second Digiboard port}
642
        \minordots
643
\major{  }{}{block}{Second IDE hard disk/CD-ROM interface}
644
        \minor{0}{/dev/hdc}{Master: whole disk (or CD-ROM)}
645
        \minor{64}{/dev/hdd}{Slave: whole disk (or CD-ROM)}
646
\end{devicelist}
647
 
648
\noindent
649
Partitions are handled the same way as for the first interface (see
650
major number 3).
651
 
652
\begin{devicelist}
653
\major{23}{}{char }{Digiboard serial card -- alternate devices}
654
        \minor{0}{/dev/cud0}{Callout device corresponding to {\file ttyD0}}
655
        \minor{1}{/dev/cud1}{Callout device corresponding to {\file ttyD1}}
656
        \minordots
657
\major{  }{}{block}{Mitsumi proprietary CD-ROM}
658
        \minor{0}{/dev/mcd}{Mitsumi CD-ROM}
659
\end{devicelist}
660
 
661
\begin{devicelist}\
662
\major{24}{}{char }{Stallion serial card}
663
        \minor{0}{/dev/ttyE0}{Stallion port 0 board 0}
664
        \minor{1}{/dev/ttyE1}{Stallion port 1 board 0}
665
        \minordots
666
        \minor{64}{/dev/ttyE64}{Stallion port 0 board 1}
667
        \minor{65}{/dev/ttyE65}{Stallion port 1 board 1}
668
        \minordots
669
        \minor{128}{/dev/ttyE128}{Stallion port 0 board 2}
670
        \minor{129}{/dev/ttyE129}{Stallion port 1 board 2}
671
        \minordots
672
        \minor{192}{/dev/ttyE192}{Stallion port 0 board 3}
673
        \minor{193}{/dev/ttyE193}{Stallion port 1 board 3}
674
        \minordots
675
\\
676
\major{  }{}{block}{Sony CDU-535 CD-ROM}
677
        \minor{0}{/dev/cdu535}{Sony CDU-535 CD-ROM}
678
\end{devicelist}
679
 
680
\begin{devicelist}
681
\major{25}{}{char }{Stallion serial card -- alternate devices}
682
        \minor{0}{/dev/cue0}{Callout device corresponding to {\file ttyE0}}
683
        \minor{1}{/dev/cue1}{Callout device corresponding to {\file ttyE1}}
684
        \minordots
685
        \minor{64}{/dev/cue64}{Callout device corresponding to {\file ttyE64}}
686
        \minor{65}{/dev/cue65}{Callout device corresponding to {\file ttyE65}}
687
        \minordots
688
        \minor{128}{/dev/cue128}{Callout device corresponding to {\file ttyE128}}
689
        \minor{129}{/dev/cue129}{Callout device corresponding to {\file ttyE129}}
690
        \minordots
691
        \minor{192}{/dev/cue192}{Callout device corresponding to {\file ttyE192}}
692
        \minor{193}{/dev/cue193}{Callout device corresponding to {\file ttyE193}}
693
        \minordots
694
\\
695
\major{  }{}{block}{First Matsushita (Panasonic/SoundBlaster) CD-ROM}
696
        \minor{0}{/dev/sbpcd0}{Panasonic CD-ROM controller 0 unit 0}
697
        \minor{1}{/dev/sbpcd1}{Panasonic CD-ROM controller 0 unit 1}
698
        \minor{2}{/dev/sbpcd2}{Panasonic CD-ROM controller 0 unit 2}
699
        \minor{3}{/dev/sbpcd3}{Panasonic CD-ROM controller 0 unit 3}
700
\end{devicelist}
701
 
702
\begin{devicelist}
703
\major{26}{}{char }{Quanta WinVision frame grabber}
704
        \minor{0}{/dev/wvisfgrab}{Quanta WinVision frame grabber}
705
\\
706
\major{  }{}{block}{Second Matsushita (Panasonic/SoundBlaster) CD-ROM}
707
        \minor{0}{/dev/sbpcd4}{Panasonic CD-ROM controller 1 unit 0}
708
        \minor{1}{/dev/sbpcd5}{Panasonic CD-ROM controller 1 unit 1}
709
        \minor{2}{/dev/sbpcd6}{Panasonic CD-ROM controller 1 unit 2}
710
        \minor{3}{/dev/sbpcd7}{Panasonic CD-ROM controller 1 unit 3}
711
\end{devicelist}
712
 
713
\begin{devicelist}
714
\major{27}{}{char }{QIC-117 tape}
715
        \minor{0}{/dev/rft0}{Unit 0, rewind-on-close}
716
        \minor{1}{/dev/rft1}{Unit 1, rewind-on-close}
717
        \minor{2}{/dev/rft2}{Unit 2, rewind-on-close}
718
        \minor{3}{/dev/rft3}{Unit 3, rewind-on-close}
719
        \minor{4}{/dev/nrft0}{Unit 0, no rewind-on-close}
720
        \minor{5}{/dev/nrft1}{Unit 1, no rewind-on-close}
721
        \minor{6}{/dev/nrft2}{Unit 2, no rewind-on-close}
722
        \minor{7}{/dev/nrft3}{Unit 3, no rewind-on-close}
723
\\
724
\major{  }{}{block}{Third Matsushita (Panasonic/SoundBlaster) CD-ROM}
725
        \minor{0}{/dev/sbpcd8}{Panasonic CD-ROM controller 2 unit 0}
726
        \minor{1}{/dev/sbpcd9}{Panasonic CD-ROM controller 2 unit 1}
727
        \minor{2}{/dev/sbpcd10}{Panasonic CD-ROM controller 2 unit 2}
728
        \minor{3}{/dev/sbpcd11}{Panasonic CD-ROM controller 2 unit 3}
729
\end{devicelist}
730
 
731
\begin{devicelist}
732
\major{28}{}{char }{Stallion serial card -- card programming}
733
        \minor{0}{/dev/staliomem0}{First Stallion I/O card memory}
734
        \minor{1}{/dev/staliomem1}{Second Stallion I/O card memory}
735
        \minor{2}{/dev/staliomem2}{Third Stallion I/O card memory}
736
        \minor{3}{/dev/staliomem3}{Fourth Stallion I/O card memory}
737
\\
738
\major{  }{}{char }{Atari SLM ACSI laser printer (68k/Atari)}
739
        \minor{0}{/dev/slm0}{First SLM laser printer}
740
        \minor{1}{/dev/slm1}{Second SLM laser printer}
741
        \minordots
742
\\
743
\major{  }{}{block}{Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM}
744
        \minor{0}{/dev/sbpcd12}{Panasonic CD-ROM controller 3 unit 0}
745
        \minor{1}{/dev/sbpcd13}{Panasonic CD-ROM controller 3 unit 1}
746
        \minor{2}{/dev/sbpcd14}{Panasonic CD-ROM controller 3 unit 2}
747
        \minor{3}{/dev/sbpcd15}{Panasonic CD-ROM controller 3 unit 3}
748
\\
749
\major{  }{}{block}{ACSI disk/CD-ROM (68k/Atari)}
750
        \minor{0}{/dev/ada}{First ACSI disk whole disk}
751
        \minor{16}{/dev/adb}{Second ACSI disk whole disk}
752
        \minor{32}{/dev/adc}{Third ACSI disk whole disk}
753
        \minordots
754
        \minor{240}{/dev/adp}{Sixteenth ACSI disk whole disk}
755
\end{devicelist}
756
 
757
\noindent
758
Partitions are handled in the same way as for IDE disks (see major
759
number 3) except that the partition limit is 15 rather than 63 per
760
disk (same as SCSI.)
761
 
762
\begin{devicelist}
763
\major{29}{}{char }{Universal frame buffer}
764
        \minor{0}{/dev/fb0}{First frame buffer}
765
        \minor{1}{/dev/fb0autodetect}{}
766
        \minor{24}{/dev/fb0user0}{}
767
        \minordots
768
        \minor{31}{/dev/fb0user7}{}
769
        \minor{32}{/dev/fb1}{Second frame buffer}
770
        \minor{33}{/dev/fb1autodetect}{}
771
        \minor{56}{/dev/fb1user0}{}
772
        \minordots
773
        \minor{63}{/dev/fb1user7}{}
774
        \minordots
775
\end{devicelist}
776
 
777
\noindent
778
The universal frame buffer device is currently supported only on
779
Linux/68k and Linux/SPARC.  The plain device accesses the frame
780
buffer at current resolution (Linux/68k calls this file {\file
781
current}, e.g. {\file /dev/fb0current}); the {\file autodetect} one at
782
bootup (default) resolution.  Minor numbers 2--23 within each frame
783
buffer assignment are used for specific device-dependent resolutions.
784
There appears to be no standard naming for these devices.  Finally,
785
24--31 within each device are reserved for user-selected modes,
786
usually entered at boot time.  Currently only Linux/68k uses the
787
mode-specific devices.
788
 
789
\begin{devicelist}
790
\major{  }{}{block}{Aztech/Orchid/Okano/Wearnes CD-ROM}
791
        \minor{0}{/dev/aztcd}{Aztech CD-ROM}
792
\end{devicelist}
793
 
794
\begin{devicelist}
795
\major{30}{}{char }{iBCS-2 compatibility devices}
796
        \minor{0}{/dev/socksys}{Socket access}
797
        \minor{1}{/dev/spx}{SVR3 local X interface}
798
        \minor{2}{/dev/inet/arp}{Network access}
799
        \minor{2}{/dev/inet/icmp}{Network access}
800
        \minor{2}{/dev/inet/ip}{Network access}
801
        \minor{2}{/dev/inet/udp}{Network access}
802
        \minor{2}{/dev/inet/tcp}{Network access}
803
\end{devicelist}
804
 
805
\noindent
806
iBCS-2 requires {\file /dev/nfsd} to be a link to {\file /dev/socksys}
807
and {\file /dev/X0R} to be a link to {\file /dev/null}.
808
 
809
\begin{devicelist}
810
\major{  }{}{block}{Philips LMS CM-205 CD-ROM}
811
        \minor{0}{/dev/cm205cd}{Philips LMS CM-205 CD-ROM}
812
\end{devicelist}
813
 
814
\noindent
815
{\file /dev/lmscd} is an older name for this drive.  This driver does
816
not work with the CM-205MS CD-ROM.
817
 
818
\begin{devicelist}
819
\major{31}{}{char }{MPU-401 MIDI}
820
        \minor{0}{/dev/mpu401data}{MPU-401 data port}
821
        \minor{1}{/dev/mpu401stat}{MPU-401 status port}
822
\\
823
\major{  }{}{block}{ROM/flash memory card}
824
        \minor{0}{/dev/rom0}{First ROM card (rw)}
825
        \minordots
826
        \minor{7}{/dev/rom7}{Eighth ROM card (rw)}
827
        \minor{8}{/dev/rrom0}{First ROM card (ro)}
828
        \minordots
829
        \minor{15}{/dev/rrom0}{Eighth ROM card (ro)}
830
        \minor{16}{/dev/flash0}{First flash memory card (rw)}
831
        \minordots
832
        \minor{23}{/dev/flash7}{Eighth flash memory card (rw)}
833
        \minor{24}{/dev/rflash0}{First flash memory card (ro)}
834
        \minordots
835
        \minor{31}{/dev/rflash7}{Eighth flash memory card (ro)}
836
\end{devicelist}
837
 
838
\noindent
839
The read-write (rw) devices support back-caching written data in RAM,
840
as well as writing to flash RAM devices.  The read-only devices (ro)
841
support reading only.
842
 
843
\begin{devicelist}
844
\major{32}{}{char }{Specialix serial card}
845
        \minor{0}{/dev/ttyX0}{First Specialix port}
846
        \minor{1}{/dev/ttyX1}{Second Specialix port}
847
        \minordots
848
\\
849
\major{  }{}{block}{Philips LMS CM-206 CD-ROM}
850
        \minor{0}{/dev/cm206cd}{Philips LMS CM-206 CD-ROM}
851
\end{devicelist}
852
 
853
\begin{devicelist}
854
\major{33}{}{char }{Specialix serial card -- alternate devices}
855
        \minor{0}{/dev/cux0}{Callout device corresponding to {\file ttyX0}}
856
        \minor{1}{/dev/cux1}{Callout device corresponding to {\file ttyX1}}
857
        \minordots
858
\\
859
\major{  }{}{block}{Third IDE hard disk/CD-ROM interface}
860
        \minor{0}{/dev/hde}{Master: whole disk (or CD-ROM)}
861
        \minor{64}{/dev/hdf}{Slave: whole disk (or CD-ROM)}
862
\end{devicelist}
863
 
864
\noindent
865
Partitions are handled the same way as for the first interface (see
866
major number 3).
867
 
868
\begin{devicelist}
869
\major{34}{}{char }{Z8530 HDLC driver}
870
        \minor{0}{/dev/scc0}{First Z8530, first port}
871
        \minor{1}{/dev/scc1}{First Z8530, second port}
872
        \minor{2}{/dev/scc2}{Second Z8530, first port}
873
        \minor{3}{/dev/scc3}{Second Z8530, second port}
874
        \minordots
875
\end{devicelist}
876
 
877
\noindent
878
In a previous version these devices were named {\file /dev/sc1} for
879
{\file /dev/scc0}, {\file /dev/sc2} for {\file /dev/scc1}, and so on.
880
 
881
\begin{devicelist}
882
\major{  }{}{block}{Fourth IDE hard disk/CD-ROM interface}
883
        \minor{0}{/dev/hdg}{Master: whole disk (or CD-ROM)}
884
        \minor{64}{/dev/hdh}{Slave: whole disk (or CD-ROM)}
885
\end{devicelist}
886
 
887
\noindent
888
Partitions are handled the same way as for the first interface (see
889
major number 3).
890
 
891
\begin{devicelist}
892
\major{35}{}{char }{tclmidi MIDI driver}
893
        \minor{0}{/dev/midi0}{First MIDI port, kernel timed}
894
        \minor{1}{/dev/midi1}{Second MIDI port, kernel timed}
895
        \minor{2}{/dev/midi2}{Third MIDI port, kernel timed}
896
        \minor{3}{/dev/midi3}{Fourth MIDI port, kernel timed}
897
        \minor{64}{/dev/rmidi0}{First MIDI port, untimed}
898
        \minor{65}{/dev/rmidi1}{Second MIDI port, untimed}
899
        \minor{66}{/dev/rmidi2}{Third MIDI port, untimed}
900
        \minor{67}{/dev/rmidi3}{Fourth MIDI port, untimed}
901
        \minor{128}{/dev/smpte0}{First MIDI port, SMPTE timed}
902
        \minor{129}{/dev/smpte1}{Second MIDI port, SMPTE timed}
903
        \minor{130}{/dev/smpte2}{Third MIDI port, SMPTE timed}
904
        \minor{131}{/dev/smpte3}{Fourth MIDI port, SMPTE timed}
905
\\
906
\major{  }{}{block}{Modular RAM disk}
907
\end{devicelist}
908
 
909
\noindent
910
This device number is provided for older kernels which did not have
911
the modular RAM disk in the standard distribution.  See major number
912
1.  This assignment will be removed when the 2.0 kernel is released.
913
 
914
\begin{devicelist}
915
\major{36}{}{char }{Netlink support}
916
        \minor{0}{/dev/route}{Routing, device updates (kernel to user)}
917
        \minor{1}{/dev/skip}{enSKIP security cache control}
918
\\
919
\major{  }{}{block}{MCA ESDI hard disk}
920
        \minor{0}{/dev/eda}{First ESDI disk whole disk}
921
        \minor{64}{/dev/edb}{Second ESDI disk whole disk}
922
        \minordots
923
\end{devicelist}
924
 
925
\noindent
926
Partitions are handled the same way as for IDE disks (see major number
927
3).
928
 
929
\begin{devicelist}
930
\major{37}{}{char }{IDE tape}
931
        \minor{0}{/dev/ht0}{First IDE tape}
932
        \minor{128}{/dev/nht0}{First IDE tape, no rewind-on-close}
933
\end{devicelist}
934
 
935
\noindent
936
Currently, only one IDE tape drive is supported.
937
 
938
\begin{devicelist}
939
\major{  }{}{block}{Zorro II ramdisk}
940
        \minor{0}{/dev/z2ram}{Zorro II ramdisk}
941
\end{devicelist}
942
 
943
\begin{devicelist}
944
\major{38}{}{char }{Myricom PCI Myrinet board}
945
        \minor{0}{/dev/mlanai0}{First Myrinet board}
946
        \minor{1}{/dev/mlanai1}{Second Myrinet board}
947
        \minordots
948
\end{devicelist}
949
 
950
\noindent
951
This device is used for board control, status query and ``user level
952
packet I/O''.  The board is also accessible as a regular {\file eth}
953
networking device.
954
 
955
\begin{devicelist}
956
\major{  }{}{block}{Reserved for Linux/AP+}
957
\end{devicelist}
958
 
959
\begin{devicelist}
960
\major{39}{}{char }{ML-16P experimental I/O board}
961
        \minor{0}{/dev/ml16pa-a0}{First card, first analog channel}
962
        \minor{1}{/dev/ml16pa-a1}{First card, second analog channel}
963
        \minordots
964
        \minor{15}{/dev/ml16pa-a15}{First card, 16th analog channel}
965
        \minor{16}{/dev/ml16pa-d}{First card, digital lines}
966
        \minor{17}{/dev/ml16pa-c0}{First card, first counter/timer}
967
        \minor{18}{/dev/ml16pa-c1}{First card, second counter/timer}
968
        \minor{19}{/dev/ml16pa-c2}{First card, third counter/timer}
969
        \minor{32}{/dev/ml16pb-a0}{Second card, first analog channel}
970
        \minor{33}{/dev/ml16pb-a1}{Second card, second analog channel}
971
        \minordots
972
        \minor{47}{/dev/ml16pb-a15}{Second card, 16th analog channel}
973
        \minor{48}{/dev/ml16pb-d}{Second card, digital lines}
974
        \minor{49}{/dev/ml16pb-c0}{Second card, first counter/timer}
975
        \minor{50}{/dev/ml16pb-c1}{Second card, second counter/timer}
976
        \minor{51}{/dev/ml16pb-c2}{Second card, third counter/timer}
977
        \minordots
978
\\
979
\major{  }{}{block}{Reserved for Linux/AP+}
980
\end{devicelist}
981
 
982
\begin{devicelist}
983
\major{40}{}{char }{Matrox Meteor frame grabber}
984
        \minor{0}{/dev/mmetfgrab}{Matrox Meteor frame grabber}
985
\\
986
\major{  }{}{block}{Syquest EZ135 parallel port removable drive}
987
        \minor{0}{/dev/eza}{Parallel EZ135 drive whole disk}
988
\end{devicelist}
989
 
990
\noindent
991
Partitions are handled the same way as for IDE disks (see major number
992
3).
993
 
994
\begin{devicelist}
995
\major{41}{}{char }{Yet Another Micro Monitor}
996
        \minor{0}{/dev/yamm}{Yet Another Micro Monitor}
997
\\
998
\major{  }{}{block}{MicroSolutions BackPack parallel port CD-ROM}
999
        \minor{0}{/dev/bpcd}{BackPack CD-ROM}
1000
\end{devicelist}
1001
 
1002
\begin{devicelist}
1003
\major{42}{}{}{Demo/sample use}
1004
\end{devicelist}
1005
 
1006
\noindent
1007
This number is intended for use in sample code, as well as a general
1008
``example'' device number.  It should never be used for a device
1009
driver that is being distributed; either obtain an official number or
1010
use the local/experimental range.  The sudden addition or removal of a
1011
driver with this number should not cause ill effects to the system
1012
(bugs excepted.)
1013
 
1014
\begin{devicelist}
1015
\major{43}{}{char }{isdn4linux virtual modem}
1016
        \minor{0}{/dev/ttyI0}{First virtual modem}
1017
        \minordots
1018
        \minor{63}{/dev/ttyI63}{64th virtual modem}
1019
\end{devicelist}
1020
 
1021
\begin{devicelist}
1022
\major{44}{}{char }{isdn4linux virtual modem -- alternate devices}
1023
        \minor{0}{/dev/cui0}{Callout device corresponding to {\file ttyI0}}
1024
        \minordots
1025
        \minor{63}{/dev/cui63}{Callout device corresponding to {\file ttyI63}}
1026
\end{devicelist}
1027
 
1028
\begin{devicelist}
1029
\major{45}{}{char }{isdn4linux ISDN BRI driver}
1030
        \minor{0}{/dev/isdn0}{First virtual B channel raw data}
1031
        \minordots
1032
        \minor{63}{/dev/isdn63}{64th virtual B channel raw data}
1033
        \minor{64}{/dev/isdnctrl0}{First channel control/debug}
1034
        \minordots
1035
        \minor{127}{/dev/isdnctrl63}{64th channel control/debug}
1036
        \minor{128}{/dev/ippp0}{First SyncPPP device}
1037
        \minordots
1038
        \minor{191}{/dev/ippp63}{64th SyncPPP device}
1039
        \minor{255}{/dev/isdninfo}{ISDN monitor interface}
1040
\end{devicelist}
1041
 
1042
\begin{devicelist}
1043
\major{46}{}{char }{Comtrol Rocketport serial card}
1044
        \minor{0}{/dev/ttyR0}{First Rocketport port}
1045
        \minor{1}{/dev/ttyR1}{Second Rocketport port}
1046
        \minordots
1047
\end{devicelist}
1048
 
1049
\begin{devicelist}
1050
\major{47}{}{char }{Comtrol Rocketport serial card -- alternate devices}
1051
        \minor{0}{/dev/cur0}{Callout device corresponding to {\file ttyR0}}
1052
        \minor{1}{/dev/cur1}{Callout device corresponding to {\file ttyR1}}
1053
        \minordots
1054
\end{devicelist}
1055
 
1056
\begin{devicelist}
1057
\major{48}{}{char }{SDL RISCom serial card}
1058
        \minor{0}{/dev/ttyL0}{First RISCom port}
1059
        \minor{1}{/dev/ttyL1}{Second RISCom port}
1060
        \minordots
1061
\end{devicelist}
1062
 
1063
\begin{devicelist}
1064
\major{49}{}{char }{SDL RISCom serial card -- alternate devices}
1065
        \minor{0}{/dev/cul0}{Callout device corresponding to {\file ttyL0}}
1066
        \minor{1}{/dev/cul1}{Callout device corresponding to {\file ttyL1}}
1067
        \minordots
1068
\end{devicelist}
1069
 
1070
\begin{devicelist}
1071
\major{50}{}{char}{Reserved for GLINT}
1072
\end{devicelist}
1073
 
1074
\begin{devicelist}
1075
\major{51}{}{char }{Baycom radio modem}
1076
        \minor{0}{/dev/bc0}{First Baycom radio modem}
1077
        \minor{1}{/dev/bc1}{Second Baycom radio modem}
1078
        \minordots
1079
\end{devicelist}
1080
 
1081
\begin{devicelist}
1082
\major{52}{}{char }{Spellcaster DataComm/BRI ISDN card}
1083
        \minor{0}{/dev/dcbri0}{First DataComm card}
1084
        \minor{1}{/dev/dcbri1}{Second DataComm card}
1085
        \minor{2}{/dev/dcbri2}{Third DataComm card}
1086
        \minor{3}{/dev/dcbri3}{Fourth DataComm card}
1087
\end{devicelist}
1088
 
1089
\begin{devicelist}
1090
\major{53}{}{char }{BDM interface for remote debugging MC683xx
1091
microcontrollers}
1092
        \minor{0}{/dev/pd\_bdm0}{PD BDM interface on {\file lp0}}
1093
        \minor{1}{/dev/pd\_bdm1}{PD BDM interface on {\file lp1}}
1094
        \minor{2}{/dev/pd\_bdm2}{PD BDM interface on {\file lp2}}
1095
        \minor{4}{/dev/icd\_bdm0}{ICD BDM interface on {\file lp0}}
1096
        \minor{5}{/dev/icd\_bdm1}{ICD BDM interface on {\file lp1}}
1097
        \minor{6}{/dev/icd\_bdm2}{ICD BDM interface on {\file lp2}}
1098
\end{devicelist}
1099
 
1100
\noindent
1101
This device is used for the interfacing to the MC683xx
1102
microcontrollers via Background Debug Mode by use of a Parallel Port
1103
interface. PD is the Motorola Public Domain Interface and ICD is the
1104
commercial interface by P\&E.
1105
 
1106
\begin{devicelist}
1107
\major{54}{}{char }{Electrocardiognosis Holter serial card}
1108
        \minor{0}{/dev/holter0}{First Holter port}
1109
        \minor{1}{/dev/holter1}{Second Holter port}
1110
        \minor{2}{/dev/holter2}{Third Holter port}
1111
\end{devicelist}
1112
 
1113
\noindent
1114
A custom serial card used by Electrocardiognosis SRL
1115
$<$mseritan@ottonel.pub.ro$>$ to transfer data from Holter 24-hour
1116
heart monitoring equipment.
1117
 
1118
\begin{devicelist}
1119
\major{55}{--59}{}{Unallocated}
1120
\end{devicelist}
1121
 
1122
\begin{devicelist}
1123
\major{60}{--63}{}{Local/experimental use}
1124
\end{devicelist}
1125
 
1126
\noindent
1127
For devices not assigned official numbers, these ranges should be
1128
used, in order to avoid conflict with future assignments.
1129
 
1130
\begin{devicelist}
1131
\major{64}{--119}{}{Unallocated}
1132
\end{devicelist}
1133
 
1134
\begin{devicelist}
1135
\major{120}{--127}{}{Local/experimental use}
1136
\end{devicelist}
1137
 
1138
\begin{devicelist}
1139
\major{128}{--239}{}{Unallocated}
1140
\end{devicelist}
1141
 
1142
\begin{devicelist}
1143
\major{240}{--254}{}{Local/experimental use}
1144
\end{devicelist}
1145
 
1146
\begin{devicelist}
1147
\major{255}{}{}{Reserved}
1148
\end{devicelist}
1149
 
1150
\section{Additional /dev directory entries}
1151
 
1152
This section details additional entries that should or may exist in the
1153
{\file /dev} directory.  It is preferred that symbolic links use the
1154
same form (absolute or relative) as is indicated here.  Links are
1155
classified as {\em hard\/} or {\em symbolic\/} depending on the
1156
preferred type of link; if possible, the indicated type of link should
1157
be used.
1158
 
1159
\subsection{Compulsory links}
1160
 
1161
These links should exist on all systems:
1162
 
1163
\begin{nodelist}
1164
\link{/dev/fd}{/proc/self/fd}{symbolic}{File descriptors}
1165
\link{/dev/stdin}{fd/0}{symbolic}{Standard input file descriptor}
1166
\link{/dev/stdout}{fd/1}{symbolic}{Standard output file descriptor}
1167
\link{/dev/stderr}{fd/2}{symbolic}{Standard error file descriptor}
1168
\link{/dev/nfsd}{socksys}{symbolic}{Required by iBCS-2}
1169
\link{/dev/X0R}{null}{symbolic}{Required by iBCS-2}
1170
\end{nodelist}
1171
 
1172
\noindent
1173
Note: The last device is: $<$letter {\tt X}$>$-$<$digit {\tt
1174
0}$>$-$<$letter {\tt R}$>$.
1175
 
1176
\subsection{Recommended links}
1177
 
1178
It is recommended that these links exist on all systems:
1179
 
1180
\begin{nodelist}
1181
\link{/dev/core}{/proc/kcore}{symbolic}{Backward compatibility}
1182
\link{/dev/ramdisk}{ram0}{symbolic}{Backward compatibility}
1183
\link{/dev/ftape}{rft0}{symbolic}{Backward compatibility}
1184
\link{/dev/scd?}{sr?}{hard}{Alternate name for CD-ROMs}
1185
%\link{/dev/fd?H*}{fd?D*}{hard}{Compatible floppy formats}
1186
%\link{/dev/fd?E*}{fd?D*}{hard}{Compatible floppy formats}
1187
%\link{/dev/fd?E*}{fd?H*}{hard}{Compatible floppy formats}
1188
\end{nodelist}
1189
 
1190
\subsection{Locally defined links}
1191
 
1192
The following links may be established locally to conform to the
1193
configuration of the system.  This is merely a tabulation of existing
1194
practice, and does not constitute a recommendation.  However, if they
1195
exist, they should have the following uses.
1196
 
1197
\begin{nodelist}
1198
\vlink{/dev/mouse}{mouse port}{symbolic}{Current mouse device}
1199
\vlink{/dev/tape}{tape device}{symbolic}{Current tape device}
1200
\vlink{/dev/cdrom}{CD-ROM device}{symbolic}{Current CD-ROM device}
1201
\vlink{/dev/cdwriter}{CD-writer}{symbolic}{Current CD-writer device}
1202
\vlink{/dev/scanner}{scanner device}{symbolic}{Current scanner device}
1203
\vlink{/dev/modem}{modem port}{symbolic}{Current dialout device}
1204
\vlink{/dev/root}{root device}{symbolic}{Current root filesystem}
1205
\vlink{/dev/swap}{swap device}{symbolic}{Current swap device}
1206
\end{nodelist}
1207
 
1208
\noindent
1209
{\file /dev/modem} should not be used for a modem which supports
1210
dialin as well as dialout, as it tends to cause lock file problems.
1211
If it exists, {\file /dev/modem} should point to the appropriate
1212
dialout (alternate) device.
1213
 
1214
For SCSI devices, {\file /dev/tape} and {\file /dev/cdrom} should
1215
point to the ``cooked'' devices ({\file /dev/st*} and {\file
1216
/dev/sr*}, respectively), whereas {\file /dev/cdwriter} and {\file
1217
/dev/scanner} should point to the appropriate generic SCSI devices
1218
({\file /dev/sg*}.)
1219
 
1220
{\file /dev/mouse} may point to a primary serial TTY device, a
1221
hardware mouse device, or a socket for a mouse driver program
1222
(e.g. {\file /dev/gpmdata}.)
1223
 
1224
\subsection{Sockets and pipes}
1225
 
1226
Non-transient sockets or named pipes may exist in {\file /dev}.
1227
Common entries are:
1228
 
1229
\begin{nodelist}
1230
\node{/dev/printer}{socket}{{\file lpd} local socket}
1231
\node{/dev/log}{socket}{{\file syslog} local socket}
1232
\node{/dev/gpmdata}{socket}{{\file gpm} mouse multiplexer}
1233
\end{nodelist}
1234
 
1235
\end{document}
1236
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.