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{89}{}{char
}{I$^
2$C bus interface
}
258 \major{90}{}{char
}{Memory Technology Device (RAM, ROM, Flash)
}
259 \major{91}{}{char
}{CAN-Bus controller
}
260 \major{92}{}{char
}{Reserved for ith Kommunikationstechnik MIC ISDN card
}
261 \major{93}{}{char
}{IBM Smart Capture Card frame grabber
}
262 \major{94}{}{char
}{miroVIDEO DC10/
30 capture/playback device
}
263 \major{95}{}{char
}{IP filter
}
264 \major{96}{}{char
}{Parallel port ATAPI tape devices
}
265 \major{97}{}{char
}{Parallel port generic ATAPI interface
}
266 \major{98}{}{char
}{Control and Mesurement Device (comedi)
}
267 \major{99}{}{char
}{Raw parallel ports
}
268 \major{100}{}{char
}{POTS (analogue telephone) A/B port
}
269 \major{101}{}{char
}{Motorola DSP
56xxx board
}
270 \major{102}{}{char
}{Philips SAA5249 Teletext signal decoder
}
271 \major{103}{}{char
}{Arla network file system
}
272 \major{104}{}{char
}{Flash BIOS support
}
273 \major{105}{}{char
}{Comtrol VS-
1000 serial card
}
274 \major{106}{}{char
}{Comtrol VS-
1000 serial card -- alternate devices
}
275 \major{107}{}{char
}{3Dfx Voodoo Graphics device
}
276 \major{108}{}{char
}{Device independent PPP interface
}
277 \major{109}{}{char
}{Reserved for logical volume manager
}
278 \major{110}{}{char
}{miroMEDIA Surround board
}
279 \major{111}{--
119}{}{Unallocated
}
280 \major{120}{--
127}{}{Local/experimental use
}
281 \major{128}{--
135}{char
}{Unix98 PTY masters
}
282 \major{136}{--
143}{char
}{Unix98 PTY slaves
}
283 \major{144}{--
239}{}{Unallocated
}
284 \major{240}{--
254}{}{Local/experimental use
}
285 \major{255}{}{}{Reserved
}
288 \section{Minor numbers
}
291 \major{ 0}{}{}{Unnamed devices (e.g. non-device mounts)
}
292 \minor{0}{}{reserved as null device number
}
296 \major{ 1}{}{char
}{Memory devices
}
297 \minor{1}{/dev/mem
}{Physical memory access
}
298 \minor{2}{/dev/kmem
}{Kernel virtual memory access
}
299 \minor{3}{/dev/null
}{Null device
}
300 \minor{4}{/dev/port
}{I/O port access
}
301 \minor{5}{/dev/zero
}{Null byte source
}
302 \minor{6}{/dev/core
}{OBSOLETE -- should be a link to
{\file /proc/kcore
}}
303 \minor{7}{/dev/full
}{Returns ENOSPC on write
}
304 \minor{8}{/dev/random
}{Nondeterministic random number generator
}
305 \minor{9}{/dev/urandom
}{Less secure, but faster random number generator
}
307 \major{}{}{block
}{RAM disk
}
308 \minor{0}{/dev/ram0
}{First RAM disk
}
310 \minor{7}{/dev/ram7
}{Eighth RAM disk
}
311 \minor{250}{/dev/initrd
}{Initial RAM disk
}
315 Earlier kernels had
{\file /dev/ramdisk
} (
1,
1) here.
{\file /dev/initrd
}
316 refers to a RAM disk which was preloaded by the boot loader.
319 \major{ 2}{}{char
}{Pseudo-TTY masters
}
320 \minor{0}{/dev/ptyp0
}{First PTY master
}
321 \minor{1}{/dev/ptyp1
}{Second PTY master
}
323 \minor{255}{/dev/ptyef
}{256th PTY master
}
327 Pseudo-TTY's are named as follows:
329 \item Masters are
{\file pty
}, slaves are
{\file tty
};
330 \item the fourth letter is one of
{\file pqrstuvwxyzabcde
} indicating
331 the
1st through
16th series of
16 pseudo-ttys each, and
332 \item the fifth letter is one of
{\file 0123456789abcdef
} indicating
333 the position within the series.
337 These are the old-style (BSD) PTY devices; Unix98 devices are on major
338 128 and above and use the PTY master multiplex (
{\file /dev/ptmx
}) to
339 acquire a PTY on demand.
342 \major{}{}{block
}{Floppy disks
}
343 \minor{0}{/dev/fd0
}{Controller
1, drive
1 autodetect
}
344 \minor{1}{/dev/fd1
}{Controller
1, drive
2 autodetect
}
345 \minor{2}{/dev/fd2
}{Controller
1, drive
3 autodetect
}
346 \minor{3}{/dev/fd3
}{Controller
1, drive
4 autodetect
}
347 \minor{128}{/dev/fd4
}{Controller
2, drive
1 autodetect
}
348 \minor{129}{/dev/fd5
}{Controller
2, drive
2 autodetect
}
349 \minor{130}{/dev/fd6
}{Controller
2, drive
3 autodetect
}
350 \minor{131}{/dev/fd7
}{Controller
2, drive
4 autodetect
}
352 \major{}{}{}{To specify format, add to the autodetect device number
}
353 \minor{ 0}{/dev/fd?
}{Autodetect format
}
355 \minor{ 4}{/dev/fd?d360
}{5.25\tum\
\num{4}{360}K in a
\num{4}{360}K drive
\1}
356 \minor{ 20}{/dev/fd?h360
}{5.25\tum\
\num{4}{360}K in a
1200K drive
\1}
357 \minor{ 48}{/dev/fd?h410
}{5.25\tum\
\num{4}{410}K in a
1200K drive
}
358 \minor{ 64}{/dev/fd?h420
}{5.25\tum\
\num{4}{420}K in a
1200K drive
}
359 \minor{ 24}{/dev/fd?h720
}{5.25\tum\
\num{4}{720}K in a
1200K drive
}
360 \minor{ 80}{/dev/fd?h880
}{5.25\tum\
\num{4}{880}K in a
1200K drive
\1}
361 \minor{ 8}{/dev/fd?h1200
}{5.25\tum\
1200K in a
1200K drive
\1}
362 \minor{ 40}{/dev/fd?h1440
}{5.25\tum\
1440K in a
1200K drive
\1}
363 \minor{ 56}{/dev/fd?h1476
}{5.25\tum\
1476K in a
1200K drive
}
364 \minor{ 72}{/dev/fd?h1494
}{5.25\tum\
1494K in a
1200K drive
}
365 \minor{ 92}{/dev/fd?h1600
}{5.25\tum\
1600K in a
1200K drive
\1}
367 \minor{ 12}{/dev/fd?u360
}{3.5\tum\
\num{4}{360}K Double Density
\2}
368 \minor{ 16}{/dev/fd?u720
}{3.5\tum\
\num{4}{720}K Double Density
\1}
369 \minor{120}{/dev/fd?u800
}{3.5\tum\
\num{4}{800}K Double Density
\2}
370 \minor{ 52}{/dev/fd?u820
}{3.5\tum\
\num{4}{820}K Double Density
}
371 \minor{ 68}{/dev/fd?u830
}{3.5\tum\
\num{4}{830}K Double Density
}
372 \minor{ 84}{/dev/fd?u1040
}{3.5\tum\
1040K Double Density
\1}
373 \minor{ 88}{/dev/fd?u1120
}{3.5\tum\
1120K Double Density
\1}
374 \minor{ 28}{/dev/fd?u1440
}{3.5\tum\
1440K High Density
\1}
375 \minor{124}{/dev/fd?u1600
}{3.5\tum\
1600K High Density
\1}
376 \minor{ 44}{/dev/fd?u1680
}{3.5\tum\
1680K High Density
\3}
377 \minor{ 60}{/dev/fd?u1722
}{3.5\tum\
1722K High Density
}
378 \minor{ 76}{/dev/fd?u1743
}{3.5\tum\
1743K High Density
}
379 \minor{ 96}{/dev/fd?u1760
}{3.5\tum\
1760K High Density
}
380 \minor{116}{/dev/fd?u1840
}{3.5\tum\
1840K High Density
\3}
381 \minor{100}{/dev/fd?u1920
}{3.5\tum\
1920K High Density
\1}
382 \minor{ 32}{/dev/fd?u2880
}{3.5\tum\
2880K Extra Density
\1}
383 \minor{104}{/dev/fd?u3200
}{3.5\tum\
3200K Extra Density
}
384 \minor{108}{/dev/fd?u3520
}{3.5\tum\
3520K Extra Density
}
385 \minor{112}{/dev/fd?u3840
}{3.5\tum\
3840K Extra Density
\1}
387 \minor{36}{/dev/fd?CompaQ
}{Compaq
2880K drive; probably obsolete
}
389 \major{}{}{}{\1 Autodetectable format
}
390 \major{}{}{}{\2 Autodetectable format in a Double Density (
720K) drive only
}
391 \major{}{}{}{\3 Autodetectable format in a High Density (
1440K) drive only
}
394 NOTE: The letter in the device name (
{\file d
},
{\file q
},
{\file h
}
395 or
{\file u
}) signifies the type of drive supported:
5.25\tum\ Double
396 Density (
{\file d
}),
5.25\tum\ Quad Density (
{\file q
}),
5.25\tum\
397 High Density (
{\file h
}) or
3.5\tum\ (any type,
{\file u
}). The
398 capital letters
{\file D
},
{\file H
}, or
{\file E
} for the
3.5\tum\
399 models have been deprecated, since the drive type is insignificant for
403 \major{ 3}{}{char
}{Pseudo-TTY slaves
}
404 \minor{0}{/dev/ttyp0
}{First PTY slave
}
405 \minor{1}{/dev/ttyp1
}{Second PTY slave
}
407 \minor{255}{/dev/ttyef
}{256th PTY slave
}
411 These are the old-style (BSD) PTY devices; Unix98 devices are on major
415 \major{}{}{block
}{First MFM, RLL and IDE hard disk/CD-ROM interface
}
416 \minor{0}{/dev/hda
}{Master: whole disk (or CD-ROM)
}
417 \minor{64}{/dev/hdb
}{Slave: whole disk (or CD-ROM)
}
419 \major{}{}{}{For partitions, add to the whole disk device number
}
420 \minor{0}{/dev/hd?
}{Whole disk
}
421 \minor{1}{/dev/hd?
1}{First partition
}
422 \minor{2}{/dev/hd?
2}{Second partition
}
424 \minor{63}{/dev/hd?
63}{63rd partition
}
428 For MS-DOS style partition tables (typically used by Linux/i386 and
429 sometimes on Linux/Alpha), partitions
1-
4 are the primary partitions,
430 partitions
5 and up are logical partitions. For other partitioning
431 schemes, the meaning of the numbers vary.
434 \major{ 4}{}{char
}{TTY devices
}
435 \minor{0}{/dev/tty0
}{Current virtual console
}
436 \minor{1}{/dev/tty1
}{First virtual console
}
438 \minor{63}{/dev/tty63
}{63rd virtual console
}
439 \minor{64}{/dev/ttyS0
}{First serial port
}
441 \minor{127}{/dev/ttyS63
}{64th serial port
}
442 \minor{128}{/dev/ptyp0
}{OBSOLETE
}
444 \minor{191}{/dev/ptysf
}{OBSOLETE
}
445 \minor{192}{/dev/ttyp0
}{OBSOLETE
}
447 \minor{255}{/dev/ttysf
}{OBSOLETE
}
451 Older versions of the Linux kernel used this major number for BSD PTY
452 devices. As of Linux
2.1.115, this is no longer supported. Use major
456 \major{ 5}{}{char
}{Alternate TTY devices
}
457 \minor{0}{/dev/tty
}{Current TTY device
}
458 \minor{1}{/dev/console
}{System console
}
459 \minor{2}{/dev/ptmx
}{PTY master multiplex
}
460 \minor{64}{/dev/cua0
}{Callout device corresponding to
{\file ttyS0
}}
462 \minor{127}{/dev/cua63
}{Callout device corresponding to
{\file ttyS63
}}
466 (
5,
1) is
{\file /dev/console
} starting with Linux
2.1.71. See the
467 section on terminal devices for more information on
{\file /dev/console
}.
470 \major{ 6}{}{char
}{Parallel printer devices
}
471 \minor{0}{/dev/lp0
}{First parallel printer (
{\hex 0x3bc})
}
472 \minor{1}{/dev/lp1
}{Second parallel printer (
{\hex 0x378})
}
473 \minor{2}{/dev/lp2
}{Third parallel printer (
{\hex 0x278})
}
477 Not all computers have the
{\hex 0x3bc} parallel port, hence the
478 "first" printer may be either
{\file /dev/lp0
} or
{\file /dev/lp1
}.
481 \major{ 7}{}{char
}{Virtual console access devices
}
482 \minor{0}{/dev/vcs
}{Current vc text access
}
483 \minor{1}{/dev/vcs1
}{tty1 text access
}
485 \minor{63}{/dev/vcs63
}{tty63 text access
}
486 \minor{128}{/dev/vcsa
}{Current vc text/attribute access
}
487 \minor{129}{/dev/vcsa1
}{tty1 text/attribute access
}
489 \minor{191}{/dev/vcsa63
}{tty63 text/attribute access
}
493 NOTE: These devices permit both read and write access.
496 \major{ }{}{block
}{Loopback devices
}
497 \minor{0}{/dev/loop0
}{First loopback device
}
498 \minor{1}{/dev/loop1
}{Second loopback device
}
503 The loopback devices are used to mount filesystems not associated with
504 block devices. The binding to the loopback devices is handled by
505 {\bf mount
}(
8) or
{\bf losetup
}(
8).
508 \major{ 8}{}{block
}{SCSI disk devices (
0-
15)
}
509 \minor{0}{/dev/sda
}{First SCSI disk whole disk
}
510 \minor{16}{/dev/sdb
}{Second SCSI disk whole disk
}
511 \minor{32}{/dev/sdc
}{Third SCSI disk whole disk
}
513 \minor{240}{/dev/sdp
}{Sixteenth SCSI disk whole disk
}
517 Partitions are handled in the same way as for IDE disks (see major
518 number
3) except that the partition limit is
15 rather than
63 per
522 \major{ 9}{}{char
}{SCSI tape devices
}
523 \minor{0}{/dev/st0
}{First SCSI tape, mode
0}
524 \minor{1}{/dev/st1
}{Second SCSI tape, mode
0}
526 \minor{32}{/dev/st0l
}{First SCSI tape, mode
1}
527 \minor{33}{/dev/st1l
}{Second SCSI tape, mode
1}
529 \minor{64}{/dev/st0m
}{First SCSI tape, mode
2}
530 \minor{65}{/dev/st1m
}{Second SCSI tape, mode
2}
532 \minor{96}{/dev/st0a
}{First SCSI tape, mode
3}
533 \minor{97}{/dev/st1a
}{Second SCSI tape, mode
4}
535 \minor{128}{/dev/nst0
}{First SCSI tape, mode
0, no rewind
}
536 \minor{129}{/dev/nst1
}{Second SCSI tape, mode
0, no rewind
}
538 \minor{160}{/dev/nst0l
}{First SCSI tape, mode
1, no rewind
}
539 \minor{161}{/dev/nst1l
}{Second SCSI tape, mode
1, no rewind
}
541 \minor{192}{/dev/nst0m
}{First SCSI tape, mode
2, no rewind
}
542 \minor{193}{/dev/nst1m
}{Second SCSI tape, mode
2, no rewind
}
544 \minor{224}{/dev/nst0a
}{First SCSI tape, mode
3, no rewind
}
545 \minor{225}{/dev/nst1a
}{Second SCSI tape, mode
3, no rewind
}
550 ``No rewind'' refers to the omission of the default automatic rewind
551 on device close. The
{\file MTREW
} or
{\file MTOFFL
} ioctl()s can be
552 used to rewind the tape regardless of the device used to access it.
555 \major{ }{}{block
}{Metadisk (RAID) devices
}
556 \minor{0}{/dev/md0
}{First metadisk group
}
557 \minor{1}{/dev/md1
}{Second metadisk group
}
562 The metadisk driver is used to span a filesystem across multiple
566 \major{10}{}{char
}{Non-serial mice, misc features
}
567 \minor{0}{/dev/logibm
}{Logitech bus mouse
}
568 \minor{1}{/dev/psaux
}{PS/
2-style mouse port
}
569 \minor{2}{/dev/inportbm
}{Microsoft Inport bus mouse
}
570 \minor{3}{/dev/atibm
}{ATI XL bus mouse
}
571 \minor{4}{/dev/jbm
}{J-mouse
}
572 \minor{4}{/dev/amigamouse
}{Amiga mouse (
68k/Amiga)
}
573 \minor{5}{/dev/atarimouse
}{Atari mouse
}
574 \minor{6}{/dev/sunmouse
}{Sun mouse
}
575 \minor{7}{/dev/amigamouse1
}{Second Amiga mouse
}
576 \minor{8}{/dev/smouse
}{Simple serial mouse driver
}
577 \minor{9}{/dev/pc110pad
}{IBM PC-
110 digitizer pad
}
578 \minor{128}{/dev/beep
}{Fancy beep device
}
579 \minor{129}{/dev/modreq
}{Kernel module load request
}
580 \minor{130}{/dev/watchdog
}{Watchdog timer port
}
581 \minor{131}{/dev/temperature
}{Machine internal temperature
}
582 \minor{132}{/dev/hwtrap
}{Hardware fault trap
}
583 \minor{133}{/dev/exttrp
}{External device trap
}
584 \minor{134}{/dev/apm
\_bios}{Advanced Power Management BIOS
}
585 \minor{135}{/dev/rtc
}{Real Time Clock
}
586 \minor{139}{/dev/openprom
}{SPARC OpenBoot PROM
}
587 \minor{140}{/dev/relay8
}{Berkshire Products Octal relay card
}
588 \minor{141}{/dev/relay16
}{Berkshire Products ISO-
16 relay card
}
589 \minor{142}{/dev/msr
}{x86 model specific registers
}
590 \minor{143}{/dev/pciconf
}{PCI configuration space
}
591 \minor{144}{/dev/nvram
}{Non-volatile configuration RAM
}
592 \minor{145}{/dev/hfmodem
}{Soundcard shortwave modem control
}
593 \minor{146}{/dev/graphics
}{Linux/SGI graphics device
}
594 \minor{147}{/dev/opengl
}{Linux/SGI OpenGL pipe
}
595 \minor{148}{/dev/gfx
}{Linux/SGI graphics effects device
}
596 \minor{149}{/dev/input/mouse
}{Linux/SGI Irix emulation mouse
}
597 \minor{150}{/dev/input/keyboard
}{Linux/SGI Irix emulation keyboard
}
598 \minor{151}{/dev/led
}{Front panel LEDs
}
599 \minor{153}{/dev/mergemem
}{Memory merge device
}
600 \minor{154}{/dev/pmu
}{Macintosh PowerBook power manager
}
604 \major{11}{}{char
}{Raw keyboard device
}
605 \minor{0}{/dev/kbd
}{Raw keyboard device
}
609 The raw keyboard device is used on Linux/SPARC only.
612 \major{ }{}{block
}{SCSI CD-ROM devices
}
613 \minor{0}{/dev/sr0
}{First SCSI CD-ROM
}
614 \minor{1}{/dev/sr1
}{Second SCSI CD-ROM
}
619 The prefix
{\file /dev/scd
} instead of
{\file /dev/sr
} has been used
620 as well, and might make more sense.
623 \major{12}{}{char
}{QIC-
02 tape
}
624 \minor{2}{/dev/ntpqic11
}{QIC-
11, no rewind-on-close
}
625 \minor{3}{/dev/tpqic11
}{QIC-
11, rewind-on-close
}
626 \minor{4}{/dev/ntpqic24
}{QIC-
24, no rewind-on-close
}
627 \minor{5}{/dev/tpqic24
}{QIC-
24, rewind-on-close
}
628 \minor{6}{/dev/ntpqic120
}{QIC-
120, no rewind-on-close
}
629 \minor{7}{/dev/tpqic120
}{QIC-
120, rewind-on-close
}
630 \minor{8}{/dev/ntpqic150
}{QIC-
150, no rewind-on-close
}
631 \minor{9}{/dev/tpqic150
}{QIC-
150, rewind-on-close
}
635 The device names specified are proposed -- if there are ``standard''
636 names for these devices, please let me know.
639 \major{ }{}{block
}{MSCDEX CD-ROM callback support
}
640 \minor{0}{/dev/dos
\_cd0}{First MSCDEX CD-ROM
}
641 \minor{1}{/dev/dos
\_cd1}{Second MSCDEX CD-ROM
}
646 \major{13}{}{char
}{PC speaker
}
647 \minor{0}{/dev/pcmixer
}{Emulates
{\file /dev/mixer
}}
648 \minor{3}{/dev/pcsp
}{Emulates
{\file /dev/dsp
} (
8-bit)
}
649 \minor{4}{/dev/pcaudio
}{Emulates
{\file /dev/audio
}}
650 \minor{5}{/dev/pcsp16
}{Emulates
{\file /dev/dsp
} (
16-bit)
}
652 \major{ }{}{block
}{8-bit MFM/RLL/IDE controller
}
653 \minor{0}{/dev/xda
}{First XT disk whole disk
}
654 \minor{64}{/dev/xdb
}{Second XT disk whole disk
}
658 Partitions are handled in the same way as for IDE disks (see major
662 \major{14}{}{char
}{Sound card
}
663 \minor{0}{/dev/mixer
}{Mixer control
}
664 \minor{1}{/dev/sequencer
}{Audio sequencer
}
665 \minor{2}{/dev/midi00
}{First MIDI port
}
666 \minor{3}{/dev/dsp
}{Digital audio
}
667 \minor{4}{/dev/audio
}{Sun-compatible digital audio
}
668 \minor{6}{/dev/sndstat
}{Sound card status information
}
669 \minor{8}{/dev/sequencer2
}{Sequencer -- alternate device
}
670 \minor{16}{/dev/mixer1
}{Second soundcard mixer control
}
671 \minor{17}{/dev/patmgr0
}{Sequencer patch manager
}
672 \minor{18}{/dev/midi01
}{Second MIDI port
}
673 \minor{19}{/dev/dsp1
}{Second soundcard digital audio
}
674 \minor{20}{/dev/audio1
}{Second soundcard Sun digital audio
}
675 \minor{33}{/dev/patmgr1
}{Sequencer patch manager
}
676 \minor{34}{/dev/midi02
}{Third MIDI port
}
677 \minor{50}{/dev/midi03
}{Fourth MIDI port
}
679 \major{ }{}{block
}{BIOS harddrive callback support
}
680 \minor{0}{/dev/dos
\_hda}{First BIOS harddrive whole disk
}
681 \minor{64}{/dev/dos
\_hdb}{Second BIOS harddrive whole disk
}
682 \minor{128}{/dev/dos
\_hdc}{Third BIOS harddrive whole disk
}
683 \minor{192}{/dev/dos
\_hdd}{Fourth BIOS harddrive whole disk
}
687 Partitions are handled in the same way as for IDE disks (see major
691 \major{15}{}{char
}{Joystick
}
692 \minor{0}{/dev/js0
}{First analog joystick
}
693 \minor{1}{/dev/js1
}{Second analog joystick
}
695 \minor{128}{/dev/djs0
}{First digital joystick
}
696 \minor{129}{/dev/djs1
}{Second digital joystick
}
699 \major{ }{}{block
}{Sony CDU-
31A/CDU-
33A CD-ROM
}
700 \minor{0}{/dev/sonycd
}{Sony CDU-
31A CD-ROM
}
704 \major{16}{}{char
}{Non-SCSI scanners
}
705 \minor{0}{/dev/gs4500
}{Genius
4500 handheld scanner
}
707 \major{ }{}{block
}{GoldStar CD-ROM
}
708 \minor{0}{/dev/gscd
}{GoldStar CD-ROM
}
712 \major{17}{}{char
}{Chase serial card
}
713 \minor{0}{/dev/ttyH0
}{First Chase port
}
714 \minor{1}{/dev/ttyH1
}{Second Chase port
}
717 \major{ }{}{block
}{Optics Storage CD-ROM
}
718 \minor{0}{/dev/optcd
}{Optics Storage CD-ROM
}
722 \major{18}{}{char
}{Chase serial card -- alternate devices
}
723 \minor{0}{/dev/cuh0
}{Callout device corresponding to
{\file ttyH0
}}
724 \minor{1}{/dev/cuh1
}{Callout device corresponding to
{\file ttyH1
}}
727 \major{ }{}{block
}{Sanyo CD-ROM
}
728 \minor{0}{/dev/sjcd
}{Sanyo CD-ROM
}
732 \major{19}{}{char
}{Cyclades serial card
}
733 \minor{0}{/dev/ttyC0
}{First Cyclades port
}
735 \minor{31}{/dev/ttyC31
}{32nd Cyclades port
}
737 \major{ }{}{block
}{``Double'' compressed disk
}
738 \minor{0}{/dev/double0
}{First compressed disk
}
740 \minor{7}{/dev/double7
}{Eighth compressed disk
}
741 \minor{128}{/dev/cdouble0
}{Mirror of first compressed disk
}
743 \minor{135}{/dev/cdouble7
}{Mirror of eighth compressed disk
}
747 See the Double documentation for an explanation of the ``mirror'' devices.
750 \major{20}{}{char
}{Cyclades serial card -- alternate devices
}
751 \minor{0}{/dev/cub0
}{Callout device corresponding to
{\file ttyC0
}}
753 \minor{31}{/dev/cub31
}{Callout device corresponding to
{\file ttyC31
}}
755 \major{ }{}{block
}{Hitachi CD-ROM
}
756 \minor{0}{/dev/hitcd
}{Hitachi CD-ROM
}
760 \major{21}{}{char
}{Generic SCSI access
}
761 \minor{0}{/dev/sg0
}{First generic SCSI device
}
762 \minor{1}{/dev/sg1
}{Second generic SCSI device
}
767 Most distributions name these
{\file /dev/sga
},
{\file /dev/sgb
}...
768 This sets an unneccesary limit of
26 SCSI devices in the system, and
769 is counter to standard Linux device-naming practice.
772 \major{ }{}{block
}{Acorn MFM hard drive interface
}
773 \minor{0}{/dev/mfma
}{First MFM drive whole disk
}
774 \minor{64}{/dev/mfmb
}{Second MFM drive whole disk
}
778 This device is used on the ARM-based Acorn RiscPC. Partitions are
779 handled the same way as for IDE disks (see major number
3).
782 \major{22}{}{char
}{Digiboard serial card
}
783 \minor{0}{/dev/ttyD0
}{First Digiboard port
}
784 \minor{1}{/dev/ttyD1
}{Second Digiboard port
}
787 \major{ }{}{block
}{Second IDE hard disk/CD-ROM interface
}
788 \minor{0}{/dev/hdc
}{Master: whole disk (or CD-ROM)
}
789 \minor{64}{/dev/hdd
}{Slave: whole disk (or CD-ROM)
}
793 Partitions are handled the same way as for the first interface (see
797 \major{23}{}{char
}{Digiboard serial card -- alternate devices
}
798 \minor{0}{/dev/cud0
}{Callout device corresponding to
{\file ttyD0
}}
799 \minor{1}{/dev/cud1
}{Callout device corresponding to
{\file ttyD1
}}
801 \major{ }{}{block
}{Mitsumi proprietary CD-ROM
}
802 \minor{0}{/dev/mcd
}{Mitsumi CD-ROM
}
806 \major{24}{}{char
}{Stallion serial card
}
807 \minor{0}{/dev/ttyE0
}{Stallion port
0 board
0}
808 \minor{1}{/dev/ttyE1
}{Stallion port
1 board
0}
810 \minor{64}{/dev/ttyE64
}{Stallion port
0 board
1}
811 \minor{65}{/dev/ttyE65
}{Stallion port
1 board
1}
813 \minor{128}{/dev/ttyE128
}{Stallion port
0 board
2}
814 \minor{129}{/dev/ttyE129
}{Stallion port
1 board
2}
816 \minor{192}{/dev/ttyE192
}{Stallion port
0 board
3}
817 \minor{193}{/dev/ttyE193
}{Stallion port
1 board
3}
820 \major{ }{}{block
}{Sony CDU-
535 CD-ROM
}
821 \minor{0}{/dev/cdu535
}{Sony CDU-
535 CD-ROM
}
825 \major{25}{}{char
}{Stallion serial card -- alternate devices
}
826 \minor{0}{/dev/cue0
}{Callout device corresponding to
{\file ttyE0
}}
827 \minor{1}{/dev/cue1
}{Callout device corresponding to
{\file ttyE1
}}
829 \minor{64}{/dev/cue64
}{Callout device corresponding to
{\file ttyE64
}}
830 \minor{65}{/dev/cue65
}{Callout device corresponding to
{\file ttyE65
}}
832 \minor{128}{/dev/cue128
}{Callout device corresponding to
{\file ttyE128
}}
833 \minor{129}{/dev/cue129
}{Callout device corresponding to
{\file ttyE129
}}
835 \minor{192}{/dev/cue192
}{Callout device corresponding to
{\file ttyE192
}}
836 \minor{193}{/dev/cue193
}{Callout device corresponding to
{\file ttyE193
}}
839 \major{ }{}{block
}{First Matsushita (Panasonic/SoundBlaster) CD-ROM
}
840 \minor{0}{/dev/sbpcd0
}{Panasonic CD-ROM controller
0 unit
0}
841 \minor{1}{/dev/sbpcd1
}{Panasonic CD-ROM controller
0 unit
1}
842 \minor{2}{/dev/sbpcd2
}{Panasonic CD-ROM controller
0 unit
2}
843 \minor{3}{/dev/sbpcd3
}{Panasonic CD-ROM controller
0 unit
3}
847 \major{26}{}{char
}{Quanta WinVision frame grabber
}
848 \minor{0}{/dev/wvisfgrab
}{Quanta WinVision frame grabber
}
850 \major{ }{}{block
}{Second Matsushita (Panasonic/SoundBlaster) CD-ROM
}
851 \minor{0}{/dev/sbpcd4
}{Panasonic CD-ROM controller
1 unit
0}
852 \minor{1}{/dev/sbpcd5
}{Panasonic CD-ROM controller
1 unit
1}
853 \minor{2}{/dev/sbpcd6
}{Panasonic CD-ROM controller
1 unit
2}
854 \minor{3}{/dev/sbpcd7
}{Panasonic CD-ROM controller
1 unit
3}
858 \major{27}{}{char
}{QIC-
117 tape
}
859 \minor{0}{/dev/qft0
}{Unit
0, rewind-on-close
}
860 \minor{1}{/dev/qft1
}{Unit
1, rewind-on-close
}
861 \minor{2}{/dev/qft2
}{Unit
2, rewind-on-close
}
862 \minor{3}{/dev/qft3
}{Unit
3, rewind-on-close
}
863 \minor{4}{/dev/nqft0
}{Unit
0, no rewind-on-close
}
864 \minor{5}{/dev/nqft1
}{Unit
1, no rewind-on-close
}
865 \minor{6}{/dev/nqft2
}{Unit
2, no rewind-on-close
}
866 \minor{7}{/dev/nqft3
}{Unit
3, no rewind-on-close
}
867 \minor{16}{/dev/zqft0
}{Unit
0, rewind-on-close, compression
}
868 \minor{17}{/dev/zqft1
}{Unit
1, rewind-on-close, compression
}
869 \minor{18}{/dev/zqft2
}{Unit
2, rewind-on-close, compression
}
870 \minor{19}{/dev/zqft3
}{Unit
3, rewind-on-close, compression
}
871 \minor{20}{/dev/nzqft0
}{Unit
0, no rewind-on-close, compression
}
872 \minor{21}{/dev/nzqft1
}{Unit
1, no rewind-on-close, compression
}
873 \minor{22}{/dev/nzqft2
}{Unit
2, no rewind-on-close, compression
}
874 \minor{23}{/dev/nzqft3
}{Unit
3, no rewind-on-close, compression
}
875 \minor{32}{/dev/rawqft0
}{Unit
0, rewind-on-close, no file marks
}
876 \minor{33}{/dev/rawqft1
}{Unit
1, rewind-on-close, no file marks
}
877 \minor{34}{/dev/rawqft2
}{Unit
2, rewind-on-close, no file marks
}
878 \minor{35}{/dev/rawqft3
}{Unit
3, rewind-on-close, no file marks
}
879 \minor{36}{/dev/nrawqft0
}{Unit
0, no rewind-on-close, no file marks
}
880 \minor{37}{/dev/nrawqft1
}{Unit
1, no rewind-on-close, no file marks
}
881 \minor{38}{/dev/nrawqft2
}{Unit
2, no rewind-on-close, no file marks
}
882 \minor{39}{/dev/nrawqft3
}{Unit
3, no rewind-on-close, no file marks
}
884 \major{ }{}{block
}{Third Matsushita (Panasonic/SoundBlaster) CD-ROM
}
885 \minor{0}{/dev/sbpcd8
}{Panasonic CD-ROM controller
2 unit
0}
886 \minor{1}{/dev/sbpcd9
}{Panasonic CD-ROM controller
2 unit
1}
887 \minor{2}{/dev/sbpcd10
}{Panasonic CD-ROM controller
2 unit
2}
888 \minor{3}{/dev/sbpcd11
}{Panasonic CD-ROM controller
2 unit
3}
892 \major{28}{}{char
}{Stallion serial card -- card programming
}
893 \minor{0}{/dev/staliomem0
}{First Stallion I/O card memory
}
894 \minor{1}{/dev/staliomem1
}{Second Stallion I/O card memory
}
895 \minor{2}{/dev/staliomem2
}{Third Stallion I/O card memory
}
896 \minor{3}{/dev/staliomem3
}{Fourth Stallion I/O card memory
}
898 \major{ }{}{char
}{Atari SLM ACSI laser printer (
68k/Atari)
}
899 \minor{0}{/dev/slm0
}{First SLM laser printer
}
900 \minor{1}{/dev/slm1
}{Second SLM laser printer
}
903 \major{ }{}{block
}{Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
}
904 \minor{0}{/dev/sbpcd12
}{Panasonic CD-ROM controller
3 unit
0}
905 \minor{1}{/dev/sbpcd13
}{Panasonic CD-ROM controller
3 unit
1}
906 \minor{2}{/dev/sbpcd14
}{Panasonic CD-ROM controller
3 unit
2}
907 \minor{3}{/dev/sbpcd15
}{Panasonic CD-ROM controller
3 unit
3}
909 \major{ }{}{block
}{ACSI disk/CD-ROM (
68k/Atari)
}
910 \minor{0}{/dev/ada
}{First ACSI disk whole disk
}
911 \minor{16}{/dev/adb
}{Second ACSI disk whole disk
}
912 \minor{32}{/dev/adc
}{Third ACSI disk whole disk
}
914 \minor{240}{/dev/adp
}{Sixteenth ACSI disk whole disk
}
918 Partitions are handled in the same way as for IDE disks (see major
919 number
3) except that the partition limit is
15 rather than
63 per
923 \major{29}{}{char
}{Universal frame buffer
}
924 \minor{0}{/dev/fb0
}{First frame buffer
}
925 \minor{32}{/dev/fb1
}{Second frame buffer
}
926 \minor{64}{/dev/fb2
}{Third frame buffer
}
928 \minor{224}{/dev/fb7
}{Eighth frame buffer
}
932 All additional minor device numbers are reserved.
935 \major{ }{}{block
}{Aztech/Orchid/Okano/Wearnes CD-ROM
}
936 \minor{0}{/dev/aztcd
}{Aztech CD-ROM
}
940 \major{30}{}{char
}{iBCS-
2 compatibility devices
}
941 \minor{0}{/dev/socksys
}{Socket access
}
942 \minor{1}{/dev/spx
}{SVR3 local X interface
}
943 \minor{2}{/dev/inet/arp
}{Network access
}
944 \minor{2}{/dev/inet/icmp
}{Network access
}
945 \minor{2}{/dev/inet/ip
}{Network access
}
946 \minor{2}{/dev/inet/udp
}{Network access
}
947 \minor{2}{/dev/inet/tcp
}{Network access
}
951 Additionally, iBCS-
2 requires
{\file /dev/nfsd
} to be a link to
{\file
952 /dev/socksys
} and
{\file /dev/X0R
} to be a link to
{\file /dev/null
}.
955 \major{ }{}{block
}{Philips LMS CM-
205 CD-ROM
}
956 \minor{0}{/dev/cm205cd
}{Philips LMS CM-
205 CD-ROM
}
960 {\file /dev/lmscd
} is an older name for this drive. This driver does
961 not work with the CM-
205MS CD-ROM.
964 \major{31}{}{char
}{MPU-
401 MIDI
}
965 \minor{0}{/dev/mpu401data
}{MPU-
401 data port
}
966 \minor{1}{/dev/mpu401stat
}{MPU-
401 status port
}
968 \major{ }{}{block
}{ROM/flash memory card
}
969 \minor{0}{/dev/rom0
}{First ROM card (rw)
}
971 \minor{7}{/dev/rom7
}{Eighth ROM card (rw)
}
972 \minor{8}{/dev/rrom0
}{First ROM card (ro)
}
974 \minor{15}{/dev/rrom0
}{Eighth ROM card (ro)
}
975 \minor{16}{/dev/flash0
}{First flash memory card (rw)
}
977 \minor{23}{/dev/flash7
}{Eighth flash memory card (rw)
}
978 \minor{24}{/dev/rflash0
}{First flash memory card (ro)
}
980 \minor{31}{/dev/rflash7
}{Eighth flash memory card (ro)
}
984 The read-write (rw) devices support back-caching written data in RAM,
985 as well as writing to flash RAM devices. The read-only devices (ro)
986 support reading only.
989 \major{32}{}{char
}{Specialix serial card
}
990 \minor{0}{/dev/ttyX0
}{First Specialix port
}
991 \minor{1}{/dev/ttyX1
}{Second Specialix port
}
994 \major{ }{}{block
}{Philips LMS CM-
206 CD-ROM
}
995 \minor{0}{/dev/cm206cd
}{Philips LMS CM-
206 CD-ROM
}
999 \major{33}{}{char
}{Specialix serial card -- alternate devices
}
1000 \minor{0}{/dev/cux0
}{Callout device corresponding to
{\file ttyX0
}}
1001 \minor{1}{/dev/cux1
}{Callout device corresponding to
{\file ttyX1
}}
1004 \major{ }{}{block
}{Third IDE hard disk/CD-ROM interface
}
1005 \minor{0}{/dev/hde
}{Master: whole disk (or CD-ROM)
}
1006 \minor{64}{/dev/hdf
}{Slave: whole disk (or CD-ROM)
}
1010 Partitions are handled the same way as for the first interface (see
1014 \major{34}{}{char
}{Z8530 HDLC driver
}
1015 \minor{0}{/dev/scc0
}{First Z8530, first port
}
1016 \minor{1}{/dev/scc1
}{First Z8530, second port
}
1017 \minor{2}{/dev/scc2
}{Second Z8530, first port
}
1018 \minor{3}{/dev/scc3
}{Second Z8530, second port
}
1023 In a previous version these devices were named
{\file /dev/sc1
} for
1024 {\file /dev/scc0
},
{\file /dev/sc2
} for
{\file /dev/scc1
}, and so on.
1027 \major{ }{}{block
}{Fourth IDE hard disk/CD-ROM interface
}
1028 \minor{0}{/dev/hdg
}{Master: whole disk (or CD-ROM)
}
1029 \minor{64}{/dev/hdh
}{Slave: whole disk (or CD-ROM)
}
1033 Partitions are handled the same way as for the first interface (see
1037 \major{35}{}{char
}{tclmidi MIDI driver
}
1038 \minor{0}{/dev/midi0
}{First MIDI port, kernel timed
}
1039 \minor{1}{/dev/midi1
}{Second MIDI port, kernel timed
}
1040 \minor{2}{/dev/midi2
}{Third MIDI port, kernel timed
}
1041 \minor{3}{/dev/midi3
}{Fourth MIDI port, kernel timed
}
1042 \minor{64}{/dev/rmidi0
}{First MIDI port, untimed
}
1043 \minor{65}{/dev/rmidi1
}{Second MIDI port, untimed
}
1044 \minor{66}{/dev/rmidi2
}{Third MIDI port, untimed
}
1045 \minor{67}{/dev/rmidi3
}{Fourth MIDI port, untimed
}
1046 \minor{128}{/dev/smpte0
}{First MIDI port, SMPTE timed
}
1047 \minor{129}{/dev/smpte1
}{Second MIDI port, SMPTE timed
}
1048 \minor{130}{/dev/smpte2
}{Third MIDI port, SMPTE timed
}
1049 \minor{131}{/dev/smpte3
}{Fourth MIDI port, SMPTE timed
}
1051 \major{ }{}{block
}{Slow memory ramdisk
}
1052 \minor{0}{/dev/slram
}{Slow memory ramdisk
}
1056 \major{36}{}{char
}{Netlink support
}
1057 \minor{0}{/dev/route
}{Routing, device updates (kernel to user)
}
1058 \minor{1}{/dev/skip
}{enSKIP security cache control
}
1060 \major{ }{}{block
}{MCA ESDI hard disk
}
1061 \minor{0}{/dev/eda
}{First ESDI disk whole disk
}
1062 \minor{64}{/dev/edb
}{Second ESDI disk whole disk
}
1067 Partitions are handled the same way as for IDE disks (see major number
1071 \major{37}{}{char
}{IDE tape
}
1072 \minor{0}{/dev/ht0
}{First IDE tape
}
1073 \minor{128}{/dev/nht0
}{First IDE tape, no rewind-on-close
}
1077 Currently, only one IDE tape drive is supported.
1080 \major{ }{}{block
}{Zorro II ramdisk
}
1081 \minor{0}{/dev/z2ram
}{Zorro II ramdisk
}
1085 \major{38}{}{char
}{Myricom PCI Myrinet board
}
1086 \minor{0}{/dev/mlanai0
}{First Myrinet board
}
1087 \minor{1}{/dev/mlanai1
}{Second Myrinet board
}
1092 This device is used for board control, status query and ``user level
1093 packet I/O''. The board is also accessible as a regular
{\file eth
}
1097 \major{ }{}{block
}{Reserved for Linux/AP+
}
1101 \major{39}{}{char
}{ML-
16P experimental I/O board
}
1102 \minor{0}{/dev/ml16pa-a0
}{First card, first analog channel
}
1103 \minor{1}{/dev/ml16pa-a1
}{First card, second analog channel
}
1105 \minor{15}{/dev/ml16pa-a15
}{First card,
16th analog channel
}
1106 \minor{16}{/dev/ml16pa-d
}{First card, digital lines
}
1107 \minor{17}{/dev/ml16pa-c0
}{First card, first counter/timer
}
1108 \minor{18}{/dev/ml16pa-c1
}{First card, second counter/timer
}
1109 \minor{19}{/dev/ml16pa-c2
}{First card, third counter/timer
}
1110 \minor{32}{/dev/ml16pb-a0
}{Second card, first analog channel
}
1111 \minor{33}{/dev/ml16pb-a1
}{Second card, second analog channel
}
1113 \minor{47}{/dev/ml16pb-a15
}{Second card,
16th analog channel
}
1114 \minor{48}{/dev/ml16pb-d
}{Second card, digital lines
}
1115 \minor{49}{/dev/ml16pb-c0
}{Second card, first counter/timer
}
1116 \minor{50}{/dev/ml16pb-c1
}{Second card, second counter/timer
}
1117 \minor{51}{/dev/ml16pb-c2
}{Second card, third counter/timer
}
1120 \major{ }{}{block
}{Reserved for Linux/AP+
}
1124 \major{40}{}{char
}{Matrox Meteor frame grabber
}
1125 \minor{0}{/dev/mmetfgrab
}{Matrox Meteor frame grabber
}
1127 \major{ }{}{block
}{Syquest EZ135 parallel port removable drive
}
1128 \minor{0}{/dev/eza
}{Parallel EZ135 drive whole disk
}
1132 This device is obsolete and will be removed in a future version of
1133 Linux. It has been replaced with the parallel port IDE disk driver at
1134 major number
45. Partitions are handled the same way as for IDE disks
1135 (see major number
3).
1138 \major{41}{}{char
}{Yet Another Micro Monitor
}
1139 \minor{0}{/dev/yamm
}{Yet Another Micro Monitor
}
1141 \major{ }{}{block
}{MicroSolutions BackPack parallel port CD-ROM
}
1142 \minor{0}{/dev/bpcd
}{BackPack CD-ROM
}
1146 This device is obsolete and will be removed in a future version of
1147 Linux. It has been replaced with the parallel port ATAPI CD-ROM
1148 driver at major number
46.
1151 \major{42}{}{}{Demo/sample use
}
1155 This number is intended for use in sample code, as well as a general
1156 ``example'' device number. It should never be used for a device
1157 driver that is being distributed; either obtain an official number or
1158 use the local/experimental range. The sudden addition or removal of a
1159 driver with this number should not cause ill effects to the system
1162 IN PARTICULAR, ANY DISTRIBUTION WHICH CONTAINS A DEVICE DRIVER USING
1163 MAJOR NUMBER
42 IS NONCOMPLIANT.
1166 \major{43}{}{char
}{isdn4linux virtual modem
}
1167 \minor{0}{/dev/ttyI0
}{First virtual modem
}
1169 \minor{63}{/dev/ttyI63
}{64th virtual modem
}
1171 \major{ }{}{block
}{Network block devices
}
1172 \minor{0}{/dev/nd0
}{First network block device
}
1173 \minor{1}{/dev/nd1
}{Second network block device
}
1178 Network Block Device is somehow similar to loopback devices: If you
1179 read from it, it sends packet accross network asking server for
1180 data. If you write to it, it sends packet telling server to write. It
1181 could be used to mounting filesystems over the net, swapping over the
1182 net, implementing block device in userland etc.
1185 \major{44}{}{char
}{isdn4linux virtual modem -- alternate devices
}
1186 \minor{0}{/dev/cui0
}{Callout device corresponding to
{\file ttyI0
}}
1188 \minor{63}{/dev/cui63
}{Callout device corresponding to
{\file ttyI63
}}
1190 \major{ }{}{block
}{Flash Translation Layer (FTL) filesystems
}
1191 \minor{0}{/dev/ftla
}{FTL on first Memory Technology Device
}
1192 \minor{16}{/dev/ftlb
}{FTL on second Memory Technology Device
}
1193 \minor{32}{/dev/ftlc
}{FTL on third Memory Technology Device
}
1195 \minor{240}{/dev/ftlp
}{FTL on
16th Memory Technology Device
}
1199 Partitions are handled in the same way as for IDE disks (see major
1200 number
3) expect that the partition limit is
15 rather than
63 per
1201 disk (same as SCSI.)
1204 \major{45}{}{char
}{isdn4linux ISDN BRI driver
}
1205 \minor{0}{/dev/isdn0
}{First virtual B channel raw data
}
1207 \minor{63}{/dev/isdn63
}{64th virtual B channel raw data
}
1208 \minor{64}{/dev/isdnctrl0
}{First channel control/debug
}
1210 \minor{127}{/dev/isdnctrl63
}{64th channel control/debug
}
1211 \minor{128}{/dev/ippp0
}{First SyncPPP device
}
1213 \minor{191}{/dev/ippp63
}{64th SyncPPP device
}
1214 \minor{255}{/dev/isdninfo
}{ISDN monitor interface
}
1216 \major{ }{}{block
}{Parallel port IDE disk devices
}
1217 \minor{0}{/dev/pda
}{First parallel port IDE disk
}
1218 \minor{16}{/dev/pdb
}{Second parallel port IDE disk
}
1219 \minor{32}{/dev/pdc
}{Third parallel port IDE disk
}
1220 \minor{48}{/dev/pdd
}{Fourth parallel port IDE disk
}
1224 Partitions are handled in the same way as for IDE disks (see major
1225 number
3) except that the partition limit is
15 rather than
63 per
1229 \major{46}{}{char
}{Comtrol Rocketport serial card
}
1230 \minor{0}{/dev/ttyR0
}{First Rocketport port
}
1231 \minor{1}{/dev/ttyR1
}{Second Rocketport port
}
1234 \major{ }{}{block
}{Parallel port ATAPI CD-ROM devices
}
1235 \minor{0}{/dev/pcd0
}{First parallel port ATAPI CD-ROM
}
1236 \minor{1}{/dev/pcd1
}{Second parallel port ATAPI CD-ROM
}
1237 \minor{2}{/dev/pcd2
}{Third parallel port ATAPI CD-ROM
}
1238 \minor{3}{/dev/pcd3
}{Fourth parallel port ATAPI CD-ROM
}
1242 \major{47}{}{char
}{Comtrol Rocketport serial card -- alternate devices
}
1243 \minor{0}{/dev/cur0
}{Callout device corresponding to
{\file ttyR0
}}
1244 \minor{1}{/dev/cur1
}{Callout device corresponding to
{\file ttyR1
}}
1247 \major{ }{}{block
}{Parallel port ATAPI disk devices
}
1248 \minor{0}{/dev/pf0
}{First parallel port ATAPI disk
}
1249 \minor{1}{/dev/pf1
}{Second parallel port ATAPI disk
}
1250 \minor{2}{/dev/pf2
}{Third parallel port ATAPI disk
}
1251 \minor{3}{/dev/pf3
}{Fourth parallel port ATAPI disk
}
1255 This driver is intended for floppy disks and similar devices and hence
1256 does not support partitioning.
1259 \major{48}{}{char
}{SDL RISCom serial card
}
1260 \minor{0}{/dev/ttyL0
}{First RISCom port
}
1261 \minor{1}{/dev/ttyL1
}{Second RISCom port
}
1264 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1268 \major{49}{}{char
}{SDL RISCom serial card -- alternate devices
}
1269 \minor{0}{/dev/cul0
}{Callout device corresponding to
{\file ttyL0
}}
1270 \minor{1}{/dev/cul1
}{Callout device corresponding to
{\file ttyL1
}}
1273 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1277 \major{50}{}{char
}{Reserved for GLINT
}
1279 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1283 \major{51}{}{char
}{Baycom radio modem
}
1284 \minor{0}{/dev/bc0
}{First Baycom radio modem
}
1285 \minor{1}{/dev/bc1
}{Second Baycom radio modem
}
1288 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1292 \major{52}{}{char
}{Spellcaster DataComm/BRI ISDN card
}
1293 \minor{0}{/dev/dcbri0
}{First DataComm card
}
1294 \minor{1}{/dev/dcbri1
}{Second DataComm card
}
1295 \minor{2}{/dev/dcbri2
}{Third DataComm card
}
1296 \minor{3}{/dev/dcbri3
}{Fourth DataComm card
}
1298 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1302 \major{53}{}{char
}{BDM interface for remote debugging MC683xx microcontrollers
}
1303 \minor{0}{/dev/pd
\_bdm0}{PD BDM interface on
{\file lp0
}}
1304 \minor{1}{/dev/pd
\_bdm1}{PD BDM interface on
{\file lp1
}}
1305 \minor{2}{/dev/pd
\_bdm2}{PD BDM interface on
{\file lp2
}}
1306 \minor{4}{/dev/icd
\_bdm0}{ICD BDM interface on
{\file lp0
}}
1307 \minor{5}{/dev/icd
\_bdm1}{ICD BDM interface on
{\file lp1
}}
1308 \minor{6}{/dev/icd
\_bdm2}{ICD BDM interface on
{\file lp2
}}
1312 This device is used for the interfacing to the MC683xx
1313 microcontrollers via Background Debug Mode by use of a Parallel Port
1314 interface. PD is the Motorola Public Domain Interface and ICD is the
1315 commercial interface by P\&E.
1318 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1322 \major{54}{}{char
}{Electrocardiognosis Holter serial card
}
1323 \minor{0}{/dev/holter0
}{First Holter port
}
1324 \minor{1}{/dev/holter1
}{Second Holter port
}
1325 \minor{2}{/dev/holter2
}{Third Holter port
}
1329 A custom serial card used by Electrocardiognosis SRL
1330 $<$mseritan@ottonel.pub.ro$>$ to transfer data from Holter
24-hour
1331 heart monitoring equipment.
1334 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1338 \major{55}{}{char
}{DSP56001 digital signal processor
}
1339 \minor{0}{/dev/dsp56k
}{First DSP56001
}
1341 \major{ }{}{block
}{Reserved for Mylex DAC960 PCI RAID Controller
}
1345 \major{56}{}{char
}{Apple Desktop Bus
}
1346 \minor{0}{/dev/adb
}{ADB bus control
}
1350 Additional devices will be added to this number, all starting with
1354 \major{ }{}{block
}{Fifth IDE hard disk/CD-ROM interface
}
1355 \minor{0}{/dev/hdi
}{Master: whole disk (or CD-ROM)
}
1356 \minor{64}{/dev/hdj
}{Slave: whole disk (or CD-ROM)
}
1360 Partitions are handled the same way as for the first interface (see
1364 \major{57}{}{char
}{Hayes ESP serial card
}
1365 \minor{0}{/dev/ttyP0
}{First ESP port
}
1366 \minor{1}{/dev/ttyP1
}{Second ESP port
}
1369 \major{ }{}{block
}{Sixth IDE hard disk/CD-ROM interface
}
1370 \minor{0}{/dev/hdk
}{Master: whole disk (or CD-ROM)
}
1371 \minor{64}{/dev/hdl
}{Slave: whole disk (or CD-ROM)
}
1375 Partitions are handled the same way as for the first interface (see
1379 \major{58}{}{char
}{Hayes ESP serial card -- alternate devices
}
1380 \minor{0}{/dev/cup0
}{Callout device corresponding to
{\file ttyP0
}}
1381 \minor{1}{/dev/cup1
}{Callout device corresponding to
{\file ttyP1
}}
1384 \major{ }{}{block
}{Reserved for logical volume manager
}
1388 \major{59}{}{char
}{sf firewall package
}
1389 \minor{0}{/dev/firewall
}{Communication with sf kernel module
}
1393 \major{60}{--
63}{}{Local/experimental use
}
1397 For devices not assigned official numbers, these ranges should be
1398 used, in order to avoid conflict with future assignments.
1401 \major{64}{}{char
}{ENskip kernel encryption package
}
1402 \minor{0}{/dev/enskip
}{Communication with ENskip kernel
1407 \major{65}{}{char
}{Sundance ``plink'' Transputer boards
}
1408 \minor{0}{/dev/plink0
}{First plink device
}
1409 \minor{1}{/dev/plink1
}{Second plink device
}
1410 \minor{2}{/dev/plink2
}{Third plink device
}
1411 \minor{3}{/dev/plink3
}{Fourth plink device
}
1412 \minor{64}{/dev/rplink0
}{First plink device, raw
}
1413 \minor{65}{/dev/rplink1
}{Second plink device, raw
}
1414 \minor{66}{/dev/rplink2
}{Third plink device, raw
}
1415 \minor{67}{/dev/rplink3
}{Fourth plink device, raw
}
1416 \minor{128}{/dev/plink0d
}{First plink device, debug
}
1417 \minor{129}{/dev/plink1d
}{Second plink device, debug
}
1418 \minor{130}{/dev/plink2d
}{Third plink device, debug
}
1419 \minor{131}{/dev/plink3d
}{Fourth plink device, debug
}
1420 \minor{192}{/dev/rplink0d
}{First plink device, raw, debug
}
1421 \minor{193}{/dev/rplink1d
}{Second plink device, raw, debug
}
1422 \minor{194}{/dev/rplink2d
}{Third plink device, raw, debug
}
1423 \minor{195}{/dev/rplink3d
}{Fourth plink device, raw, debug
}
1427 This is a commercial driver; contact James Howes
1428 $<$jth@prosig.demon.co.uk$>$ for information.
1431 \major{ }{}{block
}{SCSI disk devices (
16-
31)
}
1432 \minor{0}{/dev/sdq
}{17th SCSI disk whole disk
}
1433 \minor{16}{/dev/sdr
}{18th SCSI disk whole disk
}
1434 \minor{32}{/dev/sds
}{19th SCSI disk whole disk
}
1436 \minor{240}{/dev/sdaf
}{32nd SCSI disk whole disk
}
1440 Partitions are handled in the same way as for IDE disks (see major
1441 number
3) except that the partition limit is
15 rather than
63 per
1445 \major{66}{}{char
}{YARC PowerPC PCI coprocessor card
}
1446 \minor{0}{/dev/yppcpci0
}{First YARC card
}
1447 \minor{1}{/dev/yppcpci1
}{Second YARC card
}
1452 \major{ }{}{block
}{SCSI disk devices (
32-
47)
}
1453 \minor{0}{/dev/sdag
}{33rd SCSI disk whole disk
}
1454 \minor{16}{/dev/sdah
}{34th SCSI disk whole disk
}
1455 \minor{32}{/dev/sdai
}{35th SCSI disk whole disk
}
1457 \minor{240}{/dev/sdav
}{48th SCSI disk whole disk
}
1461 Partitions are handled in the same way as for IDE disks (see major
1462 number
3) except that the partition limit is
15 rather than
63 per
1466 \major{67}{}{char
}{Coda network filesystem
}
1467 \minor{0}{/dev/cfs0
}{Coda cache manager
}
1471 See
{\url http://www.coda.cs.cmu.edu\/
} for information about Coda.
1474 \major{ }{}{block
}{SCSI disk devices (
48-
63)
}
1475 \minor{0}{/dev/sdaw
}{49th SCSI disk whole disk
}
1476 \minor{16}{/dev/sdax
}{50th SCSI disk whole disk
}
1477 \minor{32}{/dev/sday
}{51st SCSI disk whole disk
}
1479 \minor{240}{/dev/sdbl
}{64th SCSI disk whole disk
}
1483 Partitions are handled in the same way as for IDE disks (see major
1484 number
3) except that the partition limit is
15 rather than
63 per
1488 \major{68}{}{char
}{CAPI
2.0 interface
}
1489 \minor{0}{/dev/capi20
}{Control device
}
1490 \minor{1}{/dev/capi20.00
}{First CAPI
2.0 application
}
1491 \minor{2}{/dev/capi20.01
}{Second CAPI
2.0 application
}
1493 \minor{20}{/dev/capi20.19
}{19th CAPI
2.0 application
}
1497 ISDN CAPI
2.0 driver for use with CAPI
2.0 applications; currently
1498 supports the AVM B1 card.
1501 \major{ }{}{block
}{SCSI disk devices (
64-
79)
}
1502 \minor{0}{/dev/sdbm
}{65th SCSI disk whole disk
}
1503 \minor{16}{/dev/sdbn
}{66th SCSI disk whole disk
}
1504 \minor{32}{/dev/sdbo
}{67th SCSI disk whole disk
}
1506 \minor{240}{/dev/sdcb
}{80th SCSI disk whole disk
}
1510 Partitions are handled in the same way as for IDE disks (see major
1511 number
3) except that the partition limit is
15 rather than
63 per
1515 \major{69}{}{char
}{MA16 numeric accelerator card
}
1516 \minor{0}{/dev/ma16
}{Board memory access
}
1520 \major{ }{}{block
}{SCSI disk devices (
80-
95)
}
1521 \minor{0}{/dev/sdcc
}{81st SCSI disk whole disk
}
1522 \minor{16}{/dev/sdcd
}{82nd SCSI disk whole disk
}
1523 \minor{32}{/dev/sdce
}{83th SCSI disk whole disk
}
1525 \minor{240}{/dev/sdcr
}{96th SCSI disk whole disk
}
1529 Partitions are handled in the same way as for IDE disks (see major
1530 number
3) except that the partition limit is
15 rather than
63 per
1534 \major{70}{}{char
}{SpellCaster Protocol Services Interface
}
1535 \minor{0}{/dev/apscfg
}{Configuration interface
}
1536 \minor{1}{/dev/apsauth
}{Authentication interface
}
1537 \minor{2}{/dev/apslog
}{Logging interface
}
1538 \minor{3}{/dev/apsdbg
}{Debugging interface
}
1539 \minor{64}{/dev/apsisdn
}{ISDN command interface
}
1540 \minor{65}{/dev/apsasync
}{Async command interface
}
1541 \minor{128}{/dev/apsmon
}{Monitor interface
}
1545 \major{ }{}{block
}{SCSI disk devices (
96-
111)
}
1546 \minor{0}{/dev/sdcs
}{97th SCSI disk whole disk
}
1547 \minor{16}{/dev/sdct
}{98th SCSI disk whole disk
}
1548 \minor{32}{/dev/sdcu
}{99th SCSI disk whole disk
}
1550 \minor{240}{/dev/sddh
}{112th SCSI disk whole disk
}
1554 Partitions are handled in the same way as for IDE disks (see major
1555 number
3) except that the partition limit is
15 rather than
63 per
1559 \major{71}{}{char
}{Computone IntelliPort II serial card
}
1560 \minor{0}{/dev/ttyF0
}{IntelliPort II board
0, port
0}
1561 \minor{1}{/dev/ttyF1
}{IntelliPort II board
0, port
1}
1563 \minor{63}{/dev/ttyF63
}{IntelliPort II board
0, port
63}
1564 \minor{64}{/dev/ttyF64
}{IntelliPort II board
1, port
0}
1565 \minor{65}{/dev/ttyF65
}{IntelliPort II board
1, port
1}
1567 \minor{127}{/dev/ttyF127
}{IntelliPort II board
1, port
63}
1568 \minor{128}{/dev/ttyF128
}{IntelliPort II board
2, port
0}
1569 \minor{129}{/dev/ttyF129
}{IntelliPort II board
2, port
1}
1571 \minor{191}{/dev/ttyF191
}{IntelliPort II board
2, port
63}
1572 \minor{192}{/dev/ttyF192
}{IntelliPort II board
3, port
0}
1573 \minor{193}{/dev/ttyF193
}{IntelliPort II board
3, port
1}
1575 \minor{255}{/dev/ttyF255
}{IntelliPort II board
3, port
63}
1579 \major{ }{}{block
}{SCSI disk devices (
112-
127)
}
1580 \minor{0}{/dev/sddi
}{113th SCSI disk whole disk
}
1581 \minor{16}{/dev/sddj
}{114th SCSI disk whole disk
}
1582 \minor{32}{/dev/sddk
}{115th SCSI disk whole disk
}
1584 \minor{240}{/dev/sddx
}{128th SCSI disk whole disk
}
1588 Partitions are handled in the same way as for IDE disks (see major
1589 number
3) except that the partition limit is
15 rather than
63 per
1593 \major{72}{}{char
}{Computone IntelliPort II serial card -- alternate devices
}
1594 \minor{0}{/dev/cuf0
}{Callout device corresponding to
{\file ttyF0
}}
1595 \minor{1}{/dev/cuf1
}{Callout device corresponding to
{\file ttyF1
}}
1597 \minor{63}{/dev/cuf63
}{Callout device corresponding to
{\file ttyF63
}}
1598 \minor{64}{/dev/cuf64
}{Callout device corresponding to
{\file ttyF64
}}
1599 \minor{65}{/dev/cuf65
}{Callout device corresponding to
{\file ttyF65
}}
1601 \minor{127}{/dev/cuf127
}{Callout device corresponding to
{\file ttyF127
}}
1602 \minor{128}{/dev/cuf128
}{Callout device corresponding to
{\file ttyF128
}}
1603 \minor{129}{/dev/cuf129
}{Callout device corresponding to
{\file ttyF129
}}
1605 \minor{191}{/dev/cuf191
}{Callout device corresponding to
{\file ttyF191
}}
1606 \minor{192}{/dev/cuf192
}{Callout device corresponding to
{\file ttyF192
}}
1607 \minor{193}{/dev/cuf193
}{Callout device corresponding to
{\file ttyF193
}}
1609 \minor{255}{/dev/cuf255
}{Callout device corresponding to
{\file ttyF255
}}
1613 \major{73}{}{char
}{Computone IntelliPort II serial card -- control devices
}
1614 \minor{0}{/dev/ip2ipl0
}{Loadware device for board
0}
1615 \minor{1}{/dev/ip2stat0
}{Status device for board
0}
1616 \minor{4}{/dev/ip2ipl1
}{Loadware device for board
1}
1617 \minor{5}{/dev/ip2stat1
}{Status device for board
1}
1618 \minor{8}{/dev/ip2ipl2
}{Loadware device for board
2}
1619 \minor{9}{/dev/ip2stat2
}{Status device for board
2}
1620 \minor{12}{/dev/ip2ipl3
}{Loadware device for board
3}
1621 \minor{13}{/dev/ip2stat3
}{Status device for board
3}
1625 \major{74}{}{char
}{SCI bridge
}
1626 \minor{0}{/dev/SCI/
0}{SCI device
0}
1627 \minor{1}{/dev/SCI/
1}{SCI device
1}
1632 Currently for Dolphin Interconnect Solutions' PCI-SCI bridge.
1635 \major{75}{}{char
}{Specialix IO8+ serial card
}
1636 \minor{0}{/dev/ttyW0
}{First IO8+ port, first card
}
1637 \minor{1}{/dev/ttyW1
}{Second IO8+ port, first card
}
1639 \minor{8}{/dev/ttyW8
}{First IO8+ port, second card
}
1644 \major{76}{}{char
}{Specialix IO8+ serial card -- alternate devices
}
1645 \minor{0}{/dev/cuw0
}{Callout device corresponding to
{\file ttyW0
}}
1646 \minor{1}{/dev/cuw1
}{Callout device corresponding to
{\file ttyW1
}}
1648 \minor{8}{/dev/cuw8
}{Callout device corresponding to
{\file ttyW8
}}
1653 \major{77}{}{char
}{ComScire Quantum Noise Generator
}
1654 \minor{0}{/dev/qng
}{ComScire Quantum Noise Generator
}
1658 \major{78}{}{char
}{PAM Software's multimodem boards
}
1659 \minor{0}{/dev/ttyM0
}{First PAM modem
}
1660 \minor{1}{/dev/ttyM1
}{Second PAM modem
}
1665 \major{79}{}{char
}{PAM Software's multimodem boards -- alternate devices
}
1666 \minor{0}{/dev/cum0
}{Callout device corresponding to
{\file ttyM0
}}
1667 \minor{1}{/dev/cum1
}{Callout device corresponding to
{\file ttyM1
}}
1672 \major{80}{}{char
}{Photometrics AT200 CCD camera
}
1673 \minor{0}{/dev/at200
}{Photometrics AT200 CCD camera
}
1677 \major{81}{}{char
}{video4linux
}
1678 \minor{0}{/dev/video0
}{Video capture/overlay device
}
1680 \minor{63}{/dev/video63
}{Video capture/overlay device
}
1681 \minor{64}{/dev/radio0
}{Radio device
}
1683 \minor{127}{/dev/radio63
}{Radio device
}
1684 \minor{192}{/dev/vtx0
}{Teletext device
}
1686 \minor{223}{/dev/vtx31
}{Teletext device
}
1687 \minor{224}{/dev/vbi0
}{Vertical blank interupt
}
1689 \minor{255}{/dev/vbi31
}{Vertical blank interupt
}
1693 \major{82}{}{char
}{WiNRADiO communications receiver card
}
1694 \minor{0}{/dev/winradio0
}{First WiNRADiO card
}
1695 \minor{1}{/dev/winradio1
}{Second WiNRADiO card
}
1700 The driver and documentation may be obtained from
1701 {\url http://www.proximity.com.au/~brian/winradio/\/
}.
1704 \major{83}{}{char
}{Teletext/videotext interfaces
}
1705 \minor{0}{/dev/vtx
}{Teletext decoder
}
1706 \minor{16}{/dev/vttuner
}{TV tuner on teletext interface
}
1710 Devices for the driver contained in the VideoteXt package. More information
1711 on
{\url http://home.pages.de/~videotext/\/
}.
1714 \major{84}{}{char
}{Ikon
1011[57] Versatec Greensheet Interface
}
1715 \minor{0}{/dev/ihcp0
}{First Greensheet port
}
1716 \minor{1}{/dev/ihcp1
}{Second Greensheet port
}
1720 \major{85}{}{char
}{Linux/SGI shared memory input queue
}
1721 \minor{0}{/dev/shmiq
}{Master shared input queue
}
1722 \minor{1}{/dev/qcntl0
}{First device pushed
}
1723 \minor{2}{/dev/qcntl1
}{Second device pushed
}
1728 \major{86}{}{char
}{SCSI media changer
}
1729 \minor{0}{/dev/sch0
}{First SCSI media changer
}
1730 \minor{1}{/dev/sch1
}{Second SCSI media changer
}
1735 \major{87}{}{char
}{Sony Control-A1 stereo control bus
}
1736 \minor{0}{/dev/controla0
}{First device on chain
}
1737 \minor{1}{/dev/controla1
}{Second device on chain
}
1742 \major{88}{}{char
}{COMX synchronous serial card
}
1743 \minor{0}{/dev/comx0
}{Channel
0}
1744 \minor{1}{/dev/comx1
}{Channel
1}
1749 \major{89}{}{char
}{I$^
2$C bus interface
}
1750 \minor{0}{/dev/i2c0
}{First I$^
2$C adapter
}
1751 \minor{1}{/dev/i2c1
}{Second I$^
2$C adapter
}
1756 \major{90}{}{char
}{Memory Technology Device (RAM, ROM, Flash)
}
1757 \minor{0}{/dev/mtd0
}{First MTD (rw)
}
1758 \minor{1}{/dev/mtdr0
}{First MTD (ro)
}
1760 \minor{30}{/dev/mtd15
}{16th MTD (rw)
}
1761 \minor{31}{/dev/mtdr15
}{16th MTD (ro)
}
1765 \major{91}{}{char
}{CAN-Bus controller
}
1766 \minor{0}{/dev/can0
}{First CAN-Bus controller
}
1767 \minor{1}{/dev/can1
}{Second CAN-Bus controller
}
1772 \major{92}{}{char
}{Reserved for ith Kommunikationstechnik MIC ISDN card
}
1776 \major{93}{}{char
}{IBM Smart Capture Card frame grabber
}
1777 \minor{0}{/dev/iscc0
}{First Smart Capture Card
}
1778 \minor{1}{/dev/iscc1
}{Second Smart Capture Card
}
1780 \minor{128}{/dev/isccctl0
}{First Smart Capture Card control
}
1781 \minor{129}{/dev/isccctl1
}{Second Smart Capture Card control
}
1786 \major{94}{}{char
}{miroVIDEO DC10/
30 capture/playback device
}
1787 \minor{0}{/dev/dcxx0
}{First capture card
}
1788 \minor{1}{/dev/dcxx1
}{Second capture card
}
1793 \major{95}{}{char
}{IP filter
}
1794 \minor{0}{/dev/ipl
}{Filter control device/log file
}
1795 \minor{1}{/dev/ipnat
}{NAT control device/log file
}
1796 \minor{2}{/dev/ipstate
}{State information log file
}
1797 \minor{3}{/dev/ipauth
}{Authentication control device/log file
}
1801 \major{96}{}{char
}{Parallel port ATAPI tape devices
}
1802 \minor{0}{/dev/pt0
}{First parallel port ATAPI tape
}
1803 \minor{1}{/dev/pt1
}{Second parallel port ATAPI tape
}
1804 \minor{2}{/dev/pt2
}{Third parallel port ATAPI tape
}
1805 \minor{3}{/dev/pt3
}{Fourth parallel port ATAPI tape
}
1806 \minor{128}{/dev/npt0
}{First parallel port ATAPI tape, no rewind
}
1807 \minor{129}{/dev/npt1
}{Second parallel port ATAPI tape, no rewind
}
1808 \minor{130}{/dev/npt2
}{Third parallel port ATAPI tape, no rewind
}
1809 \minor{131}{/dev/npt3
}{Fourth parallel port ATAPI tape, no rewind
}
1813 \major{97}{}{char
}{Parallel port generic ATAPI interface
}
1814 \minor{0}{/dev/pg0
}{First parallel port ATAPI device
}
1815 \minor{1}{/dev/pg1
}{Second parallel port ATAPI device
}
1816 \minor{2}{/dev/pg2
}{Third parallel port ATAPI device
}
1817 \minor{3}{/dev/pg3
}{Fourth parallel port ATAPI device
}
1821 These devices support the same API as the generic SCSI devices.
1824 \major{98}{}{char
}{Control and Mesurement Device (comedi)
}
1825 \minor{0}{/dev/comedi0
}{First comedi device
}
1826 \minor{1}{/dev/comedi1
}{Second comedi device
}
1831 See
{\url http://stm.lbl.gov/comedi/
} or
{\url
1832 http://www.llp.fu-berlin.de/
}.
1835 \major{99}{}{char
}{Raw parallel ports
}
1836 \minor{0}{/dev/parport0
}{First parallel port
}
1837 \minor{1}{/dev/parport1
}{Second parallel port
}
1842 These devices can be used to drive parallel port devices from
1843 user-space while interacting with the parport sharing code.
1846 \major{100}{}{char
}{POTS (analogue telephone) A/B port
}
1847 \minor{0}{/dev/phone0
}{First telephone port
}
1848 \minor{1}{/dev/phone1
}{Second telephone port
}
1853 \major{101}{}{char
}{Motorola DSP
56xxx board
}
1854 \minor{0}{/dev/mdspstat
}{Status information
}
1855 \minor{1}{/dev/mdsp1
}{First DSP board I/O and controls
}
1857 \minor{16}{/dev/mdsp16
}{16th DSP board I/O and controls
}
1861 \major{102}{}{char
}{Philips SAA5249 Teletext signal decoder
}
1862 \minor{0}{/dev/tlk0
}{First Teletext decoder
}
1863 \minor{1}{/dev/tlk1
}{Second Teletext decoder
}
1864 \minor{2}{/dev/tlk2
}{Third Teletext decoder
}
1865 \minor{3}{/dev/tlk3
}{Fourth Teletext decoder
}
1869 \major{103}{}{char
}{Arla network file system
}
1870 \minor{0}{/dev/xfs0
}{Arla XFS
}
1874 Arla is a free clone of the Andrew File System, AFS. Any resemblance
1875 with the Swedish milk producer is coincidental. For more information
1876 about the project, write to $<$arla-drinkers@stacken.kth.se$>$ or
1877 subscribe to the arla-announce mailing list by sending a mail to
1878 $<$arla-announce-request@stacken.kth.se$>$.
1881 \major{104}{}{char
}{Flash BIOS support
}
1885 \major{105}{}{char
}{Comtrol VS-
1000 serial card
}
1886 \minor{0}{/dev/ttyV0
}{First VS-
1000 port
}
1887 \minor{1}{/dev/ttyV1
}{Second VS-
1000 port
}
1892 \major{106}{}{char
}{Comtrol VS-
1000 serial card -- alternate devices
}
1893 \minor{0}{/dev/cuv0
}{Callout device corresponding to
{\file ttyV0
}}
1894 \minor{1}{/dev/cuv1
}{Callout device corresponding to
{\file ttyV1
}}
1899 \major{107}{}{char
}{3Dfx Voodoo Graphics device
}
1900 \minor{0}{/dev/
3dfx
}{Primary
3Dfx graphics device
}
1904 \major{108}{}{char
}{Device independent PPP interface
}
1905 \minor{0}{/dev/ppp
}{Device independent PPP interface
}
1909 \major{109}{}{char
}{Reserved for logical volume manager
}
1913 \major{110}{}{char
}{miroMEDIA Surround board
}
1914 \minor{0}{/dev/srnd0
}{First miroMEDIA Surround board
}
1915 \minor{1}{/dev/srnd1
}{First miroMEDIA Surround board
}
1920 \major{111}{--
119}{}{Unallocated
}
1924 \major{120}{--
127}{}{Local/experimental use
}
1928 \major{128}{--
135}{char
}{Unix98 PTY masters
}
1932 These devices should not have corresponding device nodes; instead they
1933 should be accessed through the
{\file /dev/ptmx
} cloning device.
1936 \major{136}{--
143}{char
}{Unix98 PTY slaves
}
1937 \minor{0}{/dev/pts/
0}{First Unix98 pseudo-TTY
}
1938 \minor{1}{/dev/pts/
1}{Second Unix98 pseudo-TTY
}
1943 These device nodes are automatically generated with the proper
1944 permissions and modes by mounting the
{\file devpts
} filesystem onto
1945 {\file /dev/pts
} with the appropriate mount options (distribution
1949 \major{144}{--
239}{}{Unallocated
}
1953 \major{240}{--
254}{}{Local/experimental use
}
1957 \major{255}{}{}{Reserved
}
1961 This major is reserved to assist the expansion to a larger number
1962 space. No device nodes with this major should ever be created on any
1965 \section{Additional /dev directory entries
}
1967 This section details additional entries that should or may exist in the
1968 {\file /dev
} directory. It is preferred that symbolic links use the
1969 same form (absolute or relative) as is indicated here. Links are
1970 classified as
{\em hard\/
} or
{\em symbolic\/
} depending on the
1971 preferred type of link; if possible, the indicated type of link should
1974 \subsection{Compulsory links
}
1976 These links should exist on all systems:
1979 \link{/dev/fd
}{/proc/self/fd
}{symbolic
}{File descriptors
}
1980 \link{/dev/stdin
}{fd/
0}{symbolic
}{Standard input file descriptor
}
1981 \link{/dev/stdout
}{fd/
1}{symbolic
}{Standard output file descriptor
}
1982 \link{/dev/stderr
}{fd/
2}{symbolic
}{Standard error file descriptor
}
1983 \link{/dev/nfsd
}{socksys
}{symbolic
}{Required by iBCS-
2}
1984 \link{/dev/X0R
}{null
}{symbolic
}{Required by iBCS-
2}
1988 Note: The last device is: $<$letter
{\tt X
}$>$-$<$digit
{\tt
1989 0}$>$-$<$letter
{\tt R
}$>$.
1991 \subsection{Recommended links
}
1993 It is recommended that these links exist on all systems:
1996 \link{/dev/core
}{/proc/kcore
}{symbolic
}{Backward compatibility
}
1997 \link{/dev/ramdisk
}{ram0
}{symbolic
}{Backward compatibility
}
1998 \link{/dev/ftape
}{qft0
}{symbolic
}{Backward compatibility
}
1999 \link{/dev/bttv0
}{video0
}{symbolic
}{Backward compatibility
}
2000 \link{/dev/radio
}{radio0
}{symbolic
}{Backward compatibility
}
2001 \link{/dev/scd?
}{sr?
}{hard
}{Alternate name for CD-ROMs
}
2004 \subsection{Locally defined links
}
2006 The following links may be established locally to conform to the
2007 configuration of the system. This is merely a tabulation of existing
2008 practice, and does not constitute a recommendation. However, if they
2009 exist, they should have the following uses.
2012 \vlink{/dev/mouse
}{mouse port
}{symbolic
}{Current mouse device
}
2013 \vlink{/dev/tape
}{tape device
}{symbolic
}{Current tape device
}
2014 \vlink{/dev/cdrom
}{CD-ROM device
}{symbolic
}{Current CD-ROM device
}
2015 \vlink{/dev/cdwriter
}{CD-writer
}{symbolic
}{Current CD-writer device
}
2016 \vlink{/dev/scanner
}{scanner device
}{symbolic
}{Current scanner device
}
2017 \vlink{/dev/modem
}{modem port
}{symbolic
}{Current dialout device
}
2018 \vlink{/dev/root
}{root device
}{symbolic
}{Current root filesystem
}
2019 \vlink{/dev/swap
}{swap device
}{symbolic
}{Current swap device
}
2023 {\file /dev/modem
} should not be used for a modem which supports
2024 dialin as well as dialout, as it tends to cause lock file problems.
2025 If it exists,
{\file /dev/modem
} should point to the appropriate
2026 primary TTY device (the use of the alternate callout devices is
2029 For SCSI devices,
{\file /dev/tape
} and
{\file /dev/cdrom
} should
2030 point to the ``cooked'' devices (
{\file /dev/st*
} and
{\file
2031 /dev/sr*
}, respectively), whereas
{\file /dev/cdwriter
} and
{\file
2032 /dev/scanner
} should point to the appropriate generic SCSI devices
2035 {\file /dev/mouse
} may point to a primary serial TTY device, a
2036 hardware mouse device, or a socket for a mouse driver program
2037 (e.g.
{\file /dev/gpmdata
}).
2039 \subsection{Sockets and pipes
}
2041 Non-transient sockets or named pipes may exist in
{\file /dev
}.
2045 \node{/dev/printer
}{socket
}{{\file lpd
} local socket
}
2046 \node{/dev/log
}{socket
}{{\file syslog
} local socket
}
2047 \node{/dev/gpmdata
}{socket
}{{\file gpm
} mouse multiplexer
}
2050 \section{Terminal devices
}
2052 Terminal, or TTY devices are a special class of character devices. A
2053 terminal device is any device that could act as a controlling terminal
2054 for a session; this includes virtual consoles, serial ports, and
2055 pseudoterminals (PTYs).
2057 All terminal devices share a common set of capabilities known as line
2058 diciplines; these include the common terminal line dicipline as well
2059 as SLIP and PPP modes.
2061 All terminal devices are named similarly; this section explains the
2062 naming and use of the various types of TTYs. Note that the naming
2063 conventions include several historical warts; some of these are
2064 Linux-specific, some were inherited from other systems, and some
2065 reflect Linux outgrowing a borrowed convention.
2067 A hash mark ($\#$) in a device name is in all cases used here to
2068 indicate a decimal number without leading zeroes.
2070 \subsection{Virtual consoles and the console device
}
2072 Virtual consoles are full-screen terminal displays on the system video
2073 monitor. Virtual consoles are named
{\file /dev/tty$\#$
}, with
2074 numbering starting at
{\file /dev/tty1
};
{\file /dev/tty0
} is the
2075 current virtual console.
{\file /dev/tty0
} is the device that should
2076 be used to access the system video card on those architectures for
2077 which the frame buffer devices (
{\file /dev/fb*
}) are not applicable.
2078 Do not use
{\file /dev/console
} for this purpose.
2080 The
{\em console device\/
},
{\file /dev/console
}, is the device to
2081 which system messages should be sent, and on which logins should be
2082 permitted in single-user mode. Starting with Linux
2.1.71,
{\file
2083 /dev/console
} is managed by the kernel; for previous versions it
2084 should be a symbolic link to either
{\file /dev/tty0
}, a specific
2085 virtual console such as
{\file /dev/tty1
}, or to a serial port primary
2086 (
{\file tty*
}, not
{\file cu*
}) device, depending on the configuration
2089 \subsection{Serial ports
}
2091 Serial ports are RS-
232 serial ports and any device which simulates
2092 one, either in hardware (such as internal modems) or in software (such
2093 as the ISDN driver.) Under Linux, each serial ports has two device
2094 names, the primary or callin device and the alternate or callout one.
2095 Each kind of device is indicated by a different letter. For any
2096 letter $X$, the names of the devices are
{\file /dev/tty$
{X\#
}$
} and
2097 {\file /dev/cu$
{x\#
}$
}, respectively; for historical reasons,
{\file
2098 /dev/ttyS$\#$
} and
{\file /dev/ttyC$\#$
} correspond to
{\file
2099 /dev/cua$\#$
} and
{\file /dev/cub$\#$
}. In the future, it should be
2100 expected that multiple letters will be used; all letters will be upper
2101 case for the
{\file tty
} device (e.g.
{\file /dev/ttyDP$\#$
} and lower
2102 case for the
{\file cu
} device (e.g.
{\file /dev/cudp$\#$
}.
2104 The use of the callout devices is deprecated.
2106 The names
{\file /dev/ttyQ$\#$
} and
{\file /dev/cuq$\#$
} are reserved
2109 The alternate devices provide for kernel-based exclusion and somewhat
2110 different defaults than the primary devices. Their main purpose is to
2111 allow the use of serial ports with programs with no inherent or broken
2112 support for serial ports. Their use is deprecated, and they may be
2113 removed from a future version of Linux.
2115 Arbitration of serial ports is provided by the use of lock files with
2116 the names
{\file /var/lock/LCK..tty$
{X\#
}$
}. The contents of the lock
2117 file should be the PID of the locking process as an ASCII number.
2119 It is common practice to install links such as
{\file /dev/modem\/
}
2120 which point to serial ports. In order to ensure proper locking in the
2121 presence of these links, it is recommended that software chase
2122 symlinks and lock all possible names; additionally, it is recommended
2123 that a lock file be installed with the corresponding alternate
2124 device. In order to avoid deadlocks, it is recommended that the locks
2125 are acquired in the following order, and released in the reverse:
2127 \item{The symbolic link name, if any (
{\file /var/lock/LCK..modem
})
}
2128 \item{The
{\file tty
} name (
{\file /var/lock/LCK..ttyS2
})
}
2129 \item{The alternate device name (
{\file /var/lock/LCK..cua2
})
}
2131 In the case of nested symbolic links, the lock files should be
2132 installed in the order the symlinks are resolved.
2134 Under no circumstances should an application hold a lock while waiting
2135 for another to be released. In addition, applications which attempt
2136 to create lock files for the corresponding alternate device names
2137 should take into account the possibility of being used on a non-serial
2138 port TTY, for which no alternate device would exist.
2140 \subsection{Pseudoterminals (PTYs)
}
2142 Pseudoterminals, or PTYs, are used to create login sessions or provide
2143 other capabilities requiring a TTY line dicipline (including SLIP or
2144 PPP capability) to arbitrary data-generation processes. Each PTY has
2145 a
{\em master\/
} side, named
{\file /dev/pty
[p-za-e
][0-
9a-f
]\/
}, and a
2146 {\em slave\/
} side, named
{\file /dev/tty
[p-za-e
][0-
9a-f
]\/
}. The
2147 kernel arbitrates the use of PTYs by allowing each master side to be
2150 Once the master side has been opened, the corresponding slave device
2151 can be used in the same manner as any TTY device. The master and
2152 slave devices are connected by the kernel, generating the equivalent
2153 of a bidirectional pipe with TTY capabilities.
2155 Recent versions of the Linux kernels and GNU libc contain support for
2156 the System V/Unix98 naming scheme for PTYs, which assigns a common
2157 device
{\file /dev/ptmx\/
} to all the masters (opening it will
2158 automatically give you a previously unassigned PTY) and a subdirectory
2159 {\file /dev/pts\/
} for the slaves; the slaves are named with decimal
2160 integers (
{\file /dev/pts/$\#$\/
} in our notation). This removes the
2161 problem of exhausting the namespace and enables the kernel to
2162 automatically create the device nodes for the slaves on demand using
2163 the
{\file devpts\/
} filesystem.