1 \documentstyle{article
}
2 % $Id: devices.tex,v 1.14 1998/08/10 22:39:24 hpa Exp $
3 % ---------------------------------------------------------------------------
4 % Adopt somewhat reasonable margins, so it doesn't take a million
5 % pages to print... :-) If you're actually putting this in print, you
6 % may wish to change these.
17 \newcommand{\file}{\tt} % Style to use for a filename
18 \newcommand{\url}{\it} % Style to use for an URL
19 \newcommand{\hex}{\tt} % Style to use for a hex number
20 \newcommand{\ud}{(Under development)
} % Abbreviation
21 \newcommand{\1}{\(
{}^
1\)
}
22 \newcommand{\2}{\(
{}^
2\)
}
23 \newcommand{\3}{\(
{}^
3\)
}
24 \newcommand{\4}{\(
{}^
4\)
}
26 \settowidth{\dig}{0} % Get width of digits
27 \newcommand{\num}[2]{\makebox[#1\dig][r
]{#2}}
28 \newcommand{\major}[4]{\num{3}{#1}#2 \>
#3 \>
#4 \\
}
29 \newcommand{\minor}[3]{\> \>
\num{3}{#1} \>
{\file #2} \>
#3 \\
}
30 \newcommand{\minordots}{\> \> \>
\dots \\
}
31 \newenvironment{devicelist
}%
33 000--
000 \= blockxxx \=
000 \=
{\file /dev/input/keyboardxxx
} \= foo
\kill}%
35 \newcommand{\link}[4]{{\file #1} \>
{\file #2} \>
#3 \>
#4 \\
}
36 \newcommand{\vlink}[4]{{\file #1} \>
{\em #2 \/
} \>
#3 \>
#4 \\
}
37 \newcommand{\node}[3]{{\file #1} \>
#2 \>
#3 \\
}
38 \newcommand{\tum}{$''$
}
39 \newenvironment{nodelist
}%
41 {\file /dev/crambamboli
} \=
{\file /proc/self/fd/
99} \= symbolicxxx \=
45 % If you reformat this document, *please* make sure this information
46 % gets included! This list changes frequently, so it is crucial to
47 % know the date of the revision.
49 \title{{\bf Linux Allocated Devices
}}
50 \author{Maintained by H. Peter Anvin $<$hpa@zytor.com$>$
}
51 \date{Last revised: August
10,
1998}
55 This list is the Linux Device List, the official registry of allocated
56 device numbers and
{\file /dev
} directory nodes for the Linux
59 The latest version of this list is included with the Linux kernel
60 sources in
\LaTeX\ and ASCII form. It is also available separately
61 from
{\url ftp://ftp.kernel.org/pub/linux/docs/device-list/
}. In case
62 of discrepancy between the text and
\LaTeX\ versions, the
\LaTeX\
63 version is authoritative.
65 This
document is included by reference into the Linux Filesystem
66 Standard (FSSTND). The FSSTND is available from
67 {\url ftp://tsx-
11.mit.edu/pub/linux/docs/linux-standards/fsstnd/
}.
69 Allocations marked (
68k/Amiga) apply to Linux/
68k on the Amiga
70 platform only. Allocations marked (
68k/Atari) apply to Linux/
68k on
71 the Atari platform only.
73 This
document is in the public domain. The author requests, however,
74 that semantically altered versions are not distributed without
75 permission of the author, assuming the author can be contacted without
76 an unreasonable effort.
78 In particular, please don't sent patches for this list to Linus, at
79 least not without contacting me first.
81 I do not have any information about these devices beyond what appears
82 on this list. Any such information requests will be deleted without
85 \section{How to submit a device entry
}
87 To have a major number allocated, or a minor number in situations
88 where that applies (e.g. busmice), please contact me with the
89 appropriate device information. Also, if you have additional
90 information regarding any of the devices listed below, or if I have
91 made a mistake, I would greatly appreciate a note.
93 I do, however, make two requests about the nature of your
report.
94 This is necessary for me to be able to keep this list up to date and
95 correct in a timely manner. First of all,
{\em please\/
} include the
96 word ``device'' in the subject so your mail won't accidentally get
97 buried! I receive hundreds of email messages a day, so mail sent with
98 other subjects may very well get lost in the avalanche.
100 Second, please include a description of the device
{\em in the same
101 format as this list\/
}. The reason for this is that it is the only
102 way I have found to ensure I have all the requisite information to
103 publish your device and avoid conflicts.
105 Your cooperation is appreciated.
107 \section{Major numbers
}
110 \major{ 0}{}{ }{Unnamed devices (e.g. non-device mounts)
}
111 \major{ 1}{}{char
}{Memory devices
}
112 \major{ }{}{block
}{RAM disk
}
113 \major{ 2}{}{char
}{Pseudo-TTY masters
}
114 \major{ }{}{block
}{Floppy disks
}
115 \major{ 3}{}{char
}{Pseudo-TTY slaves
}
116 \major{ }{}{block
}{First MFM, RLL or IDE hard disk/CD-ROM interface
}
117 \major{ 4}{}{char
}{TTY devices
}
118 \major{ 5}{}{char
}{Alternate TTY devices
}
119 \major{ 6}{}{char
}{Parallel printer devices
}
120 \major{ 7}{}{char
}{Virtual console access devices
}
121 \major{ }{}{block
}{Loopback devices
}
122 \major{ 8}{}{block
}{SCSI disk devices (
0-
15)
}
123 \major{ 9}{}{char
}{SCSI tape devices
}
124 \major{ }{}{block
}{Metadisk (RAID) devices
}
125 \major{10}{}{char
}{Non-serial mice, misc features
}
126 \major{11}{}{char
}{Raw keyboard device
}
127 \major{ }{}{block
}{SCSI CD-ROM devices
}
128 \major{12}{}{char
}{QIC-
02 tape
}
129 \major{ }{}{block
}{MSCDEX CD-ROM callback support
}
130 \major{13}{}{char
}{PC speaker
}
131 \major{ }{}{block
}{8-bit MFM/RLL/IDE controller
}
132 \major{14}{}{char
}{Sound card
}
133 \major{ }{}{block
}{BIOS harddrive callback support
}
134 \major{15}{}{char
}{Joystick
}
135 \major{ }{}{block
}{Sony CDU-
31A/CDU-
33A CD-ROM
}
136 \major{16}{}{char
}{Non-SCSI scanners
}
137 \major{ }{}{block
}{GoldStar CD-ROM
}
138 \major{17}{}{char
}{Chase serial card
}
139 \major{ }{}{block
}{Optics Storage CD-ROM
}
140 \major{18}{}{char
}{Chase serial card -- alternate devices
}
141 \major{ }{}{block
}{Sanyo CD-ROM
}
142 \major{19}{}{char
}{Cyclades serial card
}
143 \major{ }{}{block
}{``Double'' compressed disk
}
144 \major{20}{}{char
}{Cyclades serial card -- alternate devices
}
145 \major{ }{}{block
}{Hitachi CD-ROM
}
146 \major{21}{}{char
}{Generic SCSI access
}
147 \major{ }{}{block
}{Acorn MFM hard drive interface
}
148 \major{22}{}{char
}{Digiboard serial card
}
149 \major{ }{}{block
}{Second IDE hard disk/CD-ROM interface
}
150 \major{23}{}{char
}{Digiboard serial card -- alternate devices
}
151 \major{ }{}{block
}{Mitsumi proprietary CD-ROM
}
152 \major{24}{}{char
}{Stallion serial card
}
153 \major{ }{}{block
}{Sony CDU-
535 CD-ROM
}
154 \major{25}{}{char
}{Stallion serial card -- alternate devices
}
155 \major{ }{}{block
}{First Matsushita (Panasonic/SoundBlaster) CD-ROM
}
156 \major{26}{}{char
}{Quanta WinVision frame grabber
}
157 \major{ }{}{block
}{Second Matsushita (Panasonic/SoundBlaster) CD-ROM
}
158 \major{27}{}{char
}{QIC-
117 tape
}
159 \major{ }{}{block
}{Third Matsushita (Panasonic/SoundBlaster) CD-ROM
}
160 \major{28}{}{char
}{Stallion serial card -- card programming
}
161 \major{ }{}{char
}{Atari SLM ACSI laser printer (
68k/Atari)
}
162 \major{ }{}{block
}{Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
}
163 \major{ }{}{block
}{ACSI disk/CD-ROM (
68k/Atari)
}
164 \major{29}{}{char
}{Universal frame buffer
}
165 \major{ }{}{block
}{Aztech/Orchid/Okano/Wearnes CD-ROM
}
166 \major{30}{}{char
}{iBCS-
2 compatibility devices
}
167 \major{ }{}{block
}{Philips LMS CM-
205 CD-ROM
}
168 \major{31}{}{char
}{MPU-
401 MIDI
}
169 \major{ }{}{block
}{ROM/flash memory card
}
170 \major{32}{}{char
}{Specialix serial card
}
171 \major{ }{}{block
}{Philips LMS CM-
206 CD-ROM
}
172 \major{33}{}{char
}{Specialix serial card -- alternate devices
}
173 \major{ }{}{block
}{Third IDE hard disk/CD-ROM interface
}
174 \major{34}{}{char
}{Z8530 HDLC driver
}
175 \major{ }{}{block
}{Fourth IDE hard disk/CD-ROM interface
}
176 \major{35}{}{char
}{tclmidi MIDI driver
}
177 \major{ }{}{block
}{Slow memory ramdisk
}
178 \major{36}{}{char
}{Netlink support
}
179 \major{ }{}{block
}{MCA ESDI hard disk
}
180 \major{37}{}{char
}{IDE tape
}
181 \major{ }{}{block
}{Zorro II ramdisk
}
182 \major{38}{}{char
}{Myricom PCI Myrinet board
}
183 \major{ }{}{block
}{Reserved for Linux/AP+
}
184 \major{39}{}{char
}{ML-
16P experimental I/O board
}
185 \major{ }{}{block
}{Reserved for Linux/AP+
}
186 \major{40}{}{char
}{Matrox Meteor frame grabber
}
187 \major{ }{}{block
}{Syquest EZ135 parallel port removable drive
}
188 \major{41}{}{char
}{Yet Another Micro Monitor
}
189 \major{ }{}{block
}{MicroSolutions BackPack parallel port CD-ROM
}
190 \major{42}{}{}{Demo/sample use
}
191 \major{43}{}{char
}{isdn4linux virtual modem
}
192 \major{ }{}{block
}{Network block devices
}
193 \major{44}{}{char
}{isdn4linux virtual modem -- alternate devices
}
194 \major{ }{}{block
}{Flash Translation Layer (FTL) filesystems
}
195 \major{45}{}{char
}{isdn4linux ISDN BRI driver
}
196 \major{ }{}{block
}{Parallel port IDE disk devices
}
197 \major{46}{}{char
}{Comtrol Rocketport serial card
}
198 \major{ }{}{block
}{Parallel port ATAPI CD-ROM devices
}
199 \major{47}{}{char
}{Comtrol Rocketport serial card -- alternate devices
}
200 \major{ }{}{block
}{Parallel port ATAPI disk devices
}
201 \major{48}{}{char
}{SDL RISCom serial card
}
202 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
203 \major{49}{}{char
}{SDL RISCom serial card -- alternate devices
}
204 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
205 \major{50}{}{char
}{Reserved for GLINT
}
206 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
207 \major{51}{}{char
}{Baycom radio modem
}
208 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
209 \major{52}{}{char
}{Spellcaster DataComm/BRI ISDN card
}
210 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
211 \major{53}{}{char
}{BDM interface for remote debugging MC683xx microcontrollers
}
212 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
213 \major{54}{}{char
}{Electrocardiognosis Holter serial card
}
214 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
215 \major{55}{}{char
}{DSP56001 digital signal processor
}
216 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
217 \major{56}{}{char
}{Apple Desktop Bus
}
218 \major{ }{}{block
}{Fifth IDE hard disk/CD-ROM interface
}
219 \major{57}{}{char
}{Hayes ESP serial card
}
220 \major{ }{}{block
}{Sixth IDE hard disk/CD-ROM interface
}
221 \major{58}{}{char
}{Hayes ESP serial card -- alternate devices
}
222 \major{ }{}{block
}{Reserved for logical volume manager
}
223 \major{59}{}{char
}{sf firewall package
}
224 \major{60}{--
63}{}{Local/experimental use
}
225 \major{64}{}{char
}{ENskip kernel encryption package
}
226 \major{65}{}{char
}{Sundance ``plink'' Transputer boards
}
227 \major{ }{}{block
}{SCSI disk devices (
16-
31)
}
228 \major{66}{}{char
}{YARC PowerPC PCI coprocessor card
}
229 \major{ }{}{block
}{SCSI disk devices (
32-
47)
}
230 \major{67}{}{char
}{Coda network filesystem
}
231 \major{ }{}{block
}{SCSI disk devices (
48-
63)
}
232 \major{68}{}{char
}{CAPI
2.0 interface
}
233 \major{ }{}{block
}{SCSI disk devices (
64-
79)
}
234 \major{69}{}{char
}{MA16 numeric accelerator card
}
235 \major{ }{}{block
}{SCSI disk devices (
80-
95)
}
236 \major{70}{}{char
}{SpellCaster Protocol Services Interface
}
237 \major{ }{}{block
}{SCSI disk devices (
96-
111)
}
238 \major{71}{}{char
}{Computone IntelliPort II serial card
}
239 \major{ }{}{block
}{SCSI disk devices (
112-
127)
}
240 \major{72}{}{char
}{Computone IntelliPort II serial card -- alternate devices
}
241 \major{73}{}{char
}{Computone IntelliPort II serial card -- control devices
}
242 \major{74}{}{char
}{SCI bridge
}
243 \major{75}{}{char
}{Specialix IO8+ serial card
}
244 \major{76}{}{char
}{Specialix IO8+ serial card -- alternate devices
}
245 \major{77}{}{char
}{ComScire Quantum Noise Generator
}
246 \major{78}{}{char
}{PAM Software's multimodem boards
}
247 \major{79}{}{char
}{PAM Software's multimodem boards -- alternate devices
}
248 \major{80}{}{char
}{Photometrics AT200 CCD camera
}
249 \major{81}{}{char
}{video4linux
}
250 \major{82}{}{char
}{WiNRADiO communications receiver card
}
251 \major{83}{}{char
}{Teletext/videotext interfaces
}
252 \major{84}{}{char
}{Ikon
1011[57] Versatec Greensheet Interface
}
253 \major{85}{}{char
}{Linux/SGI shared memory input queue
}
254 \major{86}{}{char
}{SCSI media changer
}
255 \major{87}{}{char
}{Sony Control-A1 stereo control bus
}
256 \major{88}{}{char
}{COMX synchronous serial card
}
257 \major{ }{}{block
}{Seventh IDE hard disk/CD-ROM interface
}
258 \major{89}{}{char
}{I$^
2$C bus interface
}
259 \major{ }{}{block
}{Eighth IDE hard disk/CD-ROM interface
}
260 \major{90}{}{char
}{Memory Technology Device (RAM, ROM, Flash)
}
261 \major{ }{}{block
}{Ninth IDE hard disk/CD-ROM interface
}
262 \major{91}{}{char
}{CAN-Bus controller
}
263 \major{ }{}{block
}{Tenth IDE hard disk/CD-ROM interface
}
264 \major{92}{}{char
}{Reserved for ith Kommunikationstechnik MIC ISDN card
}
265 \major{93}{}{char
}{IBM Smart Capture Card frame grabber
}
266 \major{94}{}{char
}{miroVIDEO DC10/
30 capture/playback device
}
267 \major{95}{}{char
}{IP filter
}
268 \major{96}{}{char
}{Parallel port ATAPI tape devices
}
269 \major{97}{}{char
}{Parallel port generic ATAPI interface
}
270 \major{98}{}{char
}{Control and Mesurement Device (comedi)
}
271 \major{99}{}{char
}{Raw parallel ports
}
272 \major{100}{}{char
}{POTS (analogue telephone) A/B port
}
273 \major{101}{}{char
}{Motorola DSP
56xxx board
}
274 \major{102}{}{char
}{Philips SAA5249 Teletext signal decoder
}
275 \major{103}{}{char
}{Arla network file system
}
276 \major{104}{}{char
}{Flash BIOS support
}
277 \major{105}{}{char
}{Comtrol VS-
1000 serial card
}
278 \major{106}{}{char
}{Comtrol VS-
1000 serial card -- alternate devices
}
279 \major{107}{}{char
}{3Dfx Voodoo Graphics device
}
280 \major{108}{}{char
}{Device independent PPP interface
}
281 \major{109}{}{char
}{Reserved for logical volume manager
}
282 \major{110}{}{char
}{miroMEDIA Surround board
}
283 \major{111}{--
119}{}{Unallocated
}
284 \major{120}{--
127}{}{Local/experimental use
}
285 \major{128}{--
135}{char
}{Unix98 PTY masters
}
286 \major{136}{--
143}{char
}{Unix98 PTY slaves
}
287 \major{144}{--
239}{}{Unallocated
}
288 \major{240}{--
254}{}{Local/experimental use
}
289 \major{255}{}{}{Reserved
}
292 \section{Minor numbers
}
295 \major{ 0}{}{}{Unnamed devices (e.g. non-device mounts)
}
296 \minor{0}{}{reserved as null device number
}
300 \major{ 1}{}{char
}{Memory devices
}
301 \minor{1}{/dev/mem
}{Physical memory access
}
302 \minor{2}{/dev/kmem
}{Kernel virtual memory access
}
303 \minor{3}{/dev/null
}{Null device
}
304 \minor{4}{/dev/port
}{I/O port access
}
305 \minor{5}{/dev/zero
}{Null byte source
}
306 \minor{6}{/dev/core
}{OBSOLETE -- should be a link to
{\file /proc/kcore
}}
307 \minor{7}{/dev/full
}{Returns ENOSPC on write
}
308 \minor{8}{/dev/random
}{Nondeterministic random number generator
}
309 \minor{9}{/dev/urandom
}{Less secure, but faster random number generator
}
311 \major{}{}{block
}{RAM disk
}
312 \minor{0}{/dev/ram0
}{First RAM disk
}
314 \minor{7}{/dev/ram7
}{Eighth RAM disk
}
315 \minor{250}{/dev/initrd
}{Initial RAM disk
}
319 Earlier kernels had
{\file /dev/ramdisk
} (
1,
1) here.
{\file /dev/initrd
}
320 refers to a RAM disk which was preloaded by the boot loader.
323 \major{ 2}{}{char
}{Pseudo-TTY masters
}
324 \minor{0}{/dev/ptyp0
}{First PTY master
}
325 \minor{1}{/dev/ptyp1
}{Second PTY master
}
327 \minor{255}{/dev/ptyef
}{256th PTY master
}
331 Pseudo-TTY's are named as follows:
333 \item Masters are
{\file pty
}, slaves are
{\file tty
};
334 \item the fourth letter is one of
{\file pqrstuvwxyzabcde
} indicating
335 the
1st through
16th series of
16 pseudo-ttys each, and
336 \item the fifth letter is one of
{\file 0123456789abcdef
} indicating
337 the position within the series.
341 These are the old-style (BSD) PTY devices; Unix98 devices are on major
342 128 and above and use the PTY master multiplex (
{\file /dev/ptmx
}) to
343 acquire a PTY on demand.
346 \major{}{}{block
}{Floppy disks
}
347 \minor{0}{/dev/fd0
}{Controller
1, drive
1 autodetect
}
348 \minor{1}{/dev/fd1
}{Controller
1, drive
2 autodetect
}
349 \minor{2}{/dev/fd2
}{Controller
1, drive
3 autodetect
}
350 \minor{3}{/dev/fd3
}{Controller
1, drive
4 autodetect
}
351 \minor{128}{/dev/fd4
}{Controller
2, drive
1 autodetect
}
352 \minor{129}{/dev/fd5
}{Controller
2, drive
2 autodetect
}
353 \minor{130}{/dev/fd6
}{Controller
2, drive
3 autodetect
}
354 \minor{131}{/dev/fd7
}{Controller
2, drive
4 autodetect
}
356 \major{}{}{}{To specify format, add to the autodetect device number
}
357 \minor{ 0}{/dev/fd?
}{Autodetect format
}
359 \minor{ 4}{/dev/fd?d360
}{5.25\tum\
\num{4}{360}K in a
\num{4}{360}K drive
\1}
360 \minor{ 20}{/dev/fd?h360
}{5.25\tum\
\num{4}{360}K in a
1200K drive
\1}
361 \minor{ 48}{/dev/fd?h410
}{5.25\tum\
\num{4}{410}K in a
1200K drive
}
362 \minor{ 64}{/dev/fd?h420
}{5.25\tum\
\num{4}{420}K in a
1200K drive
}
363 \minor{ 24}{/dev/fd?h720
}{5.25\tum\
\num{4}{720}K in a
1200K drive
}
364 \minor{ 80}{/dev/fd?h880
}{5.25\tum\
\num{4}{880}K in a
1200K drive
\1}
365 \minor{ 8}{/dev/fd?h1200
}{5.25\tum\
1200K in a
1200K drive
\1}
366 \minor{ 40}{/dev/fd?h1440
}{5.25\tum\
1440K in a
1200K drive
\1}
367 \minor{ 56}{/dev/fd?h1476
}{5.25\tum\
1476K in a
1200K drive
}
368 \minor{ 72}{/dev/fd?h1494
}{5.25\tum\
1494K in a
1200K drive
}
369 \minor{ 92}{/dev/fd?h1600
}{5.25\tum\
1600K in a
1200K drive
\1}
371 \minor{ 12}{/dev/fd?u360
}{3.5\tum\
\num{4}{360}K Double Density
\2}
372 \minor{ 16}{/dev/fd?u720
}{3.5\tum\
\num{4}{720}K Double Density
\1}
373 \minor{120}{/dev/fd?u800
}{3.5\tum\
\num{4}{800}K Double Density
\2}
374 \minor{ 52}{/dev/fd?u820
}{3.5\tum\
\num{4}{820}K Double Density
}
375 \minor{ 68}{/dev/fd?u830
}{3.5\tum\
\num{4}{830}K Double Density
}
376 \minor{ 84}{/dev/fd?u1040
}{3.5\tum\
1040K Double Density
\1}
377 \minor{ 88}{/dev/fd?u1120
}{3.5\tum\
1120K Double Density
\1}
378 \minor{ 28}{/dev/fd?u1440
}{3.5\tum\
1440K High Density
\1}
379 \minor{124}{/dev/fd?u1600
}{3.5\tum\
1600K High Density
\1}
380 \minor{ 44}{/dev/fd?u1680
}{3.5\tum\
1680K High Density
\3}
381 \minor{ 60}{/dev/fd?u1722
}{3.5\tum\
1722K High Density
}
382 \minor{ 76}{/dev/fd?u1743
}{3.5\tum\
1743K High Density
}
383 \minor{ 96}{/dev/fd?u1760
}{3.5\tum\
1760K High Density
}
384 \minor{116}{/dev/fd?u1840
}{3.5\tum\
1840K High Density
\3}
385 \minor{100}{/dev/fd?u1920
}{3.5\tum\
1920K High Density
\1}
386 \minor{ 32}{/dev/fd?u2880
}{3.5\tum\
2880K Extra Density
\1}
387 \minor{104}{/dev/fd?u3200
}{3.5\tum\
3200K Extra Density
}
388 \minor{108}{/dev/fd?u3520
}{3.5\tum\
3520K Extra Density
}
389 \minor{112}{/dev/fd?u3840
}{3.5\tum\
3840K Extra Density
\1}
391 \minor{36}{/dev/fd?CompaQ
}{Compaq
2880K drive; probably obsolete
}
393 \major{}{}{}{\1 Autodetectable format
}
394 \major{}{}{}{\2 Autodetectable format in a Double Density (
720K) drive only
}
395 \major{}{}{}{\3 Autodetectable format in a High Density (
1440K) drive only
}
398 NOTE: The letter in the device name (
{\file d
},
{\file q
},
{\file h
}
399 or
{\file u
}) signifies the type of drive supported:
5.25\tum\ Double
400 Density (
{\file d
}),
5.25\tum\ Quad Density (
{\file q
}),
5.25\tum\
401 High Density (
{\file h
}) or
3.5\tum\ (any type,
{\file u
}). The
402 capital letters
{\file D
},
{\file H
}, or
{\file E
} for the
3.5\tum\
403 models have been deprecated, since the drive type is insignificant for
407 \major{ 3}{}{char
}{Pseudo-TTY slaves
}
408 \minor{0}{/dev/ttyp0
}{First PTY slave
}
409 \minor{1}{/dev/ttyp1
}{Second PTY slave
}
411 \minor{255}{/dev/ttyef
}{256th PTY slave
}
415 These are the old-style (BSD) PTY devices; Unix98 devices are on major
419 \major{}{}{block
}{First MFM, RLL and IDE hard disk/CD-ROM interface
}
420 \minor{0}{/dev/hda
}{Master: whole disk (or CD-ROM)
}
421 \minor{64}{/dev/hdb
}{Slave: whole disk (or CD-ROM)
}
423 \major{}{}{}{For partitions, add to the whole disk device number
}
424 \minor{0}{/dev/hd?
}{Whole disk
}
425 \minor{1}{/dev/hd?
1}{First partition
}
426 \minor{2}{/dev/hd?
2}{Second partition
}
428 \minor{63}{/dev/hd?
63}{63rd partition
}
432 For MS-DOS style partition tables (typically used by Linux/i386 and
433 sometimes on Linux/Alpha), partitions
1-
4 are the primary partitions,
434 partitions
5 and up are logical partitions. For other partitioning
435 schemes, the meaning of the numbers vary.
438 \major{ 4}{}{char
}{TTY devices
}
439 \minor{0}{/dev/tty0
}{Current virtual console
}
440 \minor{1}{/dev/tty1
}{First virtual console
}
442 \minor{63}{/dev/tty63
}{63rd virtual console
}
443 \minor{64}{/dev/ttyS0
}{First serial port
}
445 \minor{127}{/dev/ttyS63
}{64th serial port
}
446 \minor{128}{/dev/ptyp0
}{OBSOLETE
}
448 \minor{191}{/dev/ptysf
}{OBSOLETE
}
449 \minor{192}{/dev/ttyp0
}{OBSOLETE
}
451 \minor{255}{/dev/ttysf
}{OBSOLETE
}
455 Older versions of the Linux kernel used this major number for BSD PTY
456 devices. As of Linux
2.1.115, this is no longer supported. Use major
460 \major{ 5}{}{char
}{Alternate TTY devices
}
461 \minor{0}{/dev/tty
}{Current TTY device
}
462 \minor{1}{/dev/console
}{System console
}
463 \minor{2}{/dev/ptmx
}{PTY master multiplex
}
464 \minor{64}{/dev/cua0
}{Callout device corresponding to
{\file ttyS0
}}
466 \minor{127}{/dev/cua63
}{Callout device corresponding to
{\file ttyS63
}}
470 (
5,
1) is
{\file /dev/console
} starting with Linux
2.1.71. See the
471 section on terminal devices for more information on
{\file /dev/console
}.
474 \major{ 6}{}{char
}{Parallel printer devices
}
475 \minor{0}{/dev/lp0
}{First parallel printer (
{\hex 0x3bc})
}
476 \minor{1}{/dev/lp1
}{Second parallel printer (
{\hex 0x378})
}
477 \minor{2}{/dev/lp2
}{Third parallel printer (
{\hex 0x278})
}
481 Not all computers have the
{\hex 0x3bc} parallel port, hence the
482 "first" printer may be either
{\file /dev/lp0
} or
{\file /dev/lp1
}.
485 \major{ 7}{}{char
}{Virtual console access devices
}
486 \minor{0}{/dev/vcs
}{Current vc text access
}
487 \minor{1}{/dev/vcs1
}{tty1 text access
}
489 \minor{63}{/dev/vcs63
}{tty63 text access
}
490 \minor{128}{/dev/vcsa
}{Current vc text/attribute access
}
491 \minor{129}{/dev/vcsa1
}{tty1 text/attribute access
}
493 \minor{191}{/dev/vcsa63
}{tty63 text/attribute access
}
497 NOTE: These devices permit both read and write access.
500 \major{ }{}{block
}{Loopback devices
}
501 \minor{0}{/dev/loop0
}{First loopback device
}
502 \minor{1}{/dev/loop1
}{Second loopback device
}
507 The loopback devices are used to mount filesystems not associated with
508 block devices. The binding to the loopback devices is handled by
509 {\bf mount
}(
8) or
{\bf losetup
}(
8).
512 \major{ 8}{}{block
}{SCSI disk devices (
0-
15)
}
513 \minor{0}{/dev/sda
}{First SCSI disk whole disk
}
514 \minor{16}{/dev/sdb
}{Second SCSI disk whole disk
}
515 \minor{32}{/dev/sdc
}{Third SCSI disk whole disk
}
517 \minor{240}{/dev/sdp
}{Sixteenth SCSI disk whole disk
}
521 Partitions are handled in the same way as for IDE disks (see major
522 number
3) except that the partition limit is
15 rather than
63 per
526 \major{ 9}{}{char
}{SCSI tape devices
}
527 \minor{0}{/dev/st0
}{First SCSI tape, mode
0}
528 \minor{1}{/dev/st1
}{Second SCSI tape, mode
0}
530 \minor{32}{/dev/st0l
}{First SCSI tape, mode
1}
531 \minor{33}{/dev/st1l
}{Second SCSI tape, mode
1}
533 \minor{64}{/dev/st0m
}{First SCSI tape, mode
2}
534 \minor{65}{/dev/st1m
}{Second SCSI tape, mode
2}
536 \minor{96}{/dev/st0a
}{First SCSI tape, mode
3}
537 \minor{97}{/dev/st1a
}{Second SCSI tape, mode
4}
539 \minor{128}{/dev/nst0
}{First SCSI tape, mode
0, no rewind
}
540 \minor{129}{/dev/nst1
}{Second SCSI tape, mode
0, no rewind
}
542 \minor{160}{/dev/nst0l
}{First SCSI tape, mode
1, no rewind
}
543 \minor{161}{/dev/nst1l
}{Second SCSI tape, mode
1, no rewind
}
545 \minor{192}{/dev/nst0m
}{First SCSI tape, mode
2, no rewind
}
546 \minor{193}{/dev/nst1m
}{Second SCSI tape, mode
2, no rewind
}
548 \minor{224}{/dev/nst0a
}{First SCSI tape, mode
3, no rewind
}
549 \minor{225}{/dev/nst1a
}{Second SCSI tape, mode
3, no rewind
}
554 ``No rewind'' refers to the omission of the default automatic rewind
555 on device close. The
{\file MTREW
} or
{\file MTOFFL
} ioctl()s can be
556 used to rewind the tape regardless of the device used to access it.
559 \major{ }{}{block
}{Metadisk (RAID) devices
}
560 \minor{0}{/dev/md0
}{First metadisk group
}
561 \minor{1}{/dev/md1
}{Second metadisk group
}
566 The metadisk driver is used to span a filesystem across multiple
570 \major{10}{}{char
}{Non-serial mice, misc features
}
571 \minor{0}{/dev/logibm
}{Logitech bus mouse
}
572 \minor{1}{/dev/psaux
}{PS/
2-style mouse port
}
573 \minor{2}{/dev/inportbm
}{Microsoft Inport bus mouse
}
574 \minor{3}{/dev/atibm
}{ATI XL bus mouse
}
575 \minor{4}{/dev/jbm
}{J-mouse
}
576 \minor{4}{/dev/amigamouse
}{Amiga mouse (
68k/Amiga)
}
577 \minor{5}{/dev/atarimouse
}{Atari mouse
}
578 \minor{6}{/dev/sunmouse
}{Sun mouse
}
579 \minor{7}{/dev/amigamouse1
}{Second Amiga mouse
}
580 \minor{8}{/dev/smouse
}{Simple serial mouse driver
}
581 \minor{9}{/dev/pc110pad
}{IBM PC-
110 digitizer pad
}
582 \minor{128}{/dev/beep
}{Fancy beep device
}
583 \minor{129}{/dev/modreq
}{Kernel module load request
}
584 \minor{130}{/dev/watchdog
}{Watchdog timer port
}
585 \minor{131}{/dev/temperature
}{Machine internal temperature
}
586 \minor{132}{/dev/hwtrap
}{Hardware fault trap
}
587 \minor{133}{/dev/exttrp
}{External device trap
}
588 \minor{134}{/dev/apm
\_bios}{Advanced Power Management BIOS
}
589 \minor{135}{/dev/rtc
}{Real Time Clock
}
590 \minor{139}{/dev/openprom
}{SPARC OpenBoot PROM
}
591 \minor{140}{/dev/relay8
}{Berkshire Products Octal relay card
}
592 \minor{141}{/dev/relay16
}{Berkshire Products ISO-
16 relay card
}
593 \minor{142}{/dev/msr
}{x86 model specific registers
}
594 \minor{143}{/dev/pciconf
}{PCI configuration space
}
595 \minor{144}{/dev/nvram
}{Non-volatile configuration RAM
}
596 \minor{145}{/dev/hfmodem
}{Soundcard shortwave modem control
}
597 \minor{146}{/dev/graphics
}{Linux/SGI graphics device
}
598 \minor{147}{/dev/opengl
}{Linux/SGI OpenGL pipe
}
599 \minor{148}{/dev/gfx
}{Linux/SGI graphics effects device
}
600 \minor{149}{/dev/input/mouse
}{Linux/SGI Irix emulation mouse
}
601 \minor{150}{/dev/input/keyboard
}{Linux/SGI Irix emulation keyboard
}
602 \minor{151}{/dev/led
}{Front panel LEDs
}
603 \minor{153}{/dev/mergemem
}{Memory merge device
}
604 \minor{154}{/dev/pmu
}{Macintosh PowerBook power manager
}
608 \major{11}{}{char
}{Raw keyboard device
}
609 \minor{0}{/dev/kbd
}{Raw keyboard device
}
613 The raw keyboard device is used on Linux/SPARC only.
616 \major{ }{}{block
}{SCSI CD-ROM devices
}
617 \minor{0}{/dev/sr0
}{First SCSI CD-ROM
}
618 \minor{1}{/dev/sr1
}{Second SCSI CD-ROM
}
623 The prefix
{\file /dev/scd
} instead of
{\file /dev/sr
} has been used
624 as well, and might make more sense.
627 \major{12}{}{char
}{QIC-
02 tape
}
628 \minor{2}{/dev/ntpqic11
}{QIC-
11, no rewind-on-close
}
629 \minor{3}{/dev/tpqic11
}{QIC-
11, rewind-on-close
}
630 \minor{4}{/dev/ntpqic24
}{QIC-
24, no rewind-on-close
}
631 \minor{5}{/dev/tpqic24
}{QIC-
24, rewind-on-close
}
632 \minor{6}{/dev/ntpqic120
}{QIC-
120, no rewind-on-close
}
633 \minor{7}{/dev/tpqic120
}{QIC-
120, rewind-on-close
}
634 \minor{8}{/dev/ntpqic150
}{QIC-
150, no rewind-on-close
}
635 \minor{9}{/dev/tpqic150
}{QIC-
150, rewind-on-close
}
639 The device names specified are proposed -- if there are ``standard''
640 names for these devices, please let me know.
643 \major{ }{}{block
}{MSCDEX CD-ROM callback support
}
644 \minor{0}{/dev/dos
\_cd0}{First MSCDEX CD-ROM
}
645 \minor{1}{/dev/dos
\_cd1}{Second MSCDEX CD-ROM
}
650 \major{13}{}{char
}{PC speaker
}
651 \minor{0}{/dev/pcmixer
}{Emulates
{\file /dev/mixer
}}
652 \minor{3}{/dev/pcsp
}{Emulates
{\file /dev/dsp
} (
8-bit)
}
653 \minor{4}{/dev/pcaudio
}{Emulates
{\file /dev/audio
}}
654 \minor{5}{/dev/pcsp16
}{Emulates
{\file /dev/dsp
} (
16-bit)
}
656 \major{ }{}{block
}{8-bit MFM/RLL/IDE controller
}
657 \minor{0}{/dev/xda
}{First XT disk whole disk
}
658 \minor{64}{/dev/xdb
}{Second XT disk whole disk
}
662 Partitions are handled in the same way as for IDE disks (see major
666 \major{14}{}{char
}{Sound card
}
667 \minor{0}{/dev/mixer
}{Mixer control
}
668 \minor{1}{/dev/sequencer
}{Audio sequencer
}
669 \minor{2}{/dev/midi00
}{First MIDI port
}
670 \minor{3}{/dev/dsp
}{Digital audio
}
671 \minor{4}{/dev/audio
}{Sun-compatible digital audio
}
672 \minor{6}{/dev/sndstat
}{Sound card status information
}
673 \minor{8}{/dev/sequencer2
}{Sequencer -- alternate device
}
674 \minor{16}{/dev/mixer1
}{Second soundcard mixer control
}
675 \minor{17}{/dev/patmgr0
}{Sequencer patch manager
}
676 \minor{18}{/dev/midi01
}{Second MIDI port
}
677 \minor{19}{/dev/dsp1
}{Second soundcard digital audio
}
678 \minor{20}{/dev/audio1
}{Second soundcard Sun digital audio
}
679 \minor{33}{/dev/patmgr1
}{Sequencer patch manager
}
680 \minor{34}{/dev/midi02
}{Third MIDI port
}
681 \minor{50}{/dev/midi03
}{Fourth MIDI port
}
683 \major{ }{}{block
}{BIOS harddrive callback support
}
684 \minor{0}{/dev/dos
\_hda}{First BIOS harddrive whole disk
}
685 \minor{64}{/dev/dos
\_hdb}{Second BIOS harddrive whole disk
}
686 \minor{128}{/dev/dos
\_hdc}{Third BIOS harddrive whole disk
}
687 \minor{192}{/dev/dos
\_hdd}{Fourth BIOS harddrive whole disk
}
691 Partitions are handled in the same way as for IDE disks (see major
695 \major{15}{}{char
}{Joystick
}
696 \minor{0}{/dev/js0
}{First analog joystick
}
697 \minor{1}{/dev/js1
}{Second analog joystick
}
699 \minor{128}{/dev/djs0
}{First digital joystick
}
700 \minor{129}{/dev/djs1
}{Second digital joystick
}
703 \major{ }{}{block
}{Sony CDU-
31A/CDU-
33A CD-ROM
}
704 \minor{0}{/dev/sonycd
}{Sony CDU-
31A CD-ROM
}
708 \major{16}{}{char
}{Non-SCSI scanners
}
709 \minor{0}{/dev/gs4500
}{Genius
4500 handheld scanner
}
711 \major{ }{}{block
}{GoldStar CD-ROM
}
712 \minor{0}{/dev/gscd
}{GoldStar CD-ROM
}
716 \major{17}{}{char
}{Chase serial card
}
717 \minor{0}{/dev/ttyH0
}{First Chase port
}
718 \minor{1}{/dev/ttyH1
}{Second Chase port
}
721 \major{ }{}{block
}{Optics Storage CD-ROM
}
722 \minor{0}{/dev/optcd
}{Optics Storage CD-ROM
}
726 \major{18}{}{char
}{Chase serial card -- alternate devices
}
727 \minor{0}{/dev/cuh0
}{Callout device corresponding to
{\file ttyH0
}}
728 \minor{1}{/dev/cuh1
}{Callout device corresponding to
{\file ttyH1
}}
731 \major{ }{}{block
}{Sanyo CD-ROM
}
732 \minor{0}{/dev/sjcd
}{Sanyo CD-ROM
}
736 \major{19}{}{char
}{Cyclades serial card
}
737 \minor{0}{/dev/ttyC0
}{First Cyclades port
}
739 \minor{31}{/dev/ttyC31
}{32nd Cyclades port
}
741 \major{ }{}{block
}{``Double'' compressed disk
}
742 \minor{0}{/dev/double0
}{First compressed disk
}
744 \minor{7}{/dev/double7
}{Eighth compressed disk
}
745 \minor{128}{/dev/cdouble0
}{Mirror of first compressed disk
}
747 \minor{135}{/dev/cdouble7
}{Mirror of eighth compressed disk
}
751 See the Double documentation for an explanation of the ``mirror'' devices.
754 \major{20}{}{char
}{Cyclades serial card -- alternate devices
}
755 \minor{0}{/dev/cub0
}{Callout device corresponding to
{\file ttyC0
}}
757 \minor{31}{/dev/cub31
}{Callout device corresponding to
{\file ttyC31
}}
759 \major{ }{}{block
}{Hitachi CD-ROM
}
760 \minor{0}{/dev/hitcd
}{Hitachi CD-ROM
}
764 \major{21}{}{char
}{Generic SCSI access
}
765 \minor{0}{/dev/sg0
}{First generic SCSI device
}
766 \minor{1}{/dev/sg1
}{Second generic SCSI device
}
771 Most distributions name these
{\file /dev/sga
},
{\file /dev/sgb
}...
772 This sets an unneccesary limit of
26 SCSI devices in the system, and
773 is counter to standard Linux device-naming practice.
776 \major{ }{}{block
}{Acorn MFM hard drive interface
}
777 \minor{0}{/dev/mfma
}{First MFM drive whole disk
}
778 \minor{64}{/dev/mfmb
}{Second MFM drive whole disk
}
782 This device is used on the ARM-based Acorn RiscPC. Partitions are
783 handled the same way as for IDE disks (see major number
3).
786 \major{22}{}{char
}{Digiboard serial card
}
787 \minor{0}{/dev/ttyD0
}{First Digiboard port
}
788 \minor{1}{/dev/ttyD1
}{Second Digiboard port
}
791 \major{ }{}{block
}{Second IDE hard disk/CD-ROM interface
}
792 \minor{0}{/dev/hdc
}{Master: whole disk (or CD-ROM)
}
793 \minor{64}{/dev/hdd
}{Slave: whole disk (or CD-ROM)
}
797 Partitions are handled the same way as for the first interface (see
801 \major{23}{}{char
}{Digiboard serial card -- alternate devices
}
802 \minor{0}{/dev/cud0
}{Callout device corresponding to
{\file ttyD0
}}
803 \minor{1}{/dev/cud1
}{Callout device corresponding to
{\file ttyD1
}}
805 \major{ }{}{block
}{Mitsumi proprietary CD-ROM
}
806 \minor{0}{/dev/mcd
}{Mitsumi CD-ROM
}
810 \major{24}{}{char
}{Stallion serial card
}
811 \minor{0}{/dev/ttyE0
}{Stallion port
0 board
0}
812 \minor{1}{/dev/ttyE1
}{Stallion port
1 board
0}
814 \minor{64}{/dev/ttyE64
}{Stallion port
0 board
1}
815 \minor{65}{/dev/ttyE65
}{Stallion port
1 board
1}
817 \minor{128}{/dev/ttyE128
}{Stallion port
0 board
2}
818 \minor{129}{/dev/ttyE129
}{Stallion port
1 board
2}
820 \minor{192}{/dev/ttyE192
}{Stallion port
0 board
3}
821 \minor{193}{/dev/ttyE193
}{Stallion port
1 board
3}
824 \major{ }{}{block
}{Sony CDU-
535 CD-ROM
}
825 \minor{0}{/dev/cdu535
}{Sony CDU-
535 CD-ROM
}
829 \major{25}{}{char
}{Stallion serial card -- alternate devices
}
830 \minor{0}{/dev/cue0
}{Callout device corresponding to
{\file ttyE0
}}
831 \minor{1}{/dev/cue1
}{Callout device corresponding to
{\file ttyE1
}}
833 \minor{64}{/dev/cue64
}{Callout device corresponding to
{\file ttyE64
}}
834 \minor{65}{/dev/cue65
}{Callout device corresponding to
{\file ttyE65
}}
836 \minor{128}{/dev/cue128
}{Callout device corresponding to
{\file ttyE128
}}
837 \minor{129}{/dev/cue129
}{Callout device corresponding to
{\file ttyE129
}}
839 \minor{192}{/dev/cue192
}{Callout device corresponding to
{\file ttyE192
}}
840 \minor{193}{/dev/cue193
}{Callout device corresponding to
{\file ttyE193
}}
843 \major{ }{}{block
}{First Matsushita (Panasonic/SoundBlaster) CD-ROM
}
844 \minor{0}{/dev/sbpcd0
}{Panasonic CD-ROM controller
0 unit
0}
845 \minor{1}{/dev/sbpcd1
}{Panasonic CD-ROM controller
0 unit
1}
846 \minor{2}{/dev/sbpcd2
}{Panasonic CD-ROM controller
0 unit
2}
847 \minor{3}{/dev/sbpcd3
}{Panasonic CD-ROM controller
0 unit
3}
851 \major{26}{}{char
}{Quanta WinVision frame grabber
}
852 \minor{0}{/dev/wvisfgrab
}{Quanta WinVision frame grabber
}
854 \major{ }{}{block
}{Second Matsushita (Panasonic/SoundBlaster) CD-ROM
}
855 \minor{0}{/dev/sbpcd4
}{Panasonic CD-ROM controller
1 unit
0}
856 \minor{1}{/dev/sbpcd5
}{Panasonic CD-ROM controller
1 unit
1}
857 \minor{2}{/dev/sbpcd6
}{Panasonic CD-ROM controller
1 unit
2}
858 \minor{3}{/dev/sbpcd7
}{Panasonic CD-ROM controller
1 unit
3}
862 \major{27}{}{char
}{QIC-
117 tape
}
863 \minor{0}{/dev/qft0
}{Unit
0, rewind-on-close
}
864 \minor{1}{/dev/qft1
}{Unit
1, rewind-on-close
}
865 \minor{2}{/dev/qft2
}{Unit
2, rewind-on-close
}
866 \minor{3}{/dev/qft3
}{Unit
3, rewind-on-close
}
867 \minor{4}{/dev/nqft0
}{Unit
0, no rewind-on-close
}
868 \minor{5}{/dev/nqft1
}{Unit
1, no rewind-on-close
}
869 \minor{6}{/dev/nqft2
}{Unit
2, no rewind-on-close
}
870 \minor{7}{/dev/nqft3
}{Unit
3, no rewind-on-close
}
871 \minor{16}{/dev/zqft0
}{Unit
0, rewind-on-close, compression
}
872 \minor{17}{/dev/zqft1
}{Unit
1, rewind-on-close, compression
}
873 \minor{18}{/dev/zqft2
}{Unit
2, rewind-on-close, compression
}
874 \minor{19}{/dev/zqft3
}{Unit
3, rewind-on-close, compression
}
875 \minor{20}{/dev/nzqft0
}{Unit
0, no rewind-on-close, compression
}
876 \minor{21}{/dev/nzqft1
}{Unit
1, no rewind-on-close, compression
}
877 \minor{22}{/dev/nzqft2
}{Unit
2, no rewind-on-close, compression
}
878 \minor{23}{/dev/nzqft3
}{Unit
3, no rewind-on-close, compression
}
879 \minor{32}{/dev/rawqft0
}{Unit
0, rewind-on-close, no file marks
}
880 \minor{33}{/dev/rawqft1
}{Unit
1, rewind-on-close, no file marks
}
881 \minor{34}{/dev/rawqft2
}{Unit
2, rewind-on-close, no file marks
}
882 \minor{35}{/dev/rawqft3
}{Unit
3, rewind-on-close, no file marks
}
883 \minor{36}{/dev/nrawqft0
}{Unit
0, no rewind-on-close, no file marks
}
884 \minor{37}{/dev/nrawqft1
}{Unit
1, no rewind-on-close, no file marks
}
885 \minor{38}{/dev/nrawqft2
}{Unit
2, no rewind-on-close, no file marks
}
886 \minor{39}{/dev/nrawqft3
}{Unit
3, no rewind-on-close, no file marks
}
888 \major{ }{}{block
}{Third Matsushita (Panasonic/SoundBlaster) CD-ROM
}
889 \minor{0}{/dev/sbpcd8
}{Panasonic CD-ROM controller
2 unit
0}
890 \minor{1}{/dev/sbpcd9
}{Panasonic CD-ROM controller
2 unit
1}
891 \minor{2}{/dev/sbpcd10
}{Panasonic CD-ROM controller
2 unit
2}
892 \minor{3}{/dev/sbpcd11
}{Panasonic CD-ROM controller
2 unit
3}
896 \major{28}{}{char
}{Stallion serial card -- card programming
}
897 \minor{0}{/dev/staliomem0
}{First Stallion I/O card memory
}
898 \minor{1}{/dev/staliomem1
}{Second Stallion I/O card memory
}
899 \minor{2}{/dev/staliomem2
}{Third Stallion I/O card memory
}
900 \minor{3}{/dev/staliomem3
}{Fourth Stallion I/O card memory
}
902 \major{ }{}{char
}{Atari SLM ACSI laser printer (
68k/Atari)
}
903 \minor{0}{/dev/slm0
}{First SLM laser printer
}
904 \minor{1}{/dev/slm1
}{Second SLM laser printer
}
907 \major{ }{}{block
}{Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
}
908 \minor{0}{/dev/sbpcd12
}{Panasonic CD-ROM controller
3 unit
0}
909 \minor{1}{/dev/sbpcd13
}{Panasonic CD-ROM controller
3 unit
1}
910 \minor{2}{/dev/sbpcd14
}{Panasonic CD-ROM controller
3 unit
2}
911 \minor{3}{/dev/sbpcd15
}{Panasonic CD-ROM controller
3 unit
3}
913 \major{ }{}{block
}{ACSI disk/CD-ROM (
68k/Atari)
}
914 \minor{0}{/dev/ada
}{First ACSI disk whole disk
}
915 \minor{16}{/dev/adb
}{Second ACSI disk whole disk
}
916 \minor{32}{/dev/adc
}{Third ACSI disk whole disk
}
918 \minor{240}{/dev/adp
}{Sixteenth ACSI disk whole disk
}
922 Partitions are handled in the same way as for IDE disks (see major
923 number
3) except that the partition limit is
15 rather than
63 per
927 \major{29}{}{char
}{Universal frame buffer
}
928 \minor{0}{/dev/fb0
}{First frame buffer
}
929 \minor{32}{/dev/fb1
}{Second frame buffer
}
930 \minor{64}{/dev/fb2
}{Third frame buffer
}
932 \minor{224}{/dev/fb7
}{Eighth frame buffer
}
936 All additional minor device numbers are reserved.
939 \major{ }{}{block
}{Aztech/Orchid/Okano/Wearnes CD-ROM
}
940 \minor{0}{/dev/aztcd
}{Aztech CD-ROM
}
944 \major{30}{}{char
}{iBCS-
2 compatibility devices
}
945 \minor{0}{/dev/socksys
}{Socket access
}
946 \minor{1}{/dev/spx
}{SVR3 local X interface
}
947 \minor{2}{/dev/inet/arp
}{Network access
}
948 \minor{2}{/dev/inet/icmp
}{Network access
}
949 \minor{2}{/dev/inet/ip
}{Network access
}
950 \minor{2}{/dev/inet/udp
}{Network access
}
951 \minor{2}{/dev/inet/tcp
}{Network access
}
955 Additionally, iBCS-
2 requires
{\file /dev/nfsd
} to be a link to
{\file
956 /dev/socksys
} and
{\file /dev/X0R
} to be a link to
{\file /dev/null
}.
959 \major{ }{}{block
}{Philips LMS CM-
205 CD-ROM
}
960 \minor{0}{/dev/cm205cd
}{Philips LMS CM-
205 CD-ROM
}
964 {\file /dev/lmscd
} is an older name for this drive. This driver does
965 not work with the CM-
205MS CD-ROM.
968 \major{31}{}{char
}{MPU-
401 MIDI
}
969 \minor{0}{/dev/mpu401data
}{MPU-
401 data port
}
970 \minor{1}{/dev/mpu401stat
}{MPU-
401 status port
}
972 \major{ }{}{block
}{ROM/flash memory card
}
973 \minor{0}{/dev/rom0
}{First ROM card (rw)
}
975 \minor{7}{/dev/rom7
}{Eighth ROM card (rw)
}
976 \minor{8}{/dev/rrom0
}{First ROM card (ro)
}
978 \minor{15}{/dev/rrom0
}{Eighth ROM card (ro)
}
979 \minor{16}{/dev/flash0
}{First flash memory card (rw)
}
981 \minor{23}{/dev/flash7
}{Eighth flash memory card (rw)
}
982 \minor{24}{/dev/rflash0
}{First flash memory card (ro)
}
984 \minor{31}{/dev/rflash7
}{Eighth flash memory card (ro)
}
988 The read-write (rw) devices support back-caching written data in RAM,
989 as well as writing to flash RAM devices. The read-only devices (ro)
990 support reading only.
993 \major{32}{}{char
}{Specialix serial card
}
994 \minor{0}{/dev/ttyX0
}{First Specialix port
}
995 \minor{1}{/dev/ttyX1
}{Second Specialix port
}
998 \major{ }{}{block
}{Philips LMS CM-
206 CD-ROM
}
999 \minor{0}{/dev/cm206cd
}{Philips LMS CM-
206 CD-ROM
}
1003 \major{33}{}{char
}{Specialix serial card -- alternate devices
}
1004 \minor{0}{/dev/cux0
}{Callout device corresponding to
{\file ttyX0
}}
1005 \minor{1}{/dev/cux1
}{Callout device corresponding to
{\file ttyX1
}}
1008 \major{ }{}{block
}{Third IDE hard disk/CD-ROM interface
}
1009 \minor{0}{/dev/hde
}{Master: whole disk (or CD-ROM)
}
1010 \minor{64}{/dev/hdf
}{Slave: whole disk (or CD-ROM)
}
1014 Partitions are handled the same way as for the first interface (see
1018 \major{34}{}{char
}{Z8530 HDLC driver
}
1019 \minor{0}{/dev/scc0
}{First Z8530, first port
}
1020 \minor{1}{/dev/scc1
}{First Z8530, second port
}
1021 \minor{2}{/dev/scc2
}{Second Z8530, first port
}
1022 \minor{3}{/dev/scc3
}{Second Z8530, second port
}
1027 In a previous version these devices were named
{\file /dev/sc1
} for
1028 {\file /dev/scc0
},
{\file /dev/sc2
} for
{\file /dev/scc1
}, and so on.
1031 \major{ }{}{block
}{Fourth IDE hard disk/CD-ROM interface
}
1032 \minor{0}{/dev/hdg
}{Master: whole disk (or CD-ROM)
}
1033 \minor{64}{/dev/hdh
}{Slave: whole disk (or CD-ROM)
}
1037 Partitions are handled the same way as for the first interface (see
1041 \major{35}{}{char
}{tclmidi MIDI driver
}
1042 \minor{0}{/dev/midi0
}{First MIDI port, kernel timed
}
1043 \minor{1}{/dev/midi1
}{Second MIDI port, kernel timed
}
1044 \minor{2}{/dev/midi2
}{Third MIDI port, kernel timed
}
1045 \minor{3}{/dev/midi3
}{Fourth MIDI port, kernel timed
}
1046 \minor{64}{/dev/rmidi0
}{First MIDI port, untimed
}
1047 \minor{65}{/dev/rmidi1
}{Second MIDI port, untimed
}
1048 \minor{66}{/dev/rmidi2
}{Third MIDI port, untimed
}
1049 \minor{67}{/dev/rmidi3
}{Fourth MIDI port, untimed
}
1050 \minor{128}{/dev/smpte0
}{First MIDI port, SMPTE timed
}
1051 \minor{129}{/dev/smpte1
}{Second MIDI port, SMPTE timed
}
1052 \minor{130}{/dev/smpte2
}{Third MIDI port, SMPTE timed
}
1053 \minor{131}{/dev/smpte3
}{Fourth MIDI port, SMPTE timed
}
1055 \major{ }{}{block
}{Slow memory ramdisk
}
1056 \minor{0}{/dev/slram
}{Slow memory ramdisk
}
1060 \major{36}{}{char
}{Netlink support
}
1061 \minor{0}{/dev/route
}{Routing, device updates (kernel to user)
}
1062 \minor{1}{/dev/skip
}{enSKIP security cache control
}
1064 \major{ }{}{block
}{MCA ESDI hard disk
}
1065 \minor{0}{/dev/eda
}{First ESDI disk whole disk
}
1066 \minor{64}{/dev/edb
}{Second ESDI disk whole disk
}
1071 Partitions are handled the same way as for IDE disks (see major number
1075 \major{37}{}{char
}{IDE tape
}
1076 \minor{0}{/dev/ht0
}{First IDE tape
}
1077 \minor{128}{/dev/nht0
}{First IDE tape, no rewind-on-close
}
1081 Currently, only one IDE tape drive is supported.
1084 \major{ }{}{block
}{Zorro II ramdisk
}
1085 \minor{0}{/dev/z2ram
}{Zorro II ramdisk
}
1089 \major{38}{}{char
}{Myricom PCI Myrinet board
}
1090 \minor{0}{/dev/mlanai0
}{First Myrinet board
}
1091 \minor{1}{/dev/mlanai1
}{Second Myrinet board
}
1096 This device is used for board control, status query and ``user level
1097 packet I/O''. The board is also accessible as a regular
{\file eth
}
1101 \major{ }{}{block
}{Reserved for Linux/AP+
}
1105 \major{39}{}{char
}{ML-
16P experimental I/O board
}
1106 \minor{0}{/dev/ml16pa-a0
}{First card, first analog channel
}
1107 \minor{1}{/dev/ml16pa-a1
}{First card, second analog channel
}
1109 \minor{15}{/dev/ml16pa-a15
}{First card,
16th analog channel
}
1110 \minor{16}{/dev/ml16pa-d
}{First card, digital lines
}
1111 \minor{17}{/dev/ml16pa-c0
}{First card, first counter/timer
}
1112 \minor{18}{/dev/ml16pa-c1
}{First card, second counter/timer
}
1113 \minor{19}{/dev/ml16pa-c2
}{First card, third counter/timer
}
1114 \minor{32}{/dev/ml16pb-a0
}{Second card, first analog channel
}
1115 \minor{33}{/dev/ml16pb-a1
}{Second card, second analog channel
}
1117 \minor{47}{/dev/ml16pb-a15
}{Second card,
16th analog channel
}
1118 \minor{48}{/dev/ml16pb-d
}{Second card, digital lines
}
1119 \minor{49}{/dev/ml16pb-c0
}{Second card, first counter/timer
}
1120 \minor{50}{/dev/ml16pb-c1
}{Second card, second counter/timer
}
1121 \minor{51}{/dev/ml16pb-c2
}{Second card, third counter/timer
}
1124 \major{ }{}{block
}{Reserved for Linux/AP+
}
1128 \major{40}{}{char
}{Matrox Meteor frame grabber
}
1129 \minor{0}{/dev/mmetfgrab
}{Matrox Meteor frame grabber
}
1131 \major{ }{}{block
}{Syquest EZ135 parallel port removable drive
}
1132 \minor{0}{/dev/eza
}{Parallel EZ135 drive whole disk
}
1136 This device is obsolete and will be removed in a future version of
1137 Linux. It has been replaced with the parallel port IDE disk driver at
1138 major number
45. Partitions are handled the same way as for IDE disks
1139 (see major number
3).
1142 \major{41}{}{char
}{Yet Another Micro Monitor
}
1143 \minor{0}{/dev/yamm
}{Yet Another Micro Monitor
}
1145 \major{ }{}{block
}{MicroSolutions BackPack parallel port CD-ROM
}
1146 \minor{0}{/dev/bpcd
}{BackPack CD-ROM
}
1150 This device is obsolete and will be removed in a future version of
1151 Linux. It has been replaced with the parallel port ATAPI CD-ROM
1152 driver at major number
46.
1155 \major{42}{}{}{Demo/sample use
}
1159 This number is intended for use in sample code, as well as a general
1160 ``example'' device number. It should never be used for a device
1161 driver that is being distributed; either obtain an official number or
1162 use the local/experimental range. The sudden addition or removal of a
1163 driver with this number should not cause ill effects to the system
1166 IN PARTICULAR, ANY DISTRIBUTION WHICH CONTAINS A DEVICE DRIVER USING
1167 MAJOR NUMBER
42 IS NONCOMPLIANT.
1170 \major{43}{}{char
}{isdn4linux virtual modem
}
1171 \minor{0}{/dev/ttyI0
}{First virtual modem
}
1173 \minor{63}{/dev/ttyI63
}{64th virtual modem
}
1175 \major{ }{}{block
}{Network block devices
}
1176 \minor{0}{/dev/nd0
}{First network block device
}
1177 \minor{1}{/dev/nd1
}{Second network block device
}
1182 Network Block Device is somehow similar to loopback devices: If you
1183 read from it, it sends packet accross network asking server for
1184 data. If you write to it, it sends packet telling server to write. It
1185 could be used to mounting filesystems over the net, swapping over the
1186 net, implementing block device in userland etc.
1189 \major{44}{}{char
}{isdn4linux virtual modem -- alternate devices
}
1190 \minor{0}{/dev/cui0
}{Callout device corresponding to
{\file ttyI0
}}
1192 \minor{63}{/dev/cui63
}{Callout device corresponding to
{\file ttyI63
}}
1194 \major{ }{}{block
}{Flash Translation Layer (FTL) filesystems
}
1195 \minor{0}{/dev/ftla
}{FTL on first Memory Technology Device
}
1196 \minor{16}{/dev/ftlb
}{FTL on second Memory Technology Device
}
1197 \minor{32}{/dev/ftlc
}{FTL on third Memory Technology Device
}
1199 \minor{240}{/dev/ftlp
}{FTL on
16th Memory Technology Device
}
1203 Partitions are handled in the same way as for IDE disks (see major
1204 number
3) expect that the partition limit is
15 rather than
63 per
1205 disk (same as SCSI.)
1208 \major{45}{}{char
}{isdn4linux ISDN BRI driver
}
1209 \minor{0}{/dev/isdn0
}{First virtual B channel raw data
}
1211 \minor{63}{/dev/isdn63
}{64th virtual B channel raw data
}
1212 \minor{64}{/dev/isdnctrl0
}{First channel control/debug
}
1214 \minor{127}{/dev/isdnctrl63
}{64th channel control/debug
}
1215 \minor{128}{/dev/ippp0
}{First SyncPPP device
}
1217 \minor{191}{/dev/ippp63
}{64th SyncPPP device
}
1218 \minor{255}{/dev/isdninfo
}{ISDN monitor interface
}
1220 \major{ }{}{block
}{Parallel port IDE disk devices
}
1221 \minor{0}{/dev/pda
}{First parallel port IDE disk
}
1222 \minor{16}{/dev/pdb
}{Second parallel port IDE disk
}
1223 \minor{32}{/dev/pdc
}{Third parallel port IDE disk
}
1224 \minor{48}{/dev/pdd
}{Fourth parallel port IDE disk
}
1228 Partitions are handled in the same way as for IDE disks (see major
1229 number
3) except that the partition limit is
15 rather than
63 per
1233 \major{46}{}{char
}{Comtrol Rocketport serial card
}
1234 \minor{0}{/dev/ttyR0
}{First Rocketport port
}
1235 \minor{1}{/dev/ttyR1
}{Second Rocketport port
}
1238 \major{ }{}{block
}{Parallel port ATAPI CD-ROM devices
}
1239 \minor{0}{/dev/pcd0
}{First parallel port ATAPI CD-ROM
}
1240 \minor{1}{/dev/pcd1
}{Second parallel port ATAPI CD-ROM
}
1241 \minor{2}{/dev/pcd2
}{Third parallel port ATAPI CD-ROM
}
1242 \minor{3}{/dev/pcd3
}{Fourth parallel port ATAPI CD-ROM
}
1246 \major{47}{}{char
}{Comtrol Rocketport serial card -- alternate devices
}
1247 \minor{0}{/dev/cur0
}{Callout device corresponding to
{\file ttyR0
}}
1248 \minor{1}{/dev/cur1
}{Callout device corresponding to
{\file ttyR1
}}
1251 \major{ }{}{block
}{Parallel port ATAPI disk devices
}
1252 \minor{0}{/dev/pf0
}{First parallel port ATAPI disk
}
1253 \minor{1}{/dev/pf1
}{Second parallel port ATAPI disk
}
1254 \minor{2}{/dev/pf2
}{Third parallel port ATAPI disk
}
1255 \minor{3}{/dev/pf3
}{Fourth parallel port ATAPI disk
}
1259 This driver is intended for floppy disks and similar devices and hence
1260 does not support partitioning.
1263 \major{48}{}{char
}{SDL RISCom serial card
}
1264 \minor{0}{/dev/ttyL0
}{First RISCom port
}
1265 \minor{1}{/dev/ttyL1
}{Second RISCom port
}
1268 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1272 \major{49}{}{char
}{SDL RISCom serial card -- alternate devices
}
1273 \minor{0}{/dev/cul0
}{Callout device corresponding to
{\file ttyL0
}}
1274 \minor{1}{/dev/cul1
}{Callout device corresponding to
{\file ttyL1
}}
1277 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1281 \major{50}{}{char
}{Reserved for GLINT
}
1283 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1287 \major{51}{}{char
}{Baycom radio modem
}
1288 \minor{0}{/dev/bc0
}{First Baycom radio modem
}
1289 \minor{1}{/dev/bc1
}{Second Baycom radio modem
}
1292 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1296 \major{52}{}{char
}{Spellcaster DataComm/BRI ISDN card
}
1297 \minor{0}{/dev/dcbri0
}{First DataComm card
}
1298 \minor{1}{/dev/dcbri1
}{Second DataComm card
}
1299 \minor{2}{/dev/dcbri2
}{Third DataComm card
}
1300 \minor{3}{/dev/dcbri3
}{Fourth DataComm card
}
1302 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1306 \major{53}{}{char
}{BDM interface for remote debugging MC683xx microcontrollers
}
1307 \minor{0}{/dev/pd
\_bdm0}{PD BDM interface on
{\file lp0
}}
1308 \minor{1}{/dev/pd
\_bdm1}{PD BDM interface on
{\file lp1
}}
1309 \minor{2}{/dev/pd
\_bdm2}{PD BDM interface on
{\file lp2
}}
1310 \minor{4}{/dev/icd
\_bdm0}{ICD BDM interface on
{\file lp0
}}
1311 \minor{5}{/dev/icd
\_bdm1}{ICD BDM interface on
{\file lp1
}}
1312 \minor{6}{/dev/icd
\_bdm2}{ICD BDM interface on
{\file lp2
}}
1316 This device is used for the interfacing to the MC683xx
1317 microcontrollers via Background Debug Mode by use of a Parallel Port
1318 interface. PD is the Motorola Public Domain Interface and ICD is the
1319 commercial interface by P\&E.
1322 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1326 \major{54}{}{char
}{Electrocardiognosis Holter serial card
}
1327 \minor{0}{/dev/holter0
}{First Holter port
}
1328 \minor{1}{/dev/holter1
}{Second Holter port
}
1329 \minor{2}{/dev/holter2
}{Third Holter port
}
1333 A custom serial card used by Electrocardiognosis SRL
1334 $<$mseritan@ottonel.pub.ro$>$ to transfer data from Holter
24-hour
1335 heart monitoring equipment.
1338 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1342 \major{55}{}{char
}{DSP56001 digital signal processor
}
1343 \minor{0}{/dev/dsp56k
}{First DSP56001
}
1345 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1349 \major{56}{}{char
}{Apple Desktop Bus
}
1350 \minor{0}{/dev/adb
}{ADB bus control
}
1354 Additional devices will be added to this number, all starting with
1358 \major{ }{}{block
}{Fifth IDE hard disk/CD-ROM interface
}
1359 \minor{0}{/dev/hdi
}{Master: whole disk (or CD-ROM)
}
1360 \minor{64}{/dev/hdj
}{Slave: whole disk (or CD-ROM)
}
1364 Partitions are handled the same way as for the first interface (see
1368 \major{57}{}{char
}{Hayes ESP serial card
}
1369 \minor{0}{/dev/ttyP0
}{First ESP port
}
1370 \minor{1}{/dev/ttyP1
}{Second ESP port
}
1373 \major{ }{}{block
}{Sixth IDE hard disk/CD-ROM interface
}
1374 \minor{0}{/dev/hdk
}{Master: whole disk (or CD-ROM)
}
1375 \minor{64}{/dev/hdl
}{Slave: whole disk (or CD-ROM)
}
1379 Partitions are handled the same way as for the first interface (see
1383 \major{58}{}{char
}{Hayes ESP serial card -- alternate devices
}
1384 \minor{0}{/dev/cup0
}{Callout device corresponding to
{\file ttyP0
}}
1385 \minor{1}{/dev/cup1
}{Callout device corresponding to
{\file ttyP1
}}
1388 \major{ }{}{block
}{Reserved for logical volume manager
}
1392 \major{59}{}{char
}{sf firewall package
}
1393 \minor{0}{/dev/firewall
}{Communication with sf kernel module
}
1397 \major{60}{--
63}{}{Local/experimental use
}
1401 For devices not assigned official numbers, these ranges should be
1402 used, in order to avoid conflict with future assignments.
1405 \major{64}{}{char
}{ENskip kernel encryption package
}
1406 \minor{0}{/dev/enskip
}{Communication with ENskip kernel
1411 \major{65}{}{char
}{Sundance ``plink'' Transputer boards
}
1412 \minor{0}{/dev/plink0
}{First plink device
}
1413 \minor{1}{/dev/plink1
}{Second plink device
}
1414 \minor{2}{/dev/plink2
}{Third plink device
}
1415 \minor{3}{/dev/plink3
}{Fourth plink device
}
1416 \minor{64}{/dev/rplink0
}{First plink device, raw
}
1417 \minor{65}{/dev/rplink1
}{Second plink device, raw
}
1418 \minor{66}{/dev/rplink2
}{Third plink device, raw
}
1419 \minor{67}{/dev/rplink3
}{Fourth plink device, raw
}
1420 \minor{128}{/dev/plink0d
}{First plink device, debug
}
1421 \minor{129}{/dev/plink1d
}{Second plink device, debug
}
1422 \minor{130}{/dev/plink2d
}{Third plink device, debug
}
1423 \minor{131}{/dev/plink3d
}{Fourth plink device, debug
}
1424 \minor{192}{/dev/rplink0d
}{First plink device, raw, debug
}
1425 \minor{193}{/dev/rplink1d
}{Second plink device, raw, debug
}
1426 \minor{194}{/dev/rplink2d
}{Third plink device, raw, debug
}
1427 \minor{195}{/dev/rplink3d
}{Fourth plink device, raw, debug
}
1431 This is a commercial driver; contact James Howes
1432 $<$jth@prosig.demon.co.uk$>$ for information.
1435 \major{ }{}{block
}{SCSI disk devices (
16-
31)
}
1436 \minor{0}{/dev/sdq
}{17th SCSI disk whole disk
}
1437 \minor{16}{/dev/sdr
}{18th SCSI disk whole disk
}
1438 \minor{32}{/dev/sds
}{19th SCSI disk whole disk
}
1440 \minor{240}{/dev/sdaf
}{32nd SCSI disk whole disk
}
1444 Partitions are handled in the same way as for IDE disks (see major
1445 number
3) except that the partition limit is
15 rather than
63 per
1449 \major{66}{}{char
}{YARC PowerPC PCI coprocessor card
}
1450 \minor{0}{/dev/yppcpci0
}{First YARC card
}
1451 \minor{1}{/dev/yppcpci1
}{Second YARC card
}
1456 \major{ }{}{block
}{SCSI disk devices (
32-
47)
}
1457 \minor{0}{/dev/sdag
}{33rd SCSI disk whole disk
}
1458 \minor{16}{/dev/sdah
}{34th SCSI disk whole disk
}
1459 \minor{32}{/dev/sdai
}{35th SCSI disk whole disk
}
1461 \minor{240}{/dev/sdav
}{48th SCSI disk whole disk
}
1465 Partitions are handled in the same way as for IDE disks (see major
1466 number
3) except that the partition limit is
15 rather than
63 per
1470 \major{67}{}{char
}{Coda network filesystem
}
1471 \minor{0}{/dev/cfs0
}{Coda cache manager
}
1475 See
{\url http://www.coda.cs.cmu.edu\/
} for information about Coda.
1478 \major{ }{}{block
}{SCSI disk devices (
48-
63)
}
1479 \minor{0}{/dev/sdaw
}{49th SCSI disk whole disk
}
1480 \minor{16}{/dev/sdax
}{50th SCSI disk whole disk
}
1481 \minor{32}{/dev/sday
}{51st SCSI disk whole disk
}
1483 \minor{240}{/dev/sdbl
}{64th SCSI disk whole disk
}
1487 Partitions are handled in the same way as for IDE disks (see major
1488 number
3) except that the partition limit is
15 rather than
63 per
1492 \major{68}{}{char
}{CAPI
2.0 interface
}
1493 \minor{0}{/dev/capi20
}{Control device
}
1494 \minor{1}{/dev/capi20.00
}{First CAPI
2.0 application
}
1495 \minor{2}{/dev/capi20.01
}{Second CAPI
2.0 application
}
1497 \minor{20}{/dev/capi20.19
}{19th CAPI
2.0 application
}
1501 ISDN CAPI
2.0 driver for use with CAPI
2.0 applications; currently
1502 supports the AVM B1 card.
1505 \major{ }{}{block
}{SCSI disk devices (
64-
79)
}
1506 \minor{0}{/dev/sdbm
}{65th SCSI disk whole disk
}
1507 \minor{16}{/dev/sdbn
}{66th SCSI disk whole disk
}
1508 \minor{32}{/dev/sdbo
}{67th SCSI disk whole disk
}
1510 \minor{240}{/dev/sdcb
}{80th SCSI disk whole disk
}
1514 Partitions are handled in the same way as for IDE disks (see major
1515 number
3) except that the partition limit is
15 rather than
63 per
1519 \major{69}{}{char
}{MA16 numeric accelerator card
}
1520 \minor{0}{/dev/ma16
}{Board memory access
}
1524 \major{ }{}{block
}{SCSI disk devices (
80-
95)
}
1525 \minor{0}{/dev/sdcc
}{81st SCSI disk whole disk
}
1526 \minor{16}{/dev/sdcd
}{82nd SCSI disk whole disk
}
1527 \minor{32}{/dev/sdce
}{83th SCSI disk whole disk
}
1529 \minor{240}{/dev/sdcr
}{96th SCSI disk whole disk
}
1533 Partitions are handled in the same way as for IDE disks (see major
1534 number
3) except that the partition limit is
15 rather than
63 per
1538 \major{70}{}{char
}{SpellCaster Protocol Services Interface
}
1539 \minor{0}{/dev/apscfg
}{Configuration interface
}
1540 \minor{1}{/dev/apsauth
}{Authentication interface
}
1541 \minor{2}{/dev/apslog
}{Logging interface
}
1542 \minor{3}{/dev/apsdbg
}{Debugging interface
}
1543 \minor{64}{/dev/apsisdn
}{ISDN command interface
}
1544 \minor{65}{/dev/apsasync
}{Async command interface
}
1545 \minor{128}{/dev/apsmon
}{Monitor interface
}
1549 \major{ }{}{block
}{SCSI disk devices (
96-
111)
}
1550 \minor{0}{/dev/sdcs
}{97th SCSI disk whole disk
}
1551 \minor{16}{/dev/sdct
}{98th SCSI disk whole disk
}
1552 \minor{32}{/dev/sdcu
}{99th SCSI disk whole disk
}
1554 \minor{240}{/dev/sddh
}{112th SCSI disk whole disk
}
1558 Partitions are handled in the same way as for IDE disks (see major
1559 number
3) except that the partition limit is
15 rather than
63 per
1563 \major{71}{}{char
}{Computone IntelliPort II serial card
}
1564 \minor{0}{/dev/ttyF0
}{IntelliPort II board
0, port
0}
1565 \minor{1}{/dev/ttyF1
}{IntelliPort II board
0, port
1}
1567 \minor{63}{/dev/ttyF63
}{IntelliPort II board
0, port
63}
1568 \minor{64}{/dev/ttyF64
}{IntelliPort II board
1, port
0}
1569 \minor{65}{/dev/ttyF65
}{IntelliPort II board
1, port
1}
1571 \minor{127}{/dev/ttyF127
}{IntelliPort II board
1, port
63}
1572 \minor{128}{/dev/ttyF128
}{IntelliPort II board
2, port
0}
1573 \minor{129}{/dev/ttyF129
}{IntelliPort II board
2, port
1}
1575 \minor{191}{/dev/ttyF191
}{IntelliPort II board
2, port
63}
1576 \minor{192}{/dev/ttyF192
}{IntelliPort II board
3, port
0}
1577 \minor{193}{/dev/ttyF193
}{IntelliPort II board
3, port
1}
1579 \minor{255}{/dev/ttyF255
}{IntelliPort II board
3, port
63}
1583 \major{ }{}{block
}{SCSI disk devices (
112-
127)
}
1584 \minor{0}{/dev/sddi
}{113th SCSI disk whole disk
}
1585 \minor{16}{/dev/sddj
}{114th SCSI disk whole disk
}
1586 \minor{32}{/dev/sddk
}{115th SCSI disk whole disk
}
1588 \minor{240}{/dev/sddx
}{128th SCSI disk whole disk
}
1592 Partitions are handled in the same way as for IDE disks (see major
1593 number
3) except that the partition limit is
15 rather than
63 per
1597 \major{72}{}{char
}{Computone IntelliPort II serial card -- alternate devices
}
1598 \minor{0}{/dev/cuf0
}{Callout device corresponding to
{\file ttyF0
}}
1599 \minor{1}{/dev/cuf1
}{Callout device corresponding to
{\file ttyF1
}}
1601 \minor{63}{/dev/cuf63
}{Callout device corresponding to
{\file ttyF63
}}
1602 \minor{64}{/dev/cuf64
}{Callout device corresponding to
{\file ttyF64
}}
1603 \minor{65}{/dev/cuf65
}{Callout device corresponding to
{\file ttyF65
}}
1605 \minor{127}{/dev/cuf127
}{Callout device corresponding to
{\file ttyF127
}}
1606 \minor{128}{/dev/cuf128
}{Callout device corresponding to
{\file ttyF128
}}
1607 \minor{129}{/dev/cuf129
}{Callout device corresponding to
{\file ttyF129
}}
1609 \minor{191}{/dev/cuf191
}{Callout device corresponding to
{\file ttyF191
}}
1610 \minor{192}{/dev/cuf192
}{Callout device corresponding to
{\file ttyF192
}}
1611 \minor{193}{/dev/cuf193
}{Callout device corresponding to
{\file ttyF193
}}
1613 \minor{255}{/dev/cuf255
}{Callout device corresponding to
{\file ttyF255
}}
1617 \major{73}{}{char
}{Computone IntelliPort II serial card -- control devices
}
1618 \minor{0}{/dev/ip2ipl0
}{Loadware device for board
0}
1619 \minor{1}{/dev/ip2stat0
}{Status device for board
0}
1620 \minor{4}{/dev/ip2ipl1
}{Loadware device for board
1}
1621 \minor{5}{/dev/ip2stat1
}{Status device for board
1}
1622 \minor{8}{/dev/ip2ipl2
}{Loadware device for board
2}
1623 \minor{9}{/dev/ip2stat2
}{Status device for board
2}
1624 \minor{12}{/dev/ip2ipl3
}{Loadware device for board
3}
1625 \minor{13}{/dev/ip2stat3
}{Status device for board
3}
1629 \major{74}{}{char
}{SCI bridge
}
1630 \minor{0}{/dev/SCI/
0}{SCI device
0}
1631 \minor{1}{/dev/SCI/
1}{SCI device
1}
1636 Currently for Dolphin Interconnect Solutions' PCI-SCI bridge.
1639 \major{75}{}{char
}{Specialix IO8+ serial card
}
1640 \minor{0}{/dev/ttyW0
}{First IO8+ port, first card
}
1641 \minor{1}{/dev/ttyW1
}{Second IO8+ port, first card
}
1643 \minor{8}{/dev/ttyW8
}{First IO8+ port, second card
}
1648 \major{76}{}{char
}{Specialix IO8+ serial card -- alternate devices
}
1649 \minor{0}{/dev/cuw0
}{Callout device corresponding to
{\file ttyW0
}}
1650 \minor{1}{/dev/cuw1
}{Callout device corresponding to
{\file ttyW1
}}
1652 \minor{8}{/dev/cuw8
}{Callout device corresponding to
{\file ttyW8
}}
1657 \major{77}{}{char
}{ComScire Quantum Noise Generator
}
1658 \minor{0}{/dev/qng
}{ComScire Quantum Noise Generator
}
1662 \major{78}{}{char
}{PAM Software's multimodem boards
}
1663 \minor{0}{/dev/ttyM0
}{First PAM modem
}
1664 \minor{1}{/dev/ttyM1
}{Second PAM modem
}
1669 \major{79}{}{char
}{PAM Software's multimodem boards -- alternate devices
}
1670 \minor{0}{/dev/cum0
}{Callout device corresponding to
{\file ttyM0
}}
1671 \minor{1}{/dev/cum1
}{Callout device corresponding to
{\file ttyM1
}}
1676 \major{80}{}{char
}{Photometrics AT200 CCD camera
}
1677 \minor{0}{/dev/at200
}{Photometrics AT200 CCD camera
}
1681 \major{81}{}{char
}{video4linux
}
1682 \minor{0}{/dev/video0
}{Video capture/overlay device
}
1684 \minor{63}{/dev/video63
}{Video capture/overlay device
}
1685 \minor{64}{/dev/radio0
}{Radio device
}
1687 \minor{127}{/dev/radio63
}{Radio device
}
1688 \minor{192}{/dev/vtx0
}{Teletext device
}
1690 \minor{223}{/dev/vtx31
}{Teletext device
}
1691 \minor{224}{/dev/vbi0
}{Vertical blank interupt
}
1693 \minor{255}{/dev/vbi31
}{Vertical blank interupt
}
1697 \major{82}{}{char
}{WiNRADiO communications receiver card
}
1698 \minor{0}{/dev/winradio0
}{First WiNRADiO card
}
1699 \minor{1}{/dev/winradio1
}{Second WiNRADiO card
}
1704 The driver and documentation may be obtained from
1705 {\url http://www.proximity.com.au/~brian/winradio/\/
}.
1708 \major{83}{}{char
}{Teletext/videotext interfaces
}
1709 \minor{0}{/dev/vtx
}{Teletext decoder
}
1710 \minor{16}{/dev/vttuner
}{TV tuner on teletext interface
}
1714 Devices for the driver contained in the VideoteXt package. More information
1715 on
{\url http://home.pages.de/~videotext/\/
}.
1718 \major{84}{}{char
}{Ikon
1011[57] Versatec Greensheet Interface
}
1719 \minor{0}{/dev/ihcp0
}{First Greensheet port
}
1720 \minor{1}{/dev/ihcp1
}{Second Greensheet port
}
1724 \major{85}{}{char
}{Linux/SGI shared memory input queue
}
1725 \minor{0}{/dev/shmiq
}{Master shared input queue
}
1726 \minor{1}{/dev/qcntl0
}{First device pushed
}
1727 \minor{2}{/dev/qcntl1
}{Second device pushed
}
1732 \major{86}{}{char
}{SCSI media changer
}
1733 \minor{0}{/dev/sch0
}{First SCSI media changer
}
1734 \minor{1}{/dev/sch1
}{Second SCSI media changer
}
1739 \major{87}{}{char
}{Sony Control-A1 stereo control bus
}
1740 \minor{0}{/dev/controla0
}{First device on chain
}
1741 \minor{1}{/dev/controla1
}{Second device on chain
}
1746 \major{88}{}{char
}{COMX synchronous serial card
}
1747 \minor{0}{/dev/comx0
}{Channel
0}
1748 \minor{1}{/dev/comx1
}{Channel
1}
1753 \major{ }{}{block
}{Seventh IDE hard disk/CD-ROM interface
}
1754 \minor{0}{/dev/hdm
}{Master: whole disk (or CD-ROM)
}
1755 \minor{64}{/dev/hdn
}{Slave: whole disk (or CD-ROM)
}
1759 Partitions are handled the same way as for the first interface (see
1763 \major{89}{}{char
}{I$^
2$C bus interface
}
1764 \minor{0}{/dev/i2c0
}{First I$^
2$C adapter
}
1765 \minor{1}{/dev/i2c1
}{Second I$^
2$C adapter
}
1770 \major{ }{}{block
}{Eighth IDE hard disk/CD-ROM interface
}
1771 \minor{0}{/dev/hdo
}{Master: whole disk (or CD-ROM)
}
1772 \minor{64}{/dev/hdp
}{Slave: whole disk (or CD-ROM)
}
1776 Partitions are handled the same way as for the first interface (see
1780 \major{90}{}{char
}{Memory Technology Device (RAM, ROM, Flash)
}
1781 \minor{0}{/dev/mtd0
}{First MTD (rw)
}
1782 \minor{1}{/dev/mtdr0
}{First MTD (ro)
}
1784 \minor{30}{/dev/mtd15
}{16th MTD (rw)
}
1785 \minor{31}{/dev/mtdr15
}{16th MTD (ro)
}
1789 \major{ }{}{block
}{Ninth IDE hard disk/CD-ROM interface
}
1790 \minor{0}{/dev/hdq
}{Master: whole disk (or CD-ROM)
}
1791 \minor{64}{/dev/hdr
}{Slave: whole disk (or CD-ROM)
}
1795 Partitions are handled the same way as for the first interface (see
1799 \major{91}{}{char
}{CAN-Bus controller
}
1800 \minor{0}{/dev/can0
}{First CAN-Bus controller
}
1801 \minor{1}{/dev/can1
}{Second CAN-Bus controller
}
1806 \major{ }{}{block
}{Tenth IDE hard disk/CD-ROM interface
}
1807 \minor{0}{/dev/hds
}{Master: whole disk (or CD-ROM)
}
1808 \minor{64}{/dev/hdt
}{Slave: whole disk (or CD-ROM)
}
1812 Partitions are handled the same way as for the first interface (see
1816 \major{92}{}{char
}{Reserved for ith Kommunikationstechnik MIC ISDN card
}
1820 \major{93}{}{char
}{IBM Smart Capture Card frame grabber
}
1821 \minor{0}{/dev/iscc0
}{First Smart Capture Card
}
1822 \minor{1}{/dev/iscc1
}{Second Smart Capture Card
}
1824 \minor{128}{/dev/isccctl0
}{First Smart Capture Card control
}
1825 \minor{129}{/dev/isccctl1
}{Second Smart Capture Card control
}
1830 \major{94}{}{char
}{miroVIDEO DC10/
30 capture/playback device
}
1831 \minor{0}{/dev/dcxx0
}{First capture card
}
1832 \minor{1}{/dev/dcxx1
}{Second capture card
}
1837 \major{95}{}{char
}{IP filter
}
1838 \minor{0}{/dev/ipl
}{Filter control device/log file
}
1839 \minor{1}{/dev/ipnat
}{NAT control device/log file
}
1840 \minor{2}{/dev/ipstate
}{State information log file
}
1841 \minor{3}{/dev/ipauth
}{Authentication control device/log file
}
1845 \major{96}{}{char
}{Parallel port ATAPI tape devices
}
1846 \minor{0}{/dev/pt0
}{First parallel port ATAPI tape
}
1847 \minor{1}{/dev/pt1
}{Second parallel port ATAPI tape
}
1848 \minor{2}{/dev/pt2
}{Third parallel port ATAPI tape
}
1849 \minor{3}{/dev/pt3
}{Fourth parallel port ATAPI tape
}
1850 \minor{128}{/dev/npt0
}{First parallel port ATAPI tape, no rewind
}
1851 \minor{129}{/dev/npt1
}{Second parallel port ATAPI tape, no rewind
}
1852 \minor{130}{/dev/npt2
}{Third parallel port ATAPI tape, no rewind
}
1853 \minor{131}{/dev/npt3
}{Fourth parallel port ATAPI tape, no rewind
}
1857 \major{97}{}{char
}{Parallel port generic ATAPI interface
}
1858 \minor{0}{/dev/pg0
}{First parallel port ATAPI device
}
1859 \minor{1}{/dev/pg1
}{Second parallel port ATAPI device
}
1860 \minor{2}{/dev/pg2
}{Third parallel port ATAPI device
}
1861 \minor{3}{/dev/pg3
}{Fourth parallel port ATAPI device
}
1865 These devices support the same API as the generic SCSI devices.
1868 \major{98}{}{char
}{Control and Mesurement Device (comedi)
}
1869 \minor{0}{/dev/comedi0
}{First comedi device
}
1870 \minor{1}{/dev/comedi1
}{Second comedi device
}
1875 See
{\url http://stm.lbl.gov/comedi/
} or
{\url
1876 http://www.llp.fu-berlin.de/
}.
1879 \major{99}{}{char
}{Raw parallel ports
}
1880 \minor{0}{/dev/parport0
}{First parallel port
}
1881 \minor{1}{/dev/parport1
}{Second parallel port
}
1886 These devices can be used to drive parallel port devices from
1887 user-space while interacting with the parport sharing code.
1890 \major{100}{}{char
}{POTS (analogue telephone) A/B port
}
1891 \minor{0}{/dev/phone0
}{First telephone port
}
1892 \minor{1}{/dev/phone1
}{Second telephone port
}
1897 \major{101}{}{char
}{Motorola DSP
56xxx board
}
1898 \minor{0}{/dev/mdspstat
}{Status information
}
1899 \minor{1}{/dev/mdsp1
}{First DSP board I/O and controls
}
1901 \minor{16}{/dev/mdsp16
}{16th DSP board I/O and controls
}
1905 \major{102}{}{char
}{Philips SAA5249 Teletext signal decoder
}
1906 \minor{0}{/dev/tlk0
}{First Teletext decoder
}
1907 \minor{1}{/dev/tlk1
}{Second Teletext decoder
}
1908 \minor{2}{/dev/tlk2
}{Third Teletext decoder
}
1909 \minor{3}{/dev/tlk3
}{Fourth Teletext decoder
}
1913 \major{103}{}{char
}{Arla network file system
}
1914 \minor{0}{/dev/xfs0
}{Arla XFS
}
1918 Arla is a free clone of the Andrew File System, AFS. Any resemblance
1919 with the Swedish milk producer is coincidental. For more information
1920 about the project, write to $<$arla-drinkers@stacken.kth.se$>$ or
1921 subscribe to the arla-announce mailing list by sending a mail to
1922 $<$arla-announce-request@stacken.kth.se$>$.
1925 \major{104}{}{char
}{Flash BIOS support
}
1929 \major{105}{}{char
}{Comtrol VS-
1000 serial card
}
1930 \minor{0}{/dev/ttyV0
}{First VS-
1000 port
}
1931 \minor{1}{/dev/ttyV1
}{Second VS-
1000 port
}
1936 \major{106}{}{char
}{Comtrol VS-
1000 serial card -- alternate devices
}
1937 \minor{0}{/dev/cuv0
}{Callout device corresponding to
{\file ttyV0
}}
1938 \minor{1}{/dev/cuv1
}{Callout device corresponding to
{\file ttyV1
}}
1943 \major{107}{}{char
}{3Dfx Voodoo Graphics device
}
1944 \minor{0}{/dev/
3dfx
}{Primary
3Dfx graphics device
}
1948 \major{108}{}{char
}{Device independent PPP interface
}
1949 \minor{0}{/dev/ppp
}{Device independent PPP interface
}
1953 \major{109}{}{char
}{Reserved for logical volume manager
}
1957 \major{110}{}{char
}{miroMEDIA Surround board
}
1958 \minor{0}{/dev/srnd0
}{First miroMEDIA Surround board
}
1959 \minor{1}{/dev/srnd1
}{First miroMEDIA Surround board
}
1964 \major{111}{--
119}{}{Unallocated
}
1968 \major{120}{--
127}{}{Local/experimental use
}
1972 \major{128}{--
135}{char
}{Unix98 PTY masters
}
1976 These devices should not have corresponding device nodes; instead they
1977 should be accessed through the
{\file /dev/ptmx
} cloning device.
1980 \major{136}{--
143}{char
}{Unix98 PTY slaves
}
1981 \minor{0}{/dev/pts/
0}{First Unix98 pseudo-TTY
}
1982 \minor{1}{/dev/pts/
1}{Second Unix98 pseudo-TTY
}
1987 These device nodes are automatically generated with the proper
1988 permissions and modes by mounting the
{\file devpts
} filesystem onto
1989 {\file /dev/pts
} with the appropriate mount options (distribution
1993 \major{144}{--
239}{}{Unallocated
}
1997 \major{240}{--
254}{}{Local/experimental use
}
2001 \major{255}{}{}{Reserved
}
2005 This major is reserved to assist the expansion to a larger number
2006 space. No device nodes with this major should ever be created on any
2009 \section{Additional /dev directory entries
}
2011 This section details additional entries that should or may exist in the
2012 {\file /dev
} directory. It is preferred that symbolic links use the
2013 same form (absolute or relative) as is indicated here. Links are
2014 classified as
{\em hard\/
} or
{\em symbolic\/
} depending on the
2015 preferred type of link; if possible, the indicated type of link should
2018 \subsection{Compulsory links
}
2020 These links should exist on all systems:
2023 \link{/dev/fd
}{/proc/self/fd
}{symbolic
}{File descriptors
}
2024 \link{/dev/stdin
}{fd/
0}{symbolic
}{Standard input file descriptor
}
2025 \link{/dev/stdout
}{fd/
1}{symbolic
}{Standard output file descriptor
}
2026 \link{/dev/stderr
}{fd/
2}{symbolic
}{Standard error file descriptor
}
2027 \link{/dev/nfsd
}{socksys
}{symbolic
}{Required by iBCS-
2}
2028 \link{/dev/X0R
}{null
}{symbolic
}{Required by iBCS-
2}
2032 Note: The last device is: $<$letter
{\tt X
}$>$-$<$digit
{\tt
2033 0}$>$-$<$letter
{\tt R
}$>$.
2035 \subsection{Recommended links
}
2037 It is recommended that these links exist on all systems:
2040 \link{/dev/core
}{/proc/kcore
}{symbolic
}{Backward compatibility
}
2041 \link{/dev/ramdisk
}{ram0
}{symbolic
}{Backward compatibility
}
2042 \link{/dev/ftape
}{qft0
}{symbolic
}{Backward compatibility
}
2043 \link{/dev/bttv0
}{video0
}{symbolic
}{Backward compatibility
}
2044 \link{/dev/radio
}{radio0
}{symbolic
}{Backward compatibility
}
2045 \link{/dev/scd?
}{sr?
}{hard
}{Alternate name for CD-ROMs
}
2048 \subsection{Locally defined links
}
2050 The following links may be established locally to conform to the
2051 configuration of the system. This is merely a tabulation of existing
2052 practice, and does not constitute a recommendation. However, if they
2053 exist, they should have the following uses.
2056 \vlink{/dev/mouse
}{mouse port
}{symbolic
}{Current mouse device
}
2057 \vlink{/dev/tape
}{tape device
}{symbolic
}{Current tape device
}
2058 \vlink{/dev/cdrom
}{CD-ROM device
}{symbolic
}{Current CD-ROM device
}
2059 \vlink{/dev/cdwriter
}{CD-writer
}{symbolic
}{Current CD-writer device
}
2060 \vlink{/dev/scanner
}{scanner device
}{symbolic
}{Current scanner device
}
2061 \vlink{/dev/modem
}{modem port
}{symbolic
}{Current dialout device
}
2062 \vlink{/dev/root
}{root device
}{symbolic
}{Current root filesystem
}
2063 \vlink{/dev/swap
}{swap device
}{symbolic
}{Current swap device
}
2067 {\file /dev/modem
} should not be used for a modem which supports
2068 dialin as well as dialout, as it tends to cause lock file problems.
2069 If it exists,
{\file /dev/modem
} should point to the appropriate
2070 primary TTY device (the use of the alternate callout devices is
2073 For SCSI devices,
{\file /dev/tape
} and
{\file /dev/cdrom
} should
2074 point to the ``cooked'' devices (
{\file /dev/st*
} and
{\file
2075 /dev/sr*
}, respectively), whereas
{\file /dev/cdwriter
} and
{\file
2076 /dev/scanner
} should point to the appropriate generic SCSI devices
2079 {\file /dev/mouse
} may point to a primary serial TTY device, a
2080 hardware mouse device, or a socket for a mouse driver program
2081 (e.g.
{\file /dev/gpmdata
}).
2083 \subsection{Sockets and pipes
}
2085 Non-transient sockets or named pipes may exist in
{\file /dev
}.
2089 \node{/dev/printer
}{socket
}{{\file lpd
} local socket
}
2090 \node{/dev/log
}{socket
}{{\file syslog
} local socket
}
2091 \node{/dev/gpmdata
}{socket
}{{\file gpm
} mouse multiplexer
}
2094 \section{Terminal devices
}
2096 Terminal, or TTY devices are a special class of character devices. A
2097 terminal device is any device that could act as a controlling terminal
2098 for a session; this includes virtual consoles, serial ports, and
2099 pseudoterminals (PTYs).
2101 All terminal devices share a common set of capabilities known as line
2102 diciplines; these include the common terminal line dicipline as well
2103 as SLIP and PPP modes.
2105 All terminal devices are named similarly; this section explains the
2106 naming and use of the various types of TTYs. Note that the naming
2107 conventions include several historical warts; some of these are
2108 Linux-specific, some were inherited from other systems, and some
2109 reflect Linux outgrowing a borrowed convention.
2111 A hash mark ($\#$) in a device name is in all cases used here to
2112 indicate a decimal number without leading zeroes.
2114 \subsection{Virtual consoles and the console device
}
2116 Virtual consoles are full-screen terminal displays on the system video
2117 monitor. Virtual consoles are named
{\file /dev/tty$\#$
}, with
2118 numbering starting at
{\file /dev/tty1
};
{\file /dev/tty0
} is the
2119 current virtual console.
{\file /dev/tty0
} is the device that should
2120 be used to access the system video card on those architectures for
2121 which the frame buffer devices (
{\file /dev/fb*
}) are not applicable.
2122 Do not use
{\file /dev/console
} for this purpose.
2124 The
{\em console device\/
},
{\file /dev/console
}, is the device to
2125 which system messages should be sent, and on which logins should be
2126 permitted in single-user mode. Starting with Linux
2.1.71,
{\file
2127 /dev/console
} is managed by the kernel; for previous versions it
2128 should be a symbolic link to either
{\file /dev/tty0
}, a specific
2129 virtual console such as
{\file /dev/tty1
}, or to a serial port primary
2130 (
{\file tty*
}, not
{\file cu*
}) device, depending on the configuration
2133 \subsection{Serial ports
}
2135 Serial ports are RS-
232 serial ports and any device which simulates
2136 one, either in hardware (such as internal modems) or in software (such
2137 as the ISDN driver.) Under Linux, each serial ports has two device
2138 names, the primary or callin device and the alternate or callout one.
2139 Each kind of device is indicated by a different letter. For any
2140 letter $X$, the names of the devices are
{\file /dev/tty$
{X\#
}$
} and
2141 {\file /dev/cu$
{x\#
}$
}, respectively; for historical reasons,
{\file
2142 /dev/ttyS$\#$
} and
{\file /dev/ttyC$\#$
} correspond to
{\file
2143 /dev/cua$\#$
} and
{\file /dev/cub$\#$
}. In the future, it should be
2144 expected that multiple letters will be used; all letters will be upper
2145 case for the
{\file tty
} device (e.g.
{\file /dev/ttyDP$\#$
} and lower
2146 case for the
{\file cu
} device (e.g.
{\file /dev/cudp$\#$
}.
2148 The use of the callout devices is deprecated.
2150 The names
{\file /dev/ttyQ$\#$
} and
{\file /dev/cuq$\#$
} are reserved
2153 The alternate devices provide for kernel-based exclusion and somewhat
2154 different defaults than the primary devices. Their main purpose is to
2155 allow the use of serial ports with programs with no inherent or broken
2156 support for serial ports. Their use is deprecated, and they may be
2157 removed from a future version of Linux.
2159 Arbitration of serial ports is provided by the use of lock files with
2160 the names
{\file /var/lock/LCK..tty$
{X\#
}$
}. The contents of the lock
2161 file should be the PID of the locking process as an ASCII number.
2163 It is common practice to install links such as
{\file /dev/modem\/
}
2164 which point to serial ports. In order to ensure proper locking in the
2165 presence of these links, it is recommended that software chase
2166 symlinks and lock all possible names; additionally, it is recommended
2167 that a lock file be installed with the corresponding alternate
2168 device. In order to avoid deadlocks, it is recommended that the locks
2169 are acquired in the following order, and released in the reverse:
2171 \item{The symbolic link name, if any (
{\file /var/lock/LCK..modem
})
}
2172 \item{The
{\file tty
} name (
{\file /var/lock/LCK..ttyS2
})
}
2173 \item{The alternate device name (
{\file /var/lock/LCK..cua2
})
}
2175 In the case of nested symbolic links, the lock files should be
2176 installed in the order the symlinks are resolved.
2178 Under no circumstances should an application hold a lock while waiting
2179 for another to be released. In addition, applications which attempt
2180 to create lock files for the corresponding alternate device names
2181 should take into account the possibility of being used on a non-serial
2182 port TTY, for which no alternate device would exist.
2184 \subsection{Pseudoterminals (PTYs)
}
2186 Pseudoterminals, or PTYs, are used to create login sessions or provide
2187 other capabilities requiring a TTY line dicipline (including SLIP or
2188 PPP capability) to arbitrary data-generation processes. Each PTY has
2189 a
{\em master\/
} side, named
{\file /dev/pty
[p-za-e
][0-
9a-f
]\/
}, and a
2190 {\em slave\/
} side, named
{\file /dev/tty
[p-za-e
][0-
9a-f
]\/
}. The
2191 kernel arbitrates the use of PTYs by allowing each master side to be
2194 Once the master side has been opened, the corresponding slave device
2195 can be used in the same manner as any TTY device. The master and
2196 slave devices are connected by the kernel, generating the equivalent
2197 of a bidirectional pipe with TTY capabilities.
2199 Recent versions of the Linux kernels and GNU libc contain support for
2200 the System V/Unix98 naming scheme for PTYs, which assigns a common
2201 device
{\file /dev/ptmx\/
} to all the masters (opening it will
2202 automatically give you a previously unassigned PTY) and a subdirectory
2203 {\file /dev/pts\/
} for the slaves; the slaves are named with decimal
2204 integers (
{\file /dev/pts/$\#$\/
} in our notation). This removes the
2205 problem of exhausting the namespace and enables the kernel to
2206 automatically create the device nodes for the slaves on demand using
2207 the
{\file devpts\/
} filesystem.