]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - Documentation/devices.txt
Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
[mirror_ubuntu-bionic-kernel.git] / Documentation / devices.txt
CommitLineData
1da177e4
LT
1
2 LINUX ALLOCATED DEVICES (2.6+ version)
3
4 Maintained by Torben Mathiasen <device@lanana.org>
5
30aaa5c6 6 Last revised: 29 November 2006
1da177e4
LT
7
8This list is the Linux Device List, the official registry of allocated
9device numbers and /dev directory nodes for the Linux operating
10system.
11
12The latest version of this list is available from
13http://www.lanana.org/docs/device-list/ or
14ftp://ftp.kernel.org/pub/linux/docs/device-list/. This version may be
15newer than the one distributed with the Linux kernel.
16
17The LaTeX version of this document is no longer maintained.
18
19This document is included by reference into the Filesystem Hierarchy
20Standard (FHS). The FHS is available from http://www.pathname.com/fhs/.
21
22Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga
23platform only. Allocations marked (68k/Atari) apply to Linux/68k on
24the Atari platform only.
25
26The symbol {2.6} means the allocation is obsolete and scheduled for
27removal once kernel version 2.6 (or equivalent) is released. Some of these
28allocations have already been removed.
29
30This document is in the public domain. The author requests, however,
31that semantically altered versions are not distributed without
32permission of the author, assuming the author can be contacted without
33an unreasonable effort.
34
35In particular, please don't sent patches for this list to Linus, at
36least not without contacting me first.
37
38I do not have any information about these devices beyond what appears
39on this list. Any such information requests will be deleted without
40reply.
41
42
43 **** DEVICE DRIVERS AUTHORS PLEASE READ THIS ****
44
45To have a major number allocated, or a minor number in situations
46where that applies (e.g. busmice), please contact me with the
47appropriate device information. Also, if you have additional
48information regarding any of the devices listed below, or if I have
49made a mistake, I would greatly appreciate a note.
50
51I do, however, make a few requests about the nature of your report.
52This is necessary for me to be able to keep this list up to date and
53correct in a timely manner. First of all, *please* send it to the
54correct address... <device@lanana.org>. I receive hundreds of email
55messages a day, so mail sent to other addresses may very well get lost
56in the avalanche. Please put in a descriptive subject, so I can find
57your mail again should I need to. Too many people send me email
58saying just "device number request" in the subject.
59
60Second, please include a description of the device *in the same format
61as this list*. The reason for this is that it is the only way I have
62found to ensure I have all the requisite information to publish your
63device and avoid conflicts.
64
65Third, please don't assume that the distributed version of the list is
66up to date. Due to the number of registrations I have to maintain it
67in "batch mode", so there is likely additional registrations that
68haven't been listed yet.
69
70Finally, sometimes I have to play "namespace police." Please don't be
71offended. I often get submissions for /dev names that would be bound
72to cause conflicts down the road. I am trying to avoid getting in a
73situation where we would have to suffer an incompatible forward
74change. Therefore, please consult with me *before* you make your
75device names and numbers in any way public, at least to the point
76where it would be at all difficult to get them changed.
77
78Your cooperation is appreciated.
79
80
81 0 Unnamed devices (e.g. non-device mounts)
82 0 = reserved as null device number
83 See block major 144, 145, 146 for expansion areas.
84
85 1 char Memory devices
86 1 = /dev/mem Physical memory access
87 2 = /dev/kmem Kernel virtual memory access
88 3 = /dev/null Null device
89 4 = /dev/port I/O port access
90 5 = /dev/zero Null byte source
91 6 = /dev/core OBSOLETE - replaced by /proc/kcore
92 7 = /dev/full Returns ENOSPC on write
93 8 = /dev/random Nondeterministic random number gen.
94 9 = /dev/urandom Faster, less secure random number gen.
5d3f083d 95 10 = /dev/aio Asynchronous I/O notification interface
1da177e4 96 11 = /dev/kmsg Writes to this come out as printk's
30aaa5c6 97
1da177e4
LT
98 1 block RAM disk
99 0 = /dev/ram0 First RAM disk
100 1 = /dev/ram1 Second RAM disk
101 ...
102 250 = /dev/initrd Initial RAM disk {2.6}
103
104 Older kernels had /dev/ramdisk (1, 1) here.
105 /dev/initrd refers to a RAM disk which was preloaded
106 by the boot loader; newer kernels use /dev/ram0 for
107 the initrd.
108
109 2 char Pseudo-TTY masters
110 0 = /dev/ptyp0 First PTY master
111 1 = /dev/ptyp1 Second PTY master
112 ...
113 255 = /dev/ptyef 256th PTY master
114
115 Pseudo-tty's are named as follows:
116 * Masters are "pty", slaves are "tty";
117 * the fourth letter is one of pqrstuvwxyzabcde indicating
118 the 1st through 16th series of 16 pseudo-ttys each, and
119 * the fifth letter is one of 0123456789abcdef indicating
120 the position within the series.
121
122 These are the old-style (BSD) PTY devices; Unix98
123 devices are on major 128 and above and use the PTY
124 master multiplex (/dev/ptmx) to acquire a PTY on
125 demand.
30aaa5c6 126
1da177e4
LT
127 2 block Floppy disks
128 0 = /dev/fd0 Controller 0, drive 0, autodetect
129 1 = /dev/fd1 Controller 0, drive 1, autodetect
130 2 = /dev/fd2 Controller 0, drive 2, autodetect
131 3 = /dev/fd3 Controller 0, drive 3, autodetect
132 128 = /dev/fd4 Controller 1, drive 0, autodetect
133 129 = /dev/fd5 Controller 1, drive 1, autodetect
134 130 = /dev/fd6 Controller 1, drive 2, autodetect
135 131 = /dev/fd7 Controller 1, drive 3, autodetect
136
137 To specify format, add to the autodetect device number:
138 0 = /dev/fd? Autodetect format
139 4 = /dev/fd?d360 5.25" 360K in a 360K drive(1)
140 20 = /dev/fd?h360 5.25" 360K in a 1200K drive(1)
141 48 = /dev/fd?h410 5.25" 410K in a 1200K drive
142 64 = /dev/fd?h420 5.25" 420K in a 1200K drive
143 24 = /dev/fd?h720 5.25" 720K in a 1200K drive
144 80 = /dev/fd?h880 5.25" 880K in a 1200K drive(1)
145 8 = /dev/fd?h1200 5.25" 1200K in a 1200K drive(1)
146 40 = /dev/fd?h1440 5.25" 1440K in a 1200K drive(1)
147 56 = /dev/fd?h1476 5.25" 1476K in a 1200K drive
148 72 = /dev/fd?h1494 5.25" 1494K in a 1200K drive
149 92 = /dev/fd?h1600 5.25" 1600K in a 1200K drive(1)
150
151 12 = /dev/fd?u360 3.5" 360K Double Density(2)
152 16 = /dev/fd?u720 3.5" 720K Double Density(1)
153 120 = /dev/fd?u800 3.5" 800K Double Density(2)
154 52 = /dev/fd?u820 3.5" 820K Double Density
155 68 = /dev/fd?u830 3.5" 830K Double Density
156 84 = /dev/fd?u1040 3.5" 1040K Double Density(1)
157 88 = /dev/fd?u1120 3.5" 1120K Double Density(1)
158 28 = /dev/fd?u1440 3.5" 1440K High Density(1)
159 124 = /dev/fd?u1600 3.5" 1600K High Density(1)
160 44 = /dev/fd?u1680 3.5" 1680K High Density(3)
161 60 = /dev/fd?u1722 3.5" 1722K High Density
162 76 = /dev/fd?u1743 3.5" 1743K High Density
163 96 = /dev/fd?u1760 3.5" 1760K High Density
164 116 = /dev/fd?u1840 3.5" 1840K High Density(3)
165 100 = /dev/fd?u1920 3.5" 1920K High Density(1)
166 32 = /dev/fd?u2880 3.5" 2880K Extra Density(1)
167 104 = /dev/fd?u3200 3.5" 3200K Extra Density
168 108 = /dev/fd?u3520 3.5" 3520K Extra Density
169 112 = /dev/fd?u3840 3.5" 3840K Extra Density(1)
170
171 36 = /dev/fd?CompaQ Compaq 2880K drive; obsolete?
172
173 (1) Autodetectable format
174 (2) Autodetectable format in a Double Density (720K) drive only
175 (3) Autodetectable format in a High Density (1440K) drive only
176
177 NOTE: The letter in the device name (d, q, h or u)
178 signifies the type of drive: 5.25" Double Density (d),
179 5.25" Quad Density (q), 5.25" High Density (h) or 3.5"
180 (any model, u). The use of the capital letters D, H
181 and E for the 3.5" models have been deprecated, since
182 the drive type is insignificant for these devices.
183
184 3 char Pseudo-TTY slaves
185 0 = /dev/ttyp0 First PTY slave
186 1 = /dev/ttyp1 Second PTY slave
187 ...
188 255 = /dev/ttyef 256th PTY slave
189
190 These are the old-style (BSD) PTY devices; Unix98
191 devices are on major 136 and above.
192
193 3 block First MFM, RLL and IDE hard disk/CD-ROM interface
194 0 = /dev/hda Master: whole disk (or CD-ROM)
195 64 = /dev/hdb Slave: whole disk (or CD-ROM)
196
197 For partitions, add to the whole disk device number:
198 0 = /dev/hd? Whole disk
199 1 = /dev/hd?1 First partition
200 2 = /dev/hd?2 Second partition
201 ...
202 63 = /dev/hd?63 63rd partition
203
204 For Linux/i386, partitions 1-4 are the primary
205 partitions, and 5 and above are logical partitions.
206 Other versions of Linux use partitioning schemes
207 appropriate to their respective architectures.
208
209 4 char TTY devices
210 0 = /dev/tty0 Current virtual console
211
212 1 = /dev/tty1 First virtual console
213 ...
214 63 = /dev/tty63 63rd virtual console
215 64 = /dev/ttyS0 First UART serial port
216 ...
217 255 = /dev/ttyS191 192nd UART serial port
218
219 UART serial ports refer to 8250/16450/16550 series devices.
220
221 Older versions of the Linux kernel used this major
222 number for BSD PTY devices. As of Linux 2.1.115, this
223 is no longer supported. Use major numbers 2 and 3.
224
225 4 block Aliases for dynamically allocated major devices to be used
226 when its not possible to create the real device nodes
227 because the root filesystem is mounted read-only.
228
229 0 = /dev/root
230
231 5 char Alternate TTY devices
232 0 = /dev/tty Current TTY device
233 1 = /dev/console System console
234 2 = /dev/ptmx PTY master multiplex
235 64 = /dev/cua0 Callout device for ttyS0
236 ...
237 255 = /dev/cua191 Callout device for ttyS191
238
239 (5,1) is /dev/console starting with Linux 2.1.71. See
240 the section on terminal devices for more information
241 on /dev/console.
242
243 6 char Parallel printer devices
244 0 = /dev/lp0 Parallel printer on parport0
245 1 = /dev/lp1 Parallel printer on parport1
246 ...
247
248 Current Linux kernels no longer have a fixed mapping
249 between parallel ports and I/O addresses. Instead,
250 they are redirected through the parport multiplex layer.
251
252 7 char Virtual console capture devices
253 0 = /dev/vcs Current vc text contents
254 1 = /dev/vcs1 tty1 text contents
255 ...
256 63 = /dev/vcs63 tty63 text contents
257 128 = /dev/vcsa Current vc text/attribute contents
258 129 = /dev/vcsa1 tty1 text/attribute contents
259 ...
260 191 = /dev/vcsa63 tty63 text/attribute contents
30aaa5c6 261
1da177e4
LT
262 NOTE: These devices permit both read and write access.
263
264 7 block Loopback devices
11420211
JE
265 0 = /dev/loop0 First loop device
266 1 = /dev/loop1 Second loop device
1da177e4
LT
267 ...
268
11420211 269 The loop devices are used to mount filesystems not
1da177e4 270 associated with block devices. The binding to the
11420211 271 loop devices is handled by mount(8) or losetup(8).
1da177e4
LT
272
273 8 block SCSI disk devices (0-15)
274 0 = /dev/sda First SCSI disk whole disk
275 16 = /dev/sdb Second SCSI disk whole disk
276 32 = /dev/sdc Third SCSI disk whole disk
277 ...
278 240 = /dev/sdp Sixteenth SCSI disk whole disk
279
280 Partitions are handled in the same way as for IDE
281 disks (see major number 3) except that the limit on
282 partitions is 15.
283
284 9 char SCSI tape devices
285 0 = /dev/st0 First SCSI tape, mode 0
286 1 = /dev/st1 Second SCSI tape, mode 0
287 ...
288 32 = /dev/st0l First SCSI tape, mode 1
289 33 = /dev/st1l Second SCSI tape, mode 1
290 ...
291 64 = /dev/st0m First SCSI tape, mode 2
292 65 = /dev/st1m Second SCSI tape, mode 2
293 ...
294 96 = /dev/st0a First SCSI tape, mode 3
295 97 = /dev/st1a Second SCSI tape, mode 3
296 ...
297 128 = /dev/nst0 First SCSI tape, mode 0, no rewind
298 129 = /dev/nst1 Second SCSI tape, mode 0, no rewind
299 ...
300 160 = /dev/nst0l First SCSI tape, mode 1, no rewind
301 161 = /dev/nst1l Second SCSI tape, mode 1, no rewind
302 ...
303 192 = /dev/nst0m First SCSI tape, mode 2, no rewind
304 193 = /dev/nst1m Second SCSI tape, mode 2, no rewind
305 ...
306 224 = /dev/nst0a First SCSI tape, mode 3, no rewind
307 225 = /dev/nst1a Second SCSI tape, mode 3, no rewind
308 ...
309
310 "No rewind" refers to the omission of the default
311 automatic rewind on device close. The MTREW or MTOFFL
312 ioctl()'s can be used to rewind the tape regardless of
313 the device used to access it.
314
315 9 block Metadisk (RAID) devices
316 0 = /dev/md0 First metadisk group
317 1 = /dev/md1 Second metadisk group
318 ...
319
320 The metadisk driver is used to span a
321 filesystem across multiple physical disks.
322
323 10 char Non-serial mice, misc features
324 0 = /dev/logibm Logitech bus mouse
325 1 = /dev/psaux PS/2-style mouse port
326 2 = /dev/inportbm Microsoft Inport bus mouse
327 3 = /dev/atibm ATI XL bus mouse
328 4 = /dev/jbm J-mouse
329 4 = /dev/amigamouse Amiga mouse (68k/Amiga)
330 5 = /dev/atarimouse Atari mouse
331 6 = /dev/sunmouse Sun mouse
332 7 = /dev/amigamouse1 Second Amiga mouse
333 8 = /dev/smouse Simple serial mouse driver
334 9 = /dev/pc110pad IBM PC-110 digitizer pad
335 10 = /dev/adbmouse Apple Desktop Bus mouse
336 11 = /dev/vrtpanel Vr41xx embedded touch panel
337 13 = /dev/vpcmouse Connectix Virtual PC Mouse
338 14 = /dev/touchscreen/ucb1x00 UCB 1x00 touchscreen
339 15 = /dev/touchscreen/mk712 MK712 touchscreen
340 128 = /dev/beep Fancy beep device
341 129 = /dev/modreq Kernel module load request {2.6}
342 130 = /dev/watchdog Watchdog timer port
343 131 = /dev/temperature Machine internal temperature
344 132 = /dev/hwtrap Hardware fault trap
345 133 = /dev/exttrp External device trap
346 134 = /dev/apm_bios Advanced Power Management BIOS
347 135 = /dev/rtc Real Time Clock
348 139 = /dev/openprom SPARC OpenBoot PROM
349 140 = /dev/relay8 Berkshire Products Octal relay card
350 141 = /dev/relay16 Berkshire Products ISO-16 relay card
351 142 = /dev/msr x86 model-specific registers {2.6}
352 143 = /dev/pciconf PCI configuration space
353 144 = /dev/nvram Non-volatile configuration RAM
354 145 = /dev/hfmodem Soundcard shortwave modem control {2.6}
355 146 = /dev/graphics Linux/SGI graphics device
356 147 = /dev/opengl Linux/SGI OpenGL pipe
357 148 = /dev/gfx Linux/SGI graphics effects device
358 149 = /dev/input/mouse Linux/SGI Irix emulation mouse
359 150 = /dev/input/keyboard Linux/SGI Irix emulation keyboard
360 151 = /dev/led Front panel LEDs
361 152 = /dev/kpoll Kernel Poll Driver
362 153 = /dev/mergemem Memory merge device
363 154 = /dev/pmu Macintosh PowerBook power manager
364 155 = /dev/isictl MultiTech ISICom serial control
365 156 = /dev/lcd Front panel LCD display
366 157 = /dev/ac Applicom Intl Profibus card
367 158 = /dev/nwbutton Netwinder external button
368 159 = /dev/nwdebug Netwinder debug interface
369 160 = /dev/nwflash Netwinder flash memory
370 161 = /dev/userdma User-space DMA access
371 162 = /dev/smbus System Management Bus
372 163 = /dev/lik Logitech Internet Keyboard
373 164 = /dev/ipmo Intel Intelligent Platform Management
374 165 = /dev/vmmon VMWare virtual machine monitor
375 166 = /dev/i2o/ctl I2O configuration manager
376 167 = /dev/specialix_sxctl Specialix serial control
377 168 = /dev/tcldrv Technology Concepts serial control
378 169 = /dev/specialix_rioctl Specialix RIO serial control
379 170 = /dev/thinkpad/thinkpad IBM Thinkpad devices
380 171 = /dev/srripc QNX4 API IPC manager
381 172 = /dev/usemaclone Semaphore clone device
382 173 = /dev/ipmikcs Intelligent Platform Management
383 174 = /dev/uctrl SPARCbook 3 microcontroller
384 175 = /dev/agpgart AGP Graphics Address Remapping Table
385 176 = /dev/gtrsc Gorgy Timing radio clock
386 177 = /dev/cbm Serial CBM bus
387 178 = /dev/jsflash JavaStation OS flash SIMM
388 179 = /dev/xsvc High-speed shared-mem/semaphore service
389 180 = /dev/vrbuttons Vr41xx button input device
390 181 = /dev/toshiba Toshiba laptop SMM support
391 182 = /dev/perfctr Performance-monitoring counters
392 183 = /dev/hwrng Generic random number generator
393 184 = /dev/cpu/microcode CPU microcode update interface
394 186 = /dev/atomicps Atomic shapshot of process state data
395 187 = /dev/irnet IrNET device
396 188 = /dev/smbusbios SMBus BIOS
397 189 = /dev/ussp_ctl User space serial port control
398 190 = /dev/crash Mission Critical Linux crash dump facility
399 191 = /dev/pcl181 <information missing>
400 192 = /dev/nas_xbus NAS xbus LCD/buttons access
401 193 = /dev/d7s SPARC 7-segment display
402 194 = /dev/zkshim Zero-Knowledge network shim control
403 195 = /dev/elographics/e2201 Elographics touchscreen E271-2201
404 198 = /dev/sexec Signed executable interface
405 199 = /dev/scanners/cuecat :CueCat barcode scanner
406 200 = /dev/net/tun TAP/TUN network device
407 201 = /dev/button/gulpb Transmeta GULP-B buttons
408 202 = /dev/emd/ctl Enhanced Metadisk RAID (EMD) control
409 204 = /dev/video/em8300 EM8300 DVD decoder control
410 205 = /dev/video/em8300_mv EM8300 DVD decoder video
411 206 = /dev/video/em8300_ma EM8300 DVD decoder audio
412 207 = /dev/video/em8300_sp EM8300 DVD decoder subpicture
413 208 = /dev/compaq/cpqphpc Compaq PCI Hot Plug Controller
414 209 = /dev/compaq/cpqrid Compaq Remote Insight Driver
30aaa5c6 415 210 = /dev/impi/bt IMPI coprocessor block transfer
1da177e4
LT
416 211 = /dev/impi/smic IMPI coprocessor stream interface
417 212 = /dev/watchdogs/0 First watchdog device
418 213 = /dev/watchdogs/1 Second watchdog device
419 214 = /dev/watchdogs/2 Third watchdog device
420 215 = /dev/watchdogs/3 Fourth watchdog device
421 216 = /dev/fujitsu/apanel Fujitsu/Siemens application panel
422 217 = /dev/ni/natmotn National Instruments Motion
423 218 = /dev/kchuid Inter-process chuid control
424 219 = /dev/modems/mwave MWave modem firmware upload
425 220 = /dev/mptctl Message passing technology (MPT) control
426 221 = /dev/mvista/hssdsi Montavista PICMG hot swap system driver
427 222 = /dev/mvista/hasi Montavista PICMG high availability
428 223 = /dev/input/uinput User level driver support for input
429 224 = /dev/tpm TCPA TPM driver
430 225 = /dev/pps Pulse Per Second driver
431 226 = /dev/systrace Systrace device
432 227 = /dev/mcelog X86_64 Machine Check Exception driver
433 228 = /dev/hpet HPET driver
434 229 = /dev/fuse Fuse (virtual filesystem in user-space)
435 230 = /dev/midishare MidiShare driver
436 240-254 Reserved for local use
437 255 Reserved for MISC_DYNAMIC_MINOR
438
439 11 char Raw keyboard device (Linux/SPARC only)
440 0 = /dev/kbd Raw keyboard device
441
442 11 char Serial Mux device (Linux/PA-RISC only)
443 0 = /dev/ttyB0 First mux port
444 1 = /dev/ttyB1 Second mux port
445 ...
446
447 11 block SCSI CD-ROM devices
448 0 = /dev/scd0 First SCSI CD-ROM
449 1 = /dev/scd1 Second SCSI CD-ROM
450 ...
451
452 The prefix /dev/sr (instead of /dev/scd) has been deprecated.
453
454 12 char QIC-02 tape
455 2 = /dev/ntpqic11 QIC-11, no rewind-on-close
456 3 = /dev/tpqic11 QIC-11, rewind-on-close
457 4 = /dev/ntpqic24 QIC-24, no rewind-on-close
458 5 = /dev/tpqic24 QIC-24, rewind-on-close
459 6 = /dev/ntpqic120 QIC-120, no rewind-on-close
460 7 = /dev/tpqic120 QIC-120, rewind-on-close
461 8 = /dev/ntpqic150 QIC-150, no rewind-on-close
462 9 = /dev/tpqic150 QIC-150, rewind-on-close
463
464 The device names specified are proposed -- if there
465 are "standard" names for these devices, please let me know.
466
467 12 block MSCDEX CD-ROM callback support {2.6}
468 0 = /dev/dos_cd0 First MSCDEX CD-ROM
469 1 = /dev/dos_cd1 Second MSCDEX CD-ROM
470 ...
471
472 13 char Input core
473 0 = /dev/input/js0 First joystick
474 1 = /dev/input/js1 Second joystick
475 ...
476 32 = /dev/input/mouse0 First mouse
477 33 = /dev/input/mouse1 Second mouse
478 ...
479 63 = /dev/input/mice Unified mouse
480 64 = /dev/input/event0 First event queue
481 65 = /dev/input/event1 Second event queue
482 ...
483
484 Each device type has 5 bits (32 minors).
485
486 13 block 8-bit MFM/RLL/IDE controller
487 0 = /dev/xda First XT disk whole disk
488 64 = /dev/xdb Second XT disk whole disk
489
490 Partitions are handled in the same way as IDE disks
491 (see major number 3).
492
493 14 char Open Sound System (OSS)
494 0 = /dev/mixer Mixer control
495 1 = /dev/sequencer Audio sequencer
496 2 = /dev/midi00 First MIDI port
497 3 = /dev/dsp Digital audio
498 4 = /dev/audio Sun-compatible digital audio
499 6 = /dev/sndstat Sound card status information {2.6}
500 7 = /dev/audioctl SPARC audio control device
501 8 = /dev/sequencer2 Sequencer -- alternate device
502 16 = /dev/mixer1 Second soundcard mixer control
503 17 = /dev/patmgr0 Sequencer patch manager
504 18 = /dev/midi01 Second MIDI port
505 19 = /dev/dsp1 Second soundcard digital audio
506 20 = /dev/audio1 Second soundcard Sun digital audio
507 33 = /dev/patmgr1 Sequencer patch manager
508 34 = /dev/midi02 Third MIDI port
509 50 = /dev/midi03 Fourth MIDI port
30aaa5c6 510
1da177e4
LT
511 14 block BIOS harddrive callback support {2.6}
512 0 = /dev/dos_hda First BIOS harddrive whole disk
513 64 = /dev/dos_hdb Second BIOS harddrive whole disk
514 128 = /dev/dos_hdc Third BIOS harddrive whole disk
515 192 = /dev/dos_hdd Fourth BIOS harddrive whole disk
516
517 Partitions are handled in the same way as IDE disks
518 (see major number 3).
519
520 15 char Joystick
521 0 = /dev/js0 First analog joystick
522 1 = /dev/js1 Second analog joystick
523 ...
524 128 = /dev/djs0 First digital joystick
525 129 = /dev/djs1 Second digital joystick
526 ...
527 15 block Sony CDU-31A/CDU-33A CD-ROM
528 0 = /dev/sonycd Sony CDU-31a CD-ROM
529
530 16 char Non-SCSI scanners
531 0 = /dev/gs4500 Genius 4500 handheld scanner
30aaa5c6 532
1da177e4
LT
533 16 block GoldStar CD-ROM
534 0 = /dev/gscd GoldStar CD-ROM
535
536 17 char Chase serial card
537 0 = /dev/ttyH0 First Chase port
538 1 = /dev/ttyH1 Second Chase port
539 ...
540 17 block Optics Storage CD-ROM
541 0 = /dev/optcd Optics Storage CD-ROM
542
543 18 char Chase serial card - alternate devices
544 0 = /dev/cuh0 Callout device for ttyH0
545 1 = /dev/cuh1 Callout device for ttyH1
546 ...
547 18 block Sanyo CD-ROM
548 0 = /dev/sjcd Sanyo CD-ROM
549
550 19 char Cyclades serial card
551 0 = /dev/ttyC0 First Cyclades port
552 ...
553 31 = /dev/ttyC31 32nd Cyclades port
30aaa5c6 554
1da177e4
LT
555 19 block "Double" compressed disk
556 0 = /dev/double0 First compressed disk
557 ...
558 7 = /dev/double7 Eighth compressed disk
559 128 = /dev/cdouble0 Mirror of first compressed disk
560 ...
561 135 = /dev/cdouble7 Mirror of eighth compressed disk
562
563 See the Double documentation for the meaning of the
564 mirror devices.
565
566 20 char Cyclades serial card - alternate devices
567 0 = /dev/cub0 Callout device for ttyC0
568 ...
569 31 = /dev/cub31 Callout device for ttyC31
30aaa5c6 570
1da177e4
LT
571 20 block Hitachi CD-ROM (under development)
572 0 = /dev/hitcd Hitachi CD-ROM
573
574 21 char Generic SCSI access
575 0 = /dev/sg0 First generic SCSI device
576 1 = /dev/sg1 Second generic SCSI device
577 ...
578
579 Most distributions name these /dev/sga, /dev/sgb...;
580 this sets an unnecessary limit of 26 SCSI devices in
581 the system and is counter to standard Linux
582 device-naming practice.
583
584 21 block Acorn MFM hard drive interface
585 0 = /dev/mfma First MFM drive whole disk
586 64 = /dev/mfmb Second MFM drive whole disk
587
588 This device is used on the ARM-based Acorn RiscPC.
589 Partitions are handled the same way as for IDE disks
30aaa5c6 590 (see major number 3).
1da177e4
LT
591
592 22 char Digiboard serial card
593 0 = /dev/ttyD0 First Digiboard port
594 1 = /dev/ttyD1 Second Digiboard port
595 ...
596 22 block Second IDE hard disk/CD-ROM interface
597 0 = /dev/hdc Master: whole disk (or CD-ROM)
598 64 = /dev/hdd Slave: whole disk (or CD-ROM)
30aaa5c6 599
1da177e4
LT
600 Partitions are handled the same way as for the first
601 interface (see major number 3).
602
603 23 char Digiboard serial card - alternate devices
604 0 = /dev/cud0 Callout device for ttyD0
605 1 = /dev/cud1 Callout device for ttyD1
606 ...
607 23 block Mitsumi proprietary CD-ROM
608 0 = /dev/mcd Mitsumi CD-ROM
609
610 24 char Stallion serial card
611 0 = /dev/ttyE0 Stallion port 0 card 0
612 1 = /dev/ttyE1 Stallion port 1 card 0
613 ...
614 64 = /dev/ttyE64 Stallion port 0 card 1
615 65 = /dev/ttyE65 Stallion port 1 card 1
616 ...
617 128 = /dev/ttyE128 Stallion port 0 card 2
618 129 = /dev/ttyE129 Stallion port 1 card 2
619 ...
620 192 = /dev/ttyE192 Stallion port 0 card 3
621 193 = /dev/ttyE193 Stallion port 1 card 3
622 ...
623 24 block Sony CDU-535 CD-ROM
624 0 = /dev/cdu535 Sony CDU-535 CD-ROM
625
626 25 char Stallion serial card - alternate devices
627 0 = /dev/cue0 Callout device for ttyE0
628 1 = /dev/cue1 Callout device for ttyE1
629 ...
630 64 = /dev/cue64 Callout device for ttyE64
631 65 = /dev/cue65 Callout device for ttyE65
632 ...
633 128 = /dev/cue128 Callout device for ttyE128
634 129 = /dev/cue129 Callout device for ttyE129
635 ...
636 192 = /dev/cue192 Callout device for ttyE192
637 193 = /dev/cue193 Callout device for ttyE193
638 ...
639 25 block First Matsushita (Panasonic/SoundBlaster) CD-ROM
640 0 = /dev/sbpcd0 Panasonic CD-ROM controller 0 unit 0
641 1 = /dev/sbpcd1 Panasonic CD-ROM controller 0 unit 1
642 2 = /dev/sbpcd2 Panasonic CD-ROM controller 0 unit 2
643 3 = /dev/sbpcd3 Panasonic CD-ROM controller 0 unit 3
644
645 26 char Quanta WinVision frame grabber {2.6}
646 0 = /dev/wvisfgrab Quanta WinVision frame grabber
30aaa5c6 647
1da177e4
LT
648 26 block Second Matsushita (Panasonic/SoundBlaster) CD-ROM
649 0 = /dev/sbpcd4 Panasonic CD-ROM controller 1 unit 0
650 1 = /dev/sbpcd5 Panasonic CD-ROM controller 1 unit 1
651 2 = /dev/sbpcd6 Panasonic CD-ROM controller 1 unit 2
652 3 = /dev/sbpcd7 Panasonic CD-ROM controller 1 unit 3
653
654 27 char QIC-117 tape
655 0 = /dev/qft0 Unit 0, rewind-on-close
656 1 = /dev/qft1 Unit 1, rewind-on-close
657 2 = /dev/qft2 Unit 2, rewind-on-close
658 3 = /dev/qft3 Unit 3, rewind-on-close
659 4 = /dev/nqft0 Unit 0, no rewind-on-close
660 5 = /dev/nqft1 Unit 1, no rewind-on-close
661 6 = /dev/nqft2 Unit 2, no rewind-on-close
662 7 = /dev/nqft3 Unit 3, no rewind-on-close
663 16 = /dev/zqft0 Unit 0, rewind-on-close, compression
664 17 = /dev/zqft1 Unit 1, rewind-on-close, compression
665 18 = /dev/zqft2 Unit 2, rewind-on-close, compression
666 19 = /dev/zqft3 Unit 3, rewind-on-close, compression
667 20 = /dev/nzqft0 Unit 0, no rewind-on-close, compression
668 21 = /dev/nzqft1 Unit 1, no rewind-on-close, compression
669 22 = /dev/nzqft2 Unit 2, no rewind-on-close, compression
670 23 = /dev/nzqft3 Unit 3, no rewind-on-close, compression
671 32 = /dev/rawqft0 Unit 0, rewind-on-close, no file marks
672 33 = /dev/rawqft1 Unit 1, rewind-on-close, no file marks
673 34 = /dev/rawqft2 Unit 2, rewind-on-close, no file marks
674 35 = /dev/rawqft3 Unit 3, rewind-on-close, no file marks
675 36 = /dev/nrawqft0 Unit 0, no rewind-on-close, no file marks
676 37 = /dev/nrawqft1 Unit 1, no rewind-on-close, no file marks
677 38 = /dev/nrawqft2 Unit 2, no rewind-on-close, no file marks
678 39 = /dev/nrawqft3 Unit 3, no rewind-on-close, no file marks
30aaa5c6 679
1da177e4
LT
680 27 block Third Matsushita (Panasonic/SoundBlaster) CD-ROM
681 0 = /dev/sbpcd8 Panasonic CD-ROM controller 2 unit 0
682 1 = /dev/sbpcd9 Panasonic CD-ROM controller 2 unit 1
683 2 = /dev/sbpcd10 Panasonic CD-ROM controller 2 unit 2
684 3 = /dev/sbpcd11 Panasonic CD-ROM controller 2 unit 3
685
686 28 char Stallion serial card - card programming
687 0 = /dev/staliomem0 First Stallion card I/O memory
688 1 = /dev/staliomem1 Second Stallion card I/O memory
689 2 = /dev/staliomem2 Third Stallion card I/O memory
690 3 = /dev/staliomem3 Fourth Stallion card I/O memory
30aaa5c6 691
1da177e4
LT
692 28 char Atari SLM ACSI laser printer (68k/Atari)
693 0 = /dev/slm0 First SLM laser printer
694 1 = /dev/slm1 Second SLM laser printer
695 ...
696 28 block Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
697 0 = /dev/sbpcd12 Panasonic CD-ROM controller 3 unit 0
698 1 = /dev/sbpcd13 Panasonic CD-ROM controller 3 unit 1
699 2 = /dev/sbpcd14 Panasonic CD-ROM controller 3 unit 2
700 3 = /dev/sbpcd15 Panasonic CD-ROM controller 3 unit 3
30aaa5c6 701
1da177e4
LT
702 28 block ACSI disk (68k/Atari)
703 0 = /dev/ada First ACSI disk whole disk
704 16 = /dev/adb Second ACSI disk whole disk
705 32 = /dev/adc Third ACSI disk whole disk
706 ...
707 240 = /dev/adp 16th ACSI disk whole disk
708
709 Partitions are handled in the same way as for IDE
710 disks (see major number 3) except that the limit on
711 partitions is 15, like SCSI.
712
713 29 char Universal frame buffer
714 0 = /dev/fb0 First frame buffer
715 1 = /dev/fb1 Second frame buffer
716 ...
717 31 = /dev/fb31 32nd frame buffer
718
719 29 block Aztech/Orchid/Okano/Wearnes CD-ROM
720 0 = /dev/aztcd Aztech CD-ROM
721
722 30 char iBCS-2 compatibility devices
723 0 = /dev/socksys Socket access
724 1 = /dev/spx SVR3 local X interface
725 32 = /dev/inet/ip Network access
726 33 = /dev/inet/icmp
727 34 = /dev/inet/ggp
728 35 = /dev/inet/ipip
729 36 = /dev/inet/tcp
730 37 = /dev/inet/egp
731 38 = /dev/inet/pup
732 39 = /dev/inet/udp
733 40 = /dev/inet/idp
734 41 = /dev/inet/rawip
735
736 Additionally, iBCS-2 requires the following links:
737
738 /dev/ip -> /dev/inet/ip
739 /dev/icmp -> /dev/inet/icmp
740 /dev/ggp -> /dev/inet/ggp
741 /dev/ipip -> /dev/inet/ipip
742 /dev/tcp -> /dev/inet/tcp
743 /dev/egp -> /dev/inet/egp
744 /dev/pup -> /dev/inet/pup
745 /dev/udp -> /dev/inet/udp
746 /dev/idp -> /dev/inet/idp
747 /dev/rawip -> /dev/inet/rawip
748 /dev/inet/arp -> /dev/inet/udp
749 /dev/inet/rip -> /dev/inet/udp
750 /dev/nfsd -> /dev/socksys
751 /dev/X0R -> /dev/null (? apparently not required ?)
752
753 30 block Philips LMS CM-205 CD-ROM
754 0 = /dev/cm205cd Philips LMS CM-205 CD-ROM
755
756 /dev/lmscd is an older name for this device. This
757 driver does not work with the CM-205MS CD-ROM.
758
759 31 char MPU-401 MIDI
760 0 = /dev/mpu401data MPU-401 data port
761 1 = /dev/mpu401stat MPU-401 status port
30aaa5c6 762
1da177e4
LT
763 31 block ROM/flash memory card
764 0 = /dev/rom0 First ROM card (rw)
765 ...
766 7 = /dev/rom7 Eighth ROM card (rw)
767 8 = /dev/rrom0 First ROM card (ro)
768 ...
769 15 = /dev/rrom7 Eighth ROM card (ro)
770 16 = /dev/flash0 First flash memory card (rw)
771 ...
772 23 = /dev/flash7 Eighth flash memory card (rw)
773 24 = /dev/rflash0 First flash memory card (ro)
774 ...
775 31 = /dev/rflash7 Eighth flash memory card (ro)
776
777 The read-write (rw) devices support back-caching
778 written data in RAM, as well as writing to flash RAM
779 devices. The read-only devices (ro) support reading
780 only.
781
782 32 char Specialix serial card
783 0 = /dev/ttyX0 First Specialix port
784 1 = /dev/ttyX1 Second Specialix port
785 ...
786 32 block Philips LMS CM-206 CD-ROM
787 0 = /dev/cm206cd Philips LMS CM-206 CD-ROM
788
789 33 char Specialix serial card - alternate devices
790 0 = /dev/cux0 Callout device for ttyX0
791 1 = /dev/cux1 Callout device for ttyX1
792 ...
793 33 block Third IDE hard disk/CD-ROM interface
794 0 = /dev/hde Master: whole disk (or CD-ROM)
795 64 = /dev/hdf Slave: whole disk (or CD-ROM)
796
797 Partitions are handled the same way as for the first
798 interface (see major number 3).
799
800 34 char Z8530 HDLC driver
801 0 = /dev/scc0 First Z8530, first port
802 1 = /dev/scc1 First Z8530, second port
803 2 = /dev/scc2 Second Z8530, first port
804 3 = /dev/scc3 Second Z8530, second port
805 ...
806
807 In a previous version these devices were named
808 /dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so
809 on.
810
811 34 block Fourth IDE hard disk/CD-ROM interface
812 0 = /dev/hdg Master: whole disk (or CD-ROM)
813 64 = /dev/hdh Slave: whole disk (or CD-ROM)
30aaa5c6 814
1da177e4
LT
815 Partitions are handled the same way as for the first
816 interface (see major number 3).
817
818 35 char tclmidi MIDI driver
819 0 = /dev/midi0 First MIDI port, kernel timed
820 1 = /dev/midi1 Second MIDI port, kernel timed
821 2 = /dev/midi2 Third MIDI port, kernel timed
822 3 = /dev/midi3 Fourth MIDI port, kernel timed
823 64 = /dev/rmidi0 First MIDI port, untimed
824 65 = /dev/rmidi1 Second MIDI port, untimed
825 66 = /dev/rmidi2 Third MIDI port, untimed
826 67 = /dev/rmidi3 Fourth MIDI port, untimed
827 128 = /dev/smpte0 First MIDI port, SMPTE timed
828 129 = /dev/smpte1 Second MIDI port, SMPTE timed
829 130 = /dev/smpte2 Third MIDI port, SMPTE timed
830 131 = /dev/smpte3 Fourth MIDI port, SMPTE timed
30aaa5c6 831
1da177e4
LT
832 35 block Slow memory ramdisk
833 0 = /dev/slram Slow memory ramdisk
834
835 36 char Netlink support
836 0 = /dev/route Routing, device updates, kernel to user
837 1 = /dev/skip enSKIP security cache control
838 3 = /dev/fwmonitor Firewall packet copies
839 16 = /dev/tap0 First Ethertap device
840 ...
841 31 = /dev/tap15 16th Ethertap device
30aaa5c6 842
1da177e4
LT
843 36 block MCA ESDI hard disk
844 0 = /dev/eda First ESDI disk whole disk
845 64 = /dev/edb Second ESDI disk whole disk
846 ...
847
848 Partitions are handled in the same way as IDE disks
849 (see major number 3).
850
851 37 char IDE tape
852 0 = /dev/ht0 First IDE tape
853 1 = /dev/ht1 Second IDE tape
854 ...
855 128 = /dev/nht0 First IDE tape, no rewind-on-close
856 129 = /dev/nht1 Second IDE tape, no rewind-on-close
857 ...
858
859 Currently, only one IDE tape drive is supported.
860
861 37 block Zorro II ramdisk
862 0 = /dev/z2ram Zorro II ramdisk
863
864 38 char Myricom PCI Myrinet board
865 0 = /dev/mlanai0 First Myrinet board
866 1 = /dev/mlanai1 Second Myrinet board
867 ...
868
869 This device is used for status query, board control
870 and "user level packet I/O." This board is also
871 accessible as a standard networking "eth" device.
872
873 38 block Reserved for Linux/AP+
874
875 39 char ML-16P experimental I/O board
876 0 = /dev/ml16pa-a0 First card, first analog channel
877 1 = /dev/ml16pa-a1 First card, second analog channel
878 ...
879 15 = /dev/ml16pa-a15 First card, 16th analog channel
880 16 = /dev/ml16pa-d First card, digital lines
881 17 = /dev/ml16pa-c0 First card, first counter/timer
882 18 = /dev/ml16pa-c1 First card, second counter/timer
883 19 = /dev/ml16pa-c2 First card, third counter/timer
884 32 = /dev/ml16pb-a0 Second card, first analog channel
885 33 = /dev/ml16pb-a1 Second card, second analog channel
886 ...
887 47 = /dev/ml16pb-a15 Second card, 16th analog channel
888 48 = /dev/ml16pb-d Second card, digital lines
889 49 = /dev/ml16pb-c0 Second card, first counter/timer
890 50 = /dev/ml16pb-c1 Second card, second counter/timer
891 51 = /dev/ml16pb-c2 Second card, third counter/timer
892 ...
893 39 block Reserved for Linux/AP+
894
895 40 char Matrox Meteor frame grabber {2.6}
896 0 = /dev/mmetfgrab Matrox Meteor frame grabber
30aaa5c6 897
1da177e4
LT
898 40 block Syquest EZ135 parallel port removable drive
899 0 = /dev/eza Parallel EZ135 drive, whole disk
900
901 This device is obsolete and will be removed in a
902 future version of Linux. It has been replaced with
903 the parallel port IDE disk driver at major number 45.
904 Partitions are handled in the same way as IDE disks
905 (see major number 3).
906
907 41 char Yet Another Micro Monitor
908 0 = /dev/yamm Yet Another Micro Monitor
30aaa5c6 909
1da177e4
LT
910 41 block MicroSolutions BackPack parallel port CD-ROM
911 0 = /dev/bpcd BackPack CD-ROM
912
913 This device is obsolete and will be removed in a
914 future version of Linux. It has been replaced with
915 the parallel port ATAPI CD-ROM driver at major number 46.
916
917 42 char Demo/sample use
30aaa5c6 918
1da177e4
LT
919 42 block Demo/sample use
920
921 This number is intended for use in sample code, as
922 well as a general "example" device number. It
923 should never be used for a device driver that is being
924 distributed; either obtain an official number or use
925 the local/experimental range. The sudden addition or
926 removal of a driver with this number should not cause
927 ill effects to the system (bugs excepted.)
928
929 IN PARTICULAR, ANY DISTRIBUTION WHICH CONTAINS A
930 DEVICE DRIVER USING MAJOR NUMBER 42 IS NONCOMPLIANT.
931
932 43 char isdn4linux virtual modem
933 0 = /dev/ttyI0 First virtual modem
934 ...
935 63 = /dev/ttyI63 64th virtual modem
30aaa5c6 936
1da177e4
LT
937 43 block Network block devices
938 0 = /dev/nb0 First network block device
939 1 = /dev/nb1 Second network block device
940 ...
941
942 Network Block Device is somehow similar to loopback
943 devices: If you read from it, it sends packet across
944 network asking server for data. If you write to it, it
945 sends packet telling server to write. It could be used
946 to mounting filesystems over the net, swapping over
947 the net, implementing block device in userland etc.
948
949 44 char isdn4linux virtual modem - alternate devices
950 0 = /dev/cui0 Callout device for ttyI0
951 ...
952 63 = /dev/cui63 Callout device for ttyI63
30aaa5c6 953
1da177e4
LT
954 44 block Flash Translation Layer (FTL) filesystems
955 0 = /dev/ftla FTL on first Memory Technology Device
956 16 = /dev/ftlb FTL on second Memory Technology Device
957 32 = /dev/ftlc FTL on third Memory Technology Device
958 ...
30aaa5c6 959 240 = /dev/ftlp FTL on 16th Memory Technology Device
1da177e4
LT
960
961 Partitions are handled in the same way as for IDE
11420211 962 disks (see major number 3) except that the partition
1da177e4
LT
963 limit is 15 rather than 63 per disk (same as SCSI.)
964
965 45 char isdn4linux ISDN BRI driver
966 0 = /dev/isdn0 First virtual B channel raw data
967 ...
968 63 = /dev/isdn63 64th virtual B channel raw data
969 64 = /dev/isdnctrl0 First channel control/debug
970 ...
971 127 = /dev/isdnctrl63 64th channel control/debug
972
973 128 = /dev/ippp0 First SyncPPP device
974 ...
975 191 = /dev/ippp63 64th SyncPPP device
976
977 255 = /dev/isdninfo ISDN monitor interface
30aaa5c6 978
1da177e4
LT
979 45 block Parallel port IDE disk devices
980 0 = /dev/pda First parallel port IDE disk
981 16 = /dev/pdb Second parallel port IDE disk
982 32 = /dev/pdc Third parallel port IDE disk
983 48 = /dev/pdd Fourth parallel port IDE disk
984
985 Partitions are handled in the same way as for IDE
986 disks (see major number 3) except that the partition
987 limit is 15 rather than 63 per disk.
988
989 46 char Comtrol Rocketport serial card
990 0 = /dev/ttyR0 First Rocketport port
991 1 = /dev/ttyR1 Second Rocketport port
992 ...
993 46 block Parallel port ATAPI CD-ROM devices
994 0 = /dev/pcd0 First parallel port ATAPI CD-ROM
995 1 = /dev/pcd1 Second parallel port ATAPI CD-ROM
996 2 = /dev/pcd2 Third parallel port ATAPI CD-ROM
997 3 = /dev/pcd3 Fourth parallel port ATAPI CD-ROM
998
999 47 char Comtrol Rocketport serial card - alternate devices
1000 0 = /dev/cur0 Callout device for ttyR0
1001 1 = /dev/cur1 Callout device for ttyR1
1002 ...
1003 47 block Parallel port ATAPI disk devices
1004 0 = /dev/pf0 First parallel port ATAPI disk
1005 1 = /dev/pf1 Second parallel port ATAPI disk
1006 2 = /dev/pf2 Third parallel port ATAPI disk
1007 3 = /dev/pf3 Fourth parallel port ATAPI disk
1008
1009 This driver is intended for floppy disks and similar
1010 devices and hence does not support partitioning.
1011
1012 48 char SDL RISCom serial card
1013 0 = /dev/ttyL0 First RISCom port
1014 1 = /dev/ttyL1 Second RISCom port
1015 ...
1016 48 block Mylex DAC960 PCI RAID controller; first controller
1017 0 = /dev/rd/c0d0 First disk, whole disk
1018 8 = /dev/rd/c0d1 Second disk, whole disk
1019 ...
1020 248 = /dev/rd/c0d31 32nd disk, whole disk
1021
1022 For partitions add:
1023 0 = /dev/rd/c?d? Whole disk
1024 1 = /dev/rd/c?d?p1 First partition
1025 ...
1026 7 = /dev/rd/c?d?p7 Seventh partition
1027
1028 49 char SDL RISCom serial card - alternate devices
1029 0 = /dev/cul0 Callout device for ttyL0
1030 1 = /dev/cul1 Callout device for ttyL1
1031 ...
1032 49 block Mylex DAC960 PCI RAID controller; second controller
1033 0 = /dev/rd/c1d0 First disk, whole disk
1034 8 = /dev/rd/c1d1 Second disk, whole disk
1035 ...
1036 248 = /dev/rd/c1d31 32nd disk, whole disk
1037
1038 Partitions are handled as for major 48.
1039
1040 50 char Reserved for GLINT
1041
1042 50 block Mylex DAC960 PCI RAID controller; third controller
1043 0 = /dev/rd/c2d0 First disk, whole disk
1044 8 = /dev/rd/c2d1 Second disk, whole disk
1045 ...
1046 248 = /dev/rd/c2d31 32nd disk, whole disk
1047
1048 51 char Baycom radio modem OR Radio Tech BIM-XXX-RS232 radio modem
1049 0 = /dev/bc0 First Baycom radio modem
1050 1 = /dev/bc1 Second Baycom radio modem
1051 ...
1052 51 block Mylex DAC960 PCI RAID controller; fourth controller
1053 0 = /dev/rd/c3d0 First disk, whole disk
1054 8 = /dev/rd/c3d1 Second disk, whole disk
1055 ...
1056 248 = /dev/rd/c3d31 32nd disk, whole disk
1057
1058 Partitions are handled as for major 48.
1059
1060 52 char Spellcaster DataComm/BRI ISDN card
1061 0 = /dev/dcbri0 First DataComm card
1062 1 = /dev/dcbri1 Second DataComm card
1063 2 = /dev/dcbri2 Third DataComm card
1064 3 = /dev/dcbri3 Fourth DataComm card
30aaa5c6 1065
1da177e4
LT
1066 52 block Mylex DAC960 PCI RAID controller; fifth controller
1067 0 = /dev/rd/c4d0 First disk, whole disk
1068 8 = /dev/rd/c4d1 Second disk, whole disk
1069 ...
1070 248 = /dev/rd/c4d31 32nd disk, whole disk
1071
1072 Partitions are handled as for major 48.
1073
1074 53 char BDM interface for remote debugging MC683xx microcontrollers
1075 0 = /dev/pd_bdm0 PD BDM interface on lp0
1076 1 = /dev/pd_bdm1 PD BDM interface on lp1
1077 2 = /dev/pd_bdm2 PD BDM interface on lp2
1078 4 = /dev/icd_bdm0 ICD BDM interface on lp0
1079 5 = /dev/icd_bdm1 ICD BDM interface on lp1
1080 6 = /dev/icd_bdm2 ICD BDM interface on lp2
1081
1082 This device is used for the interfacing to the MC683xx
1083 microcontrollers via Background Debug Mode by use of a
1084 Parallel Port interface. PD is the Motorola Public
1085 Domain Interface and ICD is the commercial interface
1086 by P&E.
1087
1088 53 block Mylex DAC960 PCI RAID controller; sixth controller
1089 0 = /dev/rd/c5d0 First disk, whole disk
1090 8 = /dev/rd/c5d1 Second disk, whole disk
1091 ...
1092 248 = /dev/rd/c5d31 32nd disk, whole disk
1093
1094 Partitions are handled as for major 48.
1095
1096 54 char Electrocardiognosis Holter serial card
1097 0 = /dev/holter0 First Holter port
1098 1 = /dev/holter1 Second Holter port
1099 2 = /dev/holter2 Third Holter port
1100
1101 A custom serial card used by Electrocardiognosis SRL
1102 <mseritan@ottonel.pub.ro> to transfer data from Holter
1103 24-hour heart monitoring equipment.
1104
1105 54 block Mylex DAC960 PCI RAID controller; seventh controller
1106 0 = /dev/rd/c6d0 First disk, whole disk
1107 8 = /dev/rd/c6d1 Second disk, whole disk
1108 ...
1109 248 = /dev/rd/c6d31 32nd disk, whole disk
1110
1111 Partitions are handled as for major 48.
1112
1113 55 char DSP56001 digital signal processor
1114 0 = /dev/dsp56k First DSP56001
30aaa5c6 1115
5d3f083d 1116 55 block Mylex DAC960 PCI RAID controller; eighth controller
1da177e4
LT
1117 0 = /dev/rd/c7d0 First disk, whole disk
1118 8 = /dev/rd/c7d1 Second disk, whole disk
1119 ...
1120 248 = /dev/rd/c7d31 32nd disk, whole disk
1121
1122 Partitions are handled as for major 48.
1123
1124 56 char Apple Desktop Bus
1125 0 = /dev/adb ADB bus control
1126
1127 Additional devices will be added to this number, all
1128 starting with /dev/adb.
1129
1130 56 block Fifth IDE hard disk/CD-ROM interface
1131 0 = /dev/hdi Master: whole disk (or CD-ROM)
1132 64 = /dev/hdj Slave: whole disk (or CD-ROM)
1133
1134 Partitions are handled the same way as for the first
1135 interface (see major number 3).
1136
1137 57 char Hayes ESP serial card
1138 0 = /dev/ttyP0 First ESP port
1139 1 = /dev/ttyP1 Second ESP port
1140 ...
1141
1142 57 block Sixth IDE hard disk/CD-ROM interface
1143 0 = /dev/hdk Master: whole disk (or CD-ROM)
1144 64 = /dev/hdl Slave: whole disk (or CD-ROM)
1145
1146 Partitions are handled the same way as for the first
1147 interface (see major number 3).
1148
1149 58 char Hayes ESP serial card - alternate devices
1150 0 = /dev/cup0 Callout device for ttyP0
1151 1 = /dev/cup1 Callout device for ttyP1
1152 ...
30aaa5c6 1153
1da177e4
LT
1154 58 block Reserved for logical volume manager
1155
1156 59 char sf firewall package
1157 0 = /dev/firewall Communication with sf kernel module
1158
1159 59 block Generic PDA filesystem device
1160 0 = /dev/pda0 First PDA device
1161 1 = /dev/pda1 Second PDA device
1162 ...
1163
1164 The pda devices are used to mount filesystems on
1165 remote pda's (basically slow handheld machines with
1166 proprietary OS's and limited memory and storage
1167 running small fs translation drivers) through serial /
1168 IRDA / parallel links.
1169
1170 NAMING CONFLICT -- PROPOSED REVISED NAME /dev/rpda0 etc
1171
1172 60-63 char LOCAL/EXPERIMENTAL USE
30aaa5c6 1173
1da177e4
LT
1174 60-63 block LOCAL/EXPERIMENTAL USE
1175 Allocated for local/experimental use. For devices not
1176 assigned official numbers, these ranges should be
1177 used in order to avoid conflicting with future assignments.
1178
1179 64 char ENskip kernel encryption package
1180 0 = /dev/enskip Communication with ENskip kernel module
1181
1182 64 block Scramdisk/DriveCrypt encrypted devices
1183 0 = /dev/scramdisk/master Master node for ioctls
1184 1 = /dev/scramdisk/1 First encrypted device
1185 2 = /dev/scramdisk/2 Second encrypted device
1186 ...
1187 255 = /dev/scramdisk/255 255th encrypted device
1188
1189 The filename of the encrypted container and the passwords
1190 are sent via ioctls (using the sdmount tool) to the master
1191 node which then activates them via one of the
11420211 1192 /dev/scramdisk/x nodes for loop mounting (all handled
1da177e4
LT
1193 through the sdmount tool).
1194
1195 Requested by: andy@scramdisklinux.org
1196
1197 65 char Sundance "plink" Transputer boards (obsolete, unused)
1198 0 = /dev/plink0 First plink device
1199 1 = /dev/plink1 Second plink device
1200 2 = /dev/plink2 Third plink device
1201 3 = /dev/plink3 Fourth plink device
1202 64 = /dev/rplink0 First plink device, raw
1203 65 = /dev/rplink1 Second plink device, raw
1204 66 = /dev/rplink2 Third plink device, raw
1205 67 = /dev/rplink3 Fourth plink device, raw
1206 128 = /dev/plink0d First plink device, debug
1207 129 = /dev/plink1d Second plink device, debug
1208 130 = /dev/plink2d Third plink device, debug
1209 131 = /dev/plink3d Fourth plink device, debug
1210 192 = /dev/rplink0d First plink device, raw, debug
1211 193 = /dev/rplink1d Second plink device, raw, debug
1212 194 = /dev/rplink2d Third plink device, raw, debug
1213 195 = /dev/rplink3d Fourth plink device, raw, debug
1214
1215 This is a commercial driver; contact James Howes
1216 <jth@prosig.demon.co.uk> for information.
1217
1218 65 block SCSI disk devices (16-31)
1219 0 = /dev/sdq 17th SCSI disk whole disk
1220 16 = /dev/sdr 18th SCSI disk whole disk
1221 32 = /dev/sds 19th SCSI disk whole disk
1222 ...
1223 240 = /dev/sdaf 32nd SCSI disk whole disk
1224
1225 Partitions are handled in the same way as for IDE
1226 disks (see major number 3) except that the limit on
1227 partitions is 15.
1228
1229 66 char YARC PowerPC PCI coprocessor card
1230 0 = /dev/yppcpci0 First YARC card
1231 1 = /dev/yppcpci1 Second YARC card
1232 ...
1233
1234 66 block SCSI disk devices (32-47)
1235 0 = /dev/sdag 33th SCSI disk whole disk
1236 16 = /dev/sdah 34th SCSI disk whole disk
1237 32 = /dev/sdai 35th SCSI disk whole disk
1238 ...
1239 240 = /dev/sdav 48nd SCSI disk whole disk
1240
1241 Partitions are handled in the same way as for IDE
1242 disks (see major number 3) except that the limit on
1243 partitions is 15.
1244
1245 67 char Coda network file system
1246 0 = /dev/cfs0 Coda cache manager
1247
1248 See http://www.coda.cs.cmu.edu for information about Coda.
1249
1250 67 block SCSI disk devices (48-63)
1251 0 = /dev/sdaw 49th SCSI disk whole disk
1252 16 = /dev/sdax 50th SCSI disk whole disk
1253 32 = /dev/sday 51st SCSI disk whole disk
1254 ...
1255 240 = /dev/sdbl 64th SCSI disk whole disk
1256
1257 Partitions are handled in the same way as for IDE
1258 disks (see major number 3) except that the limit on
1259 partitions is 15.
1260
1261 68 char CAPI 2.0 interface
1262 0 = /dev/capi20 Control device
1263 1 = /dev/capi20.00 First CAPI 2.0 application
1264 2 = /dev/capi20.01 Second CAPI 2.0 application
1265 ...
1266 20 = /dev/capi20.19 19th CAPI 2.0 application
1267
1268 ISDN CAPI 2.0 driver for use with CAPI 2.0
1269 applications; currently supports the AVM B1 card.
1270
1271 68 block SCSI disk devices (64-79)
1272 0 = /dev/sdbm 65th SCSI disk whole disk
1273 16 = /dev/sdbn 66th SCSI disk whole disk
1274 32 = /dev/sdbo 67th SCSI disk whole disk
1275 ...
1276 240 = /dev/sdcb 80th SCSI disk whole disk
1277
1278 Partitions are handled in the same way as for IDE
1279 disks (see major number 3) except that the limit on
1280 partitions is 15.
1281
1282 69 char MA16 numeric accelerator card
1283 0 = /dev/ma16 Board memory access
1284
1285 69 block SCSI disk devices (80-95)
1286 0 = /dev/sdcc 81st SCSI disk whole disk
1287 16 = /dev/sdcd 82nd SCSI disk whole disk
1288 32 = /dev/sdce 83th SCSI disk whole disk
1289 ...
1290 240 = /dev/sdcr 96th SCSI disk whole disk
1291
1292 Partitions are handled in the same way as for IDE
1293 disks (see major number 3) except that the limit on
1294 partitions is 15.
1295
1296 70 char SpellCaster Protocol Services Interface
1297 0 = /dev/apscfg Configuration interface
1298 1 = /dev/apsauth Authentication interface
1299 2 = /dev/apslog Logging interface
1300 3 = /dev/apsdbg Debugging interface
1301 64 = /dev/apsisdn ISDN command interface
1302 65 = /dev/apsasync Async command interface
1303 128 = /dev/apsmon Monitor interface
1304
1305 70 block SCSI disk devices (96-111)
1306 0 = /dev/sdcs 97th SCSI disk whole disk
1307 16 = /dev/sdct 98th SCSI disk whole disk
1308 32 = /dev/sdcu 99th SCSI disk whole disk
1309 ...
1310 240 = /dev/sddh 112nd SCSI disk whole disk
1311
1312 Partitions are handled in the same way as for IDE
1313 disks (see major number 3) except that the limit on
1314 partitions is 15.
1315
1316 71 char Computone IntelliPort II serial card
1317 0 = /dev/ttyF0 IntelliPort II board 0, port 0
1318 1 = /dev/ttyF1 IntelliPort II board 0, port 1
1319 ...
1320 63 = /dev/ttyF63 IntelliPort II board 0, port 63
1321 64 = /dev/ttyF64 IntelliPort II board 1, port 0
1322 65 = /dev/ttyF65 IntelliPort II board 1, port 1
1323 ...
1324 127 = /dev/ttyF127 IntelliPort II board 1, port 63
1325 128 = /dev/ttyF128 IntelliPort II board 2, port 0
1326 129 = /dev/ttyF129 IntelliPort II board 2, port 1
1327 ...
1328 191 = /dev/ttyF191 IntelliPort II board 2, port 63
1329 192 = /dev/ttyF192 IntelliPort II board 3, port 0
1330 193 = /dev/ttyF193 IntelliPort II board 3, port 1
1331 ...
1332 255 = /dev/ttyF255 IntelliPort II board 3, port 63
1333
1334 71 block SCSI disk devices (112-127)
1335 0 = /dev/sddi 113th SCSI disk whole disk
1336 16 = /dev/sddj 114th SCSI disk whole disk
1337 32 = /dev/sddk 115th SCSI disk whole disk
1338 ...
1339 240 = /dev/sddx 128th SCSI disk whole disk
1340
1341 Partitions are handled in the same way as for IDE
1342 disks (see major number 3) except that the limit on
1343 partitions is 15.
1344
1345 72 char Computone IntelliPort II serial card - alternate devices
1346 0 = /dev/cuf0 Callout device for ttyF0
1347 1 = /dev/cuf1 Callout device for ttyF1
1348 ...
1349 63 = /dev/cuf63 Callout device for ttyF63
1350 64 = /dev/cuf64 Callout device for ttyF64
1351 65 = /dev/cuf65 Callout device for ttyF65
1352 ...
1353 127 = /dev/cuf127 Callout device for ttyF127
1354 128 = /dev/cuf128 Callout device for ttyF128
1355 129 = /dev/cuf129 Callout device for ttyF129
1356 ...
1357 191 = /dev/cuf191 Callout device for ttyF191
1358 192 = /dev/cuf192 Callout device for ttyF192
1359 193 = /dev/cuf193 Callout device for ttyF193
1360 ...
1361 255 = /dev/cuf255 Callout device for ttyF255
1362
1363 72 block Compaq Intelligent Drive Array, first controller
1364 0 = /dev/ida/c0d0 First logical drive whole disk
1365 16 = /dev/ida/c0d1 Second logical drive whole disk
1366 ...
1367 240 = /dev/ida/c0d15 16th logical drive whole disk
1368
1369 Partitions are handled the same way as for Mylex
1370 DAC960 (see major number 48) except that the limit on
1371 partitions is 15.
1372
1373 73 char Computone IntelliPort II serial card - control devices
1374 0 = /dev/ip2ipl0 Loadware device for board 0
1375 1 = /dev/ip2stat0 Status device for board 0
1376 4 = /dev/ip2ipl1 Loadware device for board 1
1377 5 = /dev/ip2stat1 Status device for board 1
1378 8 = /dev/ip2ipl2 Loadware device for board 2
1379 9 = /dev/ip2stat2 Status device for board 2
1380 12 = /dev/ip2ipl3 Loadware device for board 3
1381 13 = /dev/ip2stat3 Status device for board 3
1382
1383 73 block Compaq Intelligent Drive Array, second controller
1384 0 = /dev/ida/c1d0 First logical drive whole disk
1385 16 = /dev/ida/c1d1 Second logical drive whole disk
1386 ...
1387 240 = /dev/ida/c1d15 16th logical drive whole disk
1388
1389 Partitions are handled the same way as for Mylex
1390 DAC960 (see major number 48) except that the limit on
1391 partitions is 15.
1392
1393 74 char SCI bridge
1394 0 = /dev/SCI/0 SCI device 0
1395 1 = /dev/SCI/1 SCI device 1
1396 ...
1397
1398 Currently for Dolphin Interconnect Solutions' PCI-SCI
1399 bridge.
1400
1401 74 block Compaq Intelligent Drive Array, third controller
1402 0 = /dev/ida/c2d0 First logical drive whole disk
1403 16 = /dev/ida/c2d1 Second logical drive whole disk
1404 ...
1405 240 = /dev/ida/c2d15 16th logical drive whole disk
1406
1407 Partitions are handled the same way as for Mylex
1408 DAC960 (see major number 48) except that the limit on
1409 partitions is 15.
1410
1411 75 char Specialix IO8+ serial card
1412 0 = /dev/ttyW0 First IO8+ port, first card
1413 1 = /dev/ttyW1 Second IO8+ port, first card
1414 ...
1415 8 = /dev/ttyW8 First IO8+ port, second card
1416 ...
1417
1418 75 block Compaq Intelligent Drive Array, fourth controller
1419 0 = /dev/ida/c3d0 First logical drive whole disk
1420 16 = /dev/ida/c3d1 Second logical drive whole disk
1421 ...
1422 240 = /dev/ida/c3d15 16th logical drive whole disk
1423
1424 Partitions are handled the same way as for Mylex
1425 DAC960 (see major number 48) except that the limit on
1426 partitions is 15.
1427
1428 76 char Specialix IO8+ serial card - alternate devices
1429 0 = /dev/cuw0 Callout device for ttyW0
1430 1 = /dev/cuw1 Callout device for ttyW1
1431 ...
1432 8 = /dev/cuw8 Callout device for ttyW8
1433 ...
1434
1435 76 block Compaq Intelligent Drive Array, fifth controller
1436 0 = /dev/ida/c4d0 First logical drive whole disk
1437 16 = /dev/ida/c4d1 Second logical drive whole disk
1438 ...
1439 240 = /dev/ida/c4d15 16th logical drive whole disk
1440
1441 Partitions are handled the same way as for Mylex
1442 DAC960 (see major number 48) except that the limit on
1443 partitions is 15.
1444
1445
1446 77 char ComScire Quantum Noise Generator
1447 0 = /dev/qng ComScire Quantum Noise Generator
1448
1449 77 block Compaq Intelligent Drive Array, sixth controller
1450 0 = /dev/ida/c5d0 First logical drive whole disk
1451 16 = /dev/ida/c5d1 Second logical drive whole disk
1452 ...
1453 240 = /dev/ida/c5d15 16th logical drive whole disk
1454
1455 Partitions are handled the same way as for Mylex
1456 DAC960 (see major number 48) except that the limit on
1457 partitions is 15.
1458
1da177e4
LT
1459 78 char PAM Software's multimodem boards
1460 0 = /dev/ttyM0 First PAM modem
1461 1 = /dev/ttyM1 Second PAM modem
1462 ...
1463
1464 78 block Compaq Intelligent Drive Array, seventh controller
1465 0 = /dev/ida/c6d0 First logical drive whole disk
1466 16 = /dev/ida/c6d1 Second logical drive whole disk
1467 ...
1468 240 = /dev/ida/c6d15 16th logical drive whole disk
1469
1470 Partitions are handled the same way as for Mylex
1471 DAC960 (see major number 48) except that the limit on
1472 partitions is 15.
1473
1da177e4
LT
1474 79 char PAM Software's multimodem boards - alternate devices
1475 0 = /dev/cum0 Callout device for ttyM0
1476 1 = /dev/cum1 Callout device for ttyM1
1477 ...
1478
5d3f083d 1479 79 block Compaq Intelligent Drive Array, eighth controller
1da177e4
LT
1480 0 = /dev/ida/c7d0 First logical drive whole disk
1481 16 = /dev/ida/c7d1 Second logical drive whole disk
1482 ...
1483 240 = /dev/ida/c715 16th logical drive whole disk
1484
1485 Partitions are handled the same way as for Mylex
1486 DAC960 (see major number 48) except that the limit on
1487 partitions is 15.
1488
1da177e4
LT
1489 80 char Photometrics AT200 CCD camera
1490 0 = /dev/at200 Photometrics AT200 CCD camera
1491
1492 80 block I2O hard disk
1493 0 = /dev/i2o/hda First I2O hard disk, whole disk
1494 16 = /dev/i2o/hdb Second I2O hard disk, whole disk
1495 ...
1496 240 = /dev/i2o/hdp 16th I2O hard disk, whole disk
1497
1498 Partitions are handled in the same way as for IDE
1499 disks (see major number 3) except that the limit on
1500 partitions is 15.
1501
1502 81 char video4linux
1503 0 = /dev/video0 Video capture/overlay device
1504 ...
1505 63 = /dev/video63 Video capture/overlay device
1506 64 = /dev/radio0 Radio device
1507 ...
1508 127 = /dev/radio63 Radio device
1509 192 = /dev/vtx0 Teletext device
1510 ...
1511 223 = /dev/vtx31 Teletext device
1512 224 = /dev/vbi0 Vertical blank interrupt
1513 ...
1514 255 = /dev/vbi31 Vertical blank interrupt
1515
1516 81 block I2O hard disk
1517 0 = /dev/i2o/hdq 17th I2O hard disk, whole disk
1518 16 = /dev/i2o/hdr 18th I2O hard disk, whole disk
1519 ...
1520 240 = /dev/i2o/hdaf 32nd I2O hard disk, whole disk
1521
1522 Partitions are handled in the same way as for IDE
1523 disks (see major number 3) except that the limit on
1524 partitions is 15.
1525
1526 82 char WiNRADiO communications receiver card
1527 0 = /dev/winradio0 First WiNRADiO card
1528 1 = /dev/winradio1 Second WiNRADiO card
1529 ...
1530
1531 The driver and documentation may be obtained from
1532 http://www.proximity.com.au/~brian/winradio/
1533
1534 82 block I2O hard disk
1535 0 = /dev/i2o/hdag 33rd I2O hard disk, whole disk
1536 16 = /dev/i2o/hdah 34th I2O hard disk, whole disk
1537 ...
1538 240 = /dev/i2o/hdav 48th I2O hard disk, whole disk
1539
1540 Partitions are handled in the same way as for IDE
1541 disks (see major number 3) except that the limit on
1542 partitions is 15.
1543
1544 83 char Matrox mga_vid video driver
1545 0 = /dev/mga_vid0 1st video card
1546 1 = /dev/mga_vid1 2nd video card
1547 2 = /dev/mga_vid2 3rd video card
1548 ...
1549 15 = /dev/mga_vid15 16th video card
1550
1551 83 block I2O hard disk
1552 0 = /dev/i2o/hdaw 49th I2O hard disk, whole disk
1553 16 = /dev/i2o/hdax 50th I2O hard disk, whole disk
1554 ...
1555 240 = /dev/i2o/hdbl 64th I2O hard disk, whole disk
1556
1557 Partitions are handled in the same way as for IDE
1558 disks (see major number 3) except that the limit on
1559 partitions is 15.
1560
1561 84 char Ikon 1011[57] Versatec Greensheet Interface
1562 0 = /dev/ihcp0 First Greensheet port
1563 1 = /dev/ihcp1 Second Greensheet port
1564
1565 84 block I2O hard disk
1566 0 = /dev/i2o/hdbm 65th I2O hard disk, whole disk
1567 16 = /dev/i2o/hdbn 66th I2O hard disk, whole disk
1568 ...
1569 240 = /dev/i2o/hdcb 80th I2O hard disk, whole disk
1570
1571 Partitions are handled in the same way as for IDE
1572 disks (see major number 3) except that the limit on
1573 partitions is 15.
1574
1575 85 char Linux/SGI shared memory input queue
1576 0 = /dev/shmiq Master shared input queue
1577 1 = /dev/qcntl0 First device pushed
1578 2 = /dev/qcntl1 Second device pushed
1579 ...
1580
1581 85 block I2O hard disk
1582 0 = /dev/i2o/hdcc 81st I2O hard disk, whole disk
1583 16 = /dev/i2o/hdcd 82nd I2O hard disk, whole disk
1584 ...
1585 240 = /dev/i2o/hdcr 96th I2O hard disk, whole disk
1586
1587 Partitions are handled in the same way as for IDE
1588 disks (see major number 3) except that the limit on
1589 partitions is 15.
1590
1591 86 char SCSI media changer
1592 0 = /dev/sch0 First SCSI media changer
1593 1 = /dev/sch1 Second SCSI media changer
1594 ...
1595
1596 86 block I2O hard disk
1597 0 = /dev/i2o/hdcs 97th I2O hard disk, whole disk
1598 16 = /dev/i2o/hdct 98th I2O hard disk, whole disk
1599 ...
1600 240 = /dev/i2o/hddh 112th I2O hard disk, whole disk
1601
1602 Partitions are handled in the same way as for IDE
1603 disks (see major number 3) except that the limit on
1604 partitions is 15.
1605
1606 87 char Sony Control-A1 stereo control bus
1607 0 = /dev/controla0 First device on chain
1608 1 = /dev/controla1 Second device on chain
1609 ...
1610
1611 87 block I2O hard disk
1612 0 = /dev/i2o/hddi 113rd I2O hard disk, whole disk
1613 16 = /dev/i2o/hddj 114th I2O hard disk, whole disk
1614 ...
1615 240 = /dev/i2o/hddx 128th I2O hard disk, whole disk
1616
1617 Partitions are handled in the same way as for IDE
1618 disks (see major number 3) except that the limit on
1619 partitions is 15.
1620
1621 88 char COMX synchronous serial card
1622 0 = /dev/comx0 COMX channel 0
1623 1 = /dev/comx1 COMX channel 1
1624 ...
1625
1626 88 block Seventh IDE hard disk/CD-ROM interface
1627 0 = /dev/hdm Master: whole disk (or CD-ROM)
1628 64 = /dev/hdn Slave: whole disk (or CD-ROM)
1629
1630 Partitions are handled the same way as for the first
1631 interface (see major number 3).
1632
1633 89 char I2C bus interface
1634 0 = /dev/i2c-0 First I2C adapter
1635 1 = /dev/i2c-1 Second I2C adapter
1636 ...
1637
1638 89 block Eighth IDE hard disk/CD-ROM interface
1639 0 = /dev/hdo Master: whole disk (or CD-ROM)
1640 64 = /dev/hdp Slave: whole disk (or CD-ROM)
1641
1642 Partitions are handled the same way as for the first
1643 interface (see major number 3).
1644
1645 90 char Memory Technology Device (RAM, ROM, Flash)
1646 0 = /dev/mtd0 First MTD (rw)
1647 1 = /dev/mtdr0 First MTD (ro)
1648 ...
1649 30 = /dev/mtd15 16th MTD (rw)
1650 31 = /dev/mtdr15 16th MTD (ro)
1651
1652 90 block Ninth IDE hard disk/CD-ROM interface
1653 0 = /dev/hdq Master: whole disk (or CD-ROM)
1654 64 = /dev/hdr Slave: whole disk (or CD-ROM)
1655
1656 Partitions are handled the same way as for the first
1657 interface (see major number 3).
1658
1659 91 char CAN-Bus devices
1660 0 = /dev/can0 First CAN-Bus controller
1661 1 = /dev/can1 Second CAN-Bus controller
1662 ...
1663
1664 91 block Tenth IDE hard disk/CD-ROM interface
1665 0 = /dev/hds Master: whole disk (or CD-ROM)
1666 64 = /dev/hdt Slave: whole disk (or CD-ROM)
1667
1668 Partitions are handled the same way as for the first
1669 interface (see major number 3).
1670
1671 92 char Reserved for ith Kommunikationstechnik MIC ISDN card
1672
1673 92 block PPDD encrypted disk driver
1674 0 = /dev/ppdd0 First encrypted disk
1675 1 = /dev/ppdd1 Second encrypted disk
1676 ...
1677
1678 Partitions are handled in the same way as for IDE
1679 disks (see major number 3) except that the limit on
1680 partitions is 15.
1681
1682 93 char IBM Smart Capture Card frame grabber {2.6}
1683 0 = /dev/iscc0 First Smart Capture Card
1684 1 = /dev/iscc1 Second Smart Capture Card
1685 ...
1686 128 = /dev/isccctl0 First Smart Capture Card control
1687 129 = /dev/isccctl1 Second Smart Capture Card control
1688 ...
1689
1690 93 block NAND Flash Translation Layer filesystem
1691 0 = /dev/nftla First NFTL layer
1692 16 = /dev/nftlb Second NFTL layer
1693 ...
1694 240 = /dev/nftlp 16th NTFL layer
1695
1696 94 char miroVIDEO DC10/30 capture/playback device {2.6}
1697 0 = /dev/dcxx0 First capture card
1698 1 = /dev/dcxx1 Second capture card
1699 ...
1700
30aaa5c6 1701 94 block IBM S/390 DASD block storage
1da177e4
LT
1702 0 = /dev/dasda First DASD device, major
1703 1 = /dev/dasda1 First DASD device, block 1
1704 2 = /dev/dasda2 First DASD device, block 2
1705 3 = /dev/dasda3 First DASD device, block 3
1706 4 = /dev/dasdb Second DASD device, major
1707 5 = /dev/dasdb1 Second DASD device, block 1
1708 6 = /dev/dasdb2 Second DASD device, block 2
1709 7 = /dev/dasdb3 Second DASD device, block 3
1710 ...
1711
1712 95 char IP filter
1713 0 = /dev/ipl Filter control device/log file
1714 1 = /dev/ipnat NAT control device/log file
1715 2 = /dev/ipstate State information log file
1716 3 = /dev/ipauth Authentication control device/log file
30aaa5c6 1717 ...
1da177e4
LT
1718
1719 96 char Parallel port ATAPI tape devices
1720 0 = /dev/pt0 First parallel port ATAPI tape
1721 1 = /dev/pt1 Second parallel port ATAPI tape
1722 ...
1723 128 = /dev/npt0 First p.p. ATAPI tape, no rewind
1724 129 = /dev/npt1 Second p.p. ATAPI tape, no rewind
1725 ...
1726
30aaa5c6 1727 96 block Inverse NAND Flash Translation Layer
1da177e4
LT
1728 0 = /dev/inftla First INFTL layer
1729 16 = /dev/inftlb Second INFTL layer
1730 ...
1731 240 = /dev/inftlp 16th INTFL layer
1732
1733 97 char Parallel port generic ATAPI interface
1734 0 = /dev/pg0 First parallel port ATAPI device
1735 1 = /dev/pg1 Second parallel port ATAPI device
1736 2 = /dev/pg2 Third parallel port ATAPI device
1737 3 = /dev/pg3 Fourth parallel port ATAPI device
1738
1739 These devices support the same API as the generic SCSI
1740 devices.
1741
1da177e4
LT
1742 98 char Control and Measurement Device (comedi)
1743 0 = /dev/comedi0 First comedi device
1744 1 = /dev/comedi1 Second comedi device
1745 ...
1746
1747 See http://stm.lbl.gov/comedi or http://www.llp.fu-berlin.de/.
1748
1749 98 block User-mode virtual block device
1750 0 = /dev/ubda First user-mode block device
1751 16 = /dev/udbb Second user-mode block device
1752 ...
1753
1754 Partitions are handled in the same way as for IDE
1755 disks (see major number 3) except that the limit on
1756 partitions is 15.
1757
1758 This device is used by the user-mode virtual kernel port.
1759
1760 99 char Raw parallel ports
1761 0 = /dev/parport0 First parallel port
1762 1 = /dev/parport1 Second parallel port
1763 ...
1764
1765 99 block JavaStation flash disk
1766 0 = /dev/jsfd JavaStation flash disk
1767
1768100 char Telephony for Linux
1769 0 = /dev/phone0 First telephony device
1770 1 = /dev/phone1 Second telephony device
1771 ...
1772
1773101 char Motorola DSP 56xxx board
1774 0 = /dev/mdspstat Status information
1775 1 = /dev/mdsp1 First DSP board I/O controls
1776 ...
1777 16 = /dev/mdsp16 16th DSP board I/O controls
1778
1779101 block AMI HyperDisk RAID controller
1780 0 = /dev/amiraid/ar0 First array whole disk
1781 16 = /dev/amiraid/ar1 Second array whole disk
1782 ...
1783 240 = /dev/amiraid/ar15 16th array whole disk
1784
1785 For each device, partitions are added as:
1786 0 = /dev/amiraid/ar? Whole disk
1787 1 = /dev/amiraid/ar?p1 First partition
1788 2 = /dev/amiraid/ar?p2 Second partition
1789 ...
1790 15 = /dev/amiraid/ar?p15 15th partition
1791
1792102 char Philips SAA5249 Teletext signal decoder {2.6}
1793 0 = /dev/tlk0 First Teletext decoder
1794 1 = /dev/tlk1 Second Teletext decoder
1795 2 = /dev/tlk2 Third Teletext decoder
1796 3 = /dev/tlk3 Fourth Teletext decoder
1797
1798102 block Compressed block device
1799 0 = /dev/cbd/a First compressed block device, whole device
1800 16 = /dev/cbd/b Second compressed block device, whole device
1801 ...
1802 240 = /dev/cbd/p 16th compressed block device, whole device
1803
1804 Partitions are handled in the same way as for IDE
1805 disks (see major number 3) except that the limit on
1806 partitions is 15.
1807
1808103 char Arla network file system
1809 0 = /dev/nnpfs0 First NNPFS device
1810 1 = /dev/nnpfs1 Second NNPFS device
1811
1812 Arla is a free clone of the Andrew File System, AFS.
1813 The NNPFS device gives user mode filesystem
1814 implementations a kernel presence for caching and easy
1815 mounting. For more information about the project,
1816 write to <arla-drinkers@stacken.kth.se> or see
1817 http://www.stacken.kth.se/project/arla/
1818
1819103 block Audit device
1820 0 = /dev/audit Audit device
1821
1822104 char Flash BIOS support
1823
1824104 block Compaq Next Generation Drive Array, first controller
1825 0 = /dev/cciss/c0d0 First logical drive, whole disk
1826 16 = /dev/cciss/c0d1 Second logical drive, whole disk
1827 ...
1828 240 = /dev/cciss/c0d15 16th logical drive, whole disk
1829
1830 Partitions are handled the same way as for Mylex
1831 DAC960 (see major number 48) except that the limit on
1832 partitions is 15.
1833
1834105 char Comtrol VS-1000 serial controller
1835 0 = /dev/ttyV0 First VS-1000 port
1836 1 = /dev/ttyV1 Second VS-1000 port
1837 ...
1838
1839105 block Compaq Next Generation Drive Array, second controller
1840 0 = /dev/cciss/c1d0 First logical drive, whole disk
1841 16 = /dev/cciss/c1d1 Second logical drive, whole disk
1842 ...
1843 240 = /dev/cciss/c1d15 16th logical drive, whole disk
1844
1845 Partitions are handled the same way as for Mylex
1846 DAC960 (see major number 48) except that the limit on
1847 partitions is 15.
1848
1849106 char Comtrol VS-1000 serial controller - alternate devices
1850 0 = /dev/cuv0 First VS-1000 port
1851 1 = /dev/cuv1 Second VS-1000 port
1852 ...
1853
1854106 block Compaq Next Generation Drive Array, third controller
1855 0 = /dev/cciss/c2d0 First logical drive, whole disk
1856 16 = /dev/cciss/c2d1 Second logical drive, whole disk
1857 ...
1858 240 = /dev/cciss/c2d15 16th logical drive, whole disk
1859
1860 Partitions are handled the same way as for Mylex
1861 DAC960 (see major number 48) except that the limit on
1862 partitions is 15.
1863
1864107 char 3Dfx Voodoo Graphics device
1865 0 = /dev/3dfx Primary 3Dfx graphics device
1866
1867107 block Compaq Next Generation Drive Array, fourth controller
1868 0 = /dev/cciss/c3d0 First logical drive, whole disk
1869 16 = /dev/cciss/c3d1 Second logical drive, whole disk
1870 ...
1871 240 = /dev/cciss/c3d15 16th logical drive, whole disk
1872
1873 Partitions are handled the same way as for Mylex
1874 DAC960 (see major number 48) except that the limit on
1875 partitions is 15.
1876
1877108 char Device independent PPP interface
1878 0 = /dev/ppp Device independent PPP interface
1879
1880108 block Compaq Next Generation Drive Array, fifth controller
1881 0 = /dev/cciss/c4d0 First logical drive, whole disk
1882 16 = /dev/cciss/c4d1 Second logical drive, whole disk
1883 ...
1884 240 = /dev/cciss/c4d15 16th logical drive, whole disk
1885
1886 Partitions are handled the same way as for Mylex
1887 DAC960 (see major number 48) except that the limit on
1888 partitions is 15.
1889
1890109 char Reserved for logical volume manager
1891
1892109 block Compaq Next Generation Drive Array, sixth controller
1893 0 = /dev/cciss/c5d0 First logical drive, whole disk
1894 16 = /dev/cciss/c5d1 Second logical drive, whole disk
1895 ...
1896 240 = /dev/cciss/c5d15 16th logical drive, whole disk
1897
1898 Partitions are handled the same way as for Mylex
1899 DAC960 (see major number 48) except that the limit on
1900 partitions is 15.
1901
1902110 char miroMEDIA Surround board
1903 0 = /dev/srnd0 First miroMEDIA Surround board
1904 1 = /dev/srnd1 Second miroMEDIA Surround board
1905 ...
1906
1907110 block Compaq Next Generation Drive Array, seventh controller
1908 0 = /dev/cciss/c6d0 First logical drive, whole disk
1909 16 = /dev/cciss/c6d1 Second logical drive, whole disk
1910 ...
1911 240 = /dev/cciss/c6d15 16th logical drive, whole disk
1912
1913 Partitions are handled the same way as for Mylex
1914 DAC960 (see major number 48) except that the limit on
1915 partitions is 15.
1916
1917111 char Philips SAA7146-based audio/video card {2.6}
1918 0 = /dev/av0 First A/V card
1919 1 = /dev/av1 Second A/V card
1920 ...
1921
5d3f083d 1922111 block Compaq Next Generation Drive Array, eighth controller
1da177e4
LT
1923 0 = /dev/cciss/c7d0 First logical drive, whole disk
1924 16 = /dev/cciss/c7d1 Second logical drive, whole disk
1925 ...
1926 240 = /dev/cciss/c7d15 16th logical drive, whole disk
1927
1928 Partitions are handled the same way as for Mylex
1929 DAC960 (see major number 48) except that the limit on
1930 partitions is 15.
1931
1932112 char ISI serial card
1933 0 = /dev/ttyM0 First ISI port
1934 1 = /dev/ttyM1 Second ISI port
1935 ...
1936
1937 There is currently a device-naming conflict between
1938 these and PAM multimodems (major 78).
1939
1940112 block IBM iSeries virtual disk
1941 0 = /dev/iseries/vda First virtual disk, whole disk
1942 8 = /dev/iseries/vdb Second virtual disk, whole disk
1943 ...
1944 200 = /dev/iseries/vdz 26th virtual disk, whole disk
1945 208 = /dev/iseries/vdaa 27th virtual disk, whole disk
1946 ...
1947 248 = /dev/iseries/vdaf 32nd virtual disk, whole disk
1948
1949 Partitions are handled in the same way as for IDE
1950 disks (see major number 3) except that the limit on
1951 partitions is 7.
1952
1953113 char ISI serial card - alternate devices
1954 0 = /dev/cum0 Callout device for ttyM0
1955 1 = /dev/cum1 Callout device for ttyM1
1956 ...
1957
1958113 block IBM iSeries virtual CD-ROM
1da177e4
LT
1959 0 = /dev/iseries/vcda First virtual CD-ROM
1960 1 = /dev/iseries/vcdb Second virtual CD-ROM
1961 ...
1962
1963114 char Picture Elements ISE board
1964 0 = /dev/ise0 First ISE board
1965 1 = /dev/ise1 Second ISE board
1966 ...
1967 128 = /dev/isex0 Control node for first ISE board
1968 129 = /dev/isex1 Control node for second ISE board
1969 ...
1970
1971 The ISE board is an embedded computer, optimized for
1972 image processing. The /dev/iseN nodes are the general
1973 I/O access to the board, the /dev/isex0 nodes command
1974 nodes used to control the board.
1975
1976114 block IDE BIOS powered software RAID interfaces such as the
1977 Promise Fastrak
1978
1979 0 = /dev/ataraid/d0
1980 1 = /dev/ataraid/d0p1
1981 2 = /dev/ataraid/d0p2
1982 ...
1983 16 = /dev/ataraid/d1
1984 17 = /dev/ataraid/d1p1
1985 18 = /dev/ataraid/d1p2
1986 ...
1987 255 = /dev/ataraid/d15p15
1988
1989 Partitions are handled in the same way as for IDE
1990 disks (see major number 3) except that the limit on
1991 partitions is 15.
1992
1993115 char TI link cable devices (115 was formerly the console driver speaker)
1994 0 = /dev/tipar0 Parallel cable on first parallel port
1995 ...
1996 7 = /dev/tipar7 Parallel cable on seventh parallel port
1997
1998 8 = /dev/tiser0 Serial cable on first serial port
1999 ...
2000 15 = /dev/tiser7 Serial cable on seventh serial port
2001
2002 16 = /dev/tiusb0 First USB cable
2003 ...
2004 47 = /dev/tiusb31 32nd USB cable
2005
2006115 block NetWare (NWFS) Devices (0-255)
2007
2008 The NWFS (NetWare) devices are used to present a
2009 collection of NetWare Mirror Groups or NetWare
2010 Partitions as a logical storage segment for
2011 use in mounting NetWare volumes. A maximum of
2012 256 NetWare volumes can be supported in a single
2013 machine.
2014
2015 http://www.kernel.org/pub/linux/kernel/people/jmerkey/nwfs
2016
2017 0 = /dev/nwfs/v0 First NetWare (NWFS) Logical Volume
2018 1 = /dev/nwfs/v1 Second NetWare (NWFS) Logical Volume
2019 2 = /dev/nwfs/v2 Third NetWare (NWFS) Logical Volume
2020 ...
2021 255 = /dev/nwfs/v255 Last NetWare (NWFS) Logical Volume
2022
2023116 char Advanced Linux Sound Driver (ALSA)
2024
2025116 block MicroMemory battery backed RAM adapter (NVRAM)
992caacf 2026 Supports 16 boards, 15 partitions each.
1da177e4
LT
2027 Requested by neilb at cse.unsw.edu.au.
2028
2029 0 = /dev/umem/d0 Whole of first board
2030 1 = /dev/umem/d0p1 First partition of first board
2031 2 = /dev/umem/d0p2 Second partition of first board
2032 15 = /dev/umem/d0p15 15th partition of first board
2033
2034 16 = /dev/umem/d1 Whole of second board
2035 17 = /dev/umem/d1p1 First partition of second board
2036 ...
2037 255= /dev/umem/d15p15 15th partition of 16th board.
2038
2039117 char COSA/SRP synchronous serial card
2040 0 = /dev/cosa0c0 1st board, 1st channel
2041 1 = /dev/cosa0c1 1st board, 2nd channel
2042 ...
2043 16 = /dev/cosa1c0 2nd board, 1st channel
2044 17 = /dev/cosa1c1 2nd board, 2nd channel
2045 ...
2046
2047117 block Enterprise Volume Management System (EVMS)
2048
2049 The EVMS driver uses a layered, plug-in model to provide
2050 unparalleled flexibility and extensibility in managing
2051 storage. This allows for easy expansion or customization
2052 of various levels of volume management. Requested by
2053 Mark Peloquin (peloquin at us.ibm.com).
2054
2055 Note: EVMS populates and manages all the devnodes in
2056 /dev/evms.
2057
2058 http://sf.net/projects/evms
2059
2060 0 = /dev/evms/block_device EVMS block device
2061 1 = /dev/evms/legacyname1 First EVMS legacy device
2062 2 = /dev/evms/legacyname2 Second EVMS legacy device
2063 ...
2064 Both ranges can grow (down or up) until they meet.
2065 ...
2066 254 = /dev/evms/EVMSname2 Second EVMS native device
2067 255 = /dev/evms/EVMSname1 First EVMS native device
2068
2069 Note: legacyname(s) are derived from the normal legacy
2070 device names. For example, /dev/hda5 would become
2071 /dev/evms/hda5.
2072
2073118 char IBM Cryptographic Accelerator
2074 0 = /dev/ica Virtual interface to all IBM Crypto Accelerators
2075 1 = /dev/ica0 IBMCA Device 0
2076 2 = /dev/ica1 IBMCA Device 1
2077 ...
2078
2079119 char VMware virtual network control
30aaa5c6
TM
2080 0 = /dev/vmnet0 1st virtual network
2081 1 = /dev/vmnet1 2nd virtual network
1da177e4
LT
2082 ...
2083
2084120-127 char LOCAL/EXPERIMENTAL USE
30aaa5c6 2085
1da177e4
LT
2086120-127 block LOCAL/EXPERIMENTAL USE
2087 Allocated for local/experimental use. For devices not
2088 assigned official numbers, these ranges should be
2089 used in order to avoid conflicting with future assignments.
2090
2091128-135 char Unix98 PTY masters
2092
2093 These devices should not have corresponding device
2094 nodes; instead they should be accessed through the
2095 /dev/ptmx cloning interface.
2096
1da177e4
LT
2097128 block SCSI disk devices (128-143)
2098 0 = /dev/sddy 129th SCSI disk whole disk
2099 16 = /dev/sddz 130th SCSI disk whole disk
2100 32 = /dev/sdea 131th SCSI disk whole disk
2101 ...
2102 240 = /dev/sden 144th SCSI disk whole disk
2103
2104 Partitions are handled in the same way as for IDE
2105 disks (see major number 3) except that the limit on
2106 partitions is 15.
2107
1da177e4
LT
2108129 block SCSI disk devices (144-159)
2109 0 = /dev/sdeo 145th SCSI disk whole disk
2110 16 = /dev/sdep 146th SCSI disk whole disk
2111 32 = /dev/sdeq 147th SCSI disk whole disk
2112 ...
2113 240 = /dev/sdfd 160th SCSI disk whole disk
2114
2115 Partitions are handled in the same way as for IDE
2116 disks (see major number 3) except that the limit on
2117 partitions is 15.
2118
2119130 char (Misc devices)
2120
2121130 block SCSI disk devices (160-175)
2122 0 = /dev/sdfe 161st SCSI disk whole disk
2123 16 = /dev/sdff 162nd SCSI disk whole disk
2124 32 = /dev/sdfg 163rd SCSI disk whole disk
2125 ...
2126 240 = /dev/sdft 176th SCSI disk whole disk
2127
2128 Partitions are handled in the same way as for IDE
2129 disks (see major number 3) except that the limit on
2130 partitions is 15.
2131
2132131 block SCSI disk devices (176-191)
2133 0 = /dev/sdfu 177th SCSI disk whole disk
2134 16 = /dev/sdfv 178th SCSI disk whole disk
2135 32 = /dev/sdfw 179th SCSI disk whole disk
2136 ...
2137 240 = /dev/sdgj 192nd SCSI disk whole disk
2138
2139 Partitions are handled in the same way as for IDE
2140 disks (see major number 3) except that the limit on
2141 partitions is 15.
2142
1da177e4
LT
2143132 block SCSI disk devices (192-207)
2144 0 = /dev/sdgk 193rd SCSI disk whole disk
2145 16 = /dev/sdgl 194th SCSI disk whole disk
2146 32 = /dev/sdgm 195th SCSI disk whole disk
2147 ...
2148 240 = /dev/sdgz 208th SCSI disk whole disk
2149
2150 Partitions are handled in the same way as for IDE
2151 disks (see major number 3) except that the limit on
2152 partitions is 15.
2153
1da177e4
LT
2154133 block SCSI disk devices (208-223)
2155 0 = /dev/sdha 209th SCSI disk whole disk
2156 16 = /dev/sdhb 210th SCSI disk whole disk
2157 32 = /dev/sdhc 211th SCSI disk whole disk
2158 ...
2159 240 = /dev/sdhp 224th SCSI disk whole disk
2160
2161 Partitions are handled in the same way as for IDE
2162 disks (see major number 3) except that the limit on
2163 partitions is 15.
2164
1da177e4
LT
2165134 block SCSI disk devices (224-239)
2166 0 = /dev/sdhq 225th SCSI disk whole disk
2167 16 = /dev/sdhr 226th SCSI disk whole disk
2168 32 = /dev/sdhs 227th SCSI disk whole disk
2169 ...
2170 240 = /dev/sdif 240th SCSI disk whole disk
2171
2172 Partitions are handled in the same way as for IDE
2173 disks (see major number 3) except that the limit on
2174 partitions is 15.
2175
1da177e4
LT
2176135 block SCSI disk devices (240-255)
2177 0 = /dev/sdig 241st SCSI disk whole disk
2178 16 = /dev/sdih 242nd SCSI disk whole disk
2179 32 = /dev/sdih 243rd SCSI disk whole disk
2180 ...
2181 240 = /dev/sdiv 256th SCSI disk whole disk
2182
2183 Partitions are handled in the same way as for IDE
2184 disks (see major number 3) except that the limit on
2185 partitions is 15.
2186
1da177e4
LT
2187136-143 char Unix98 PTY slaves
2188 0 = /dev/pts/0 First Unix98 pseudo-TTY
2189 1 = /dev/pts/1 Second Unix98 pesudo-TTY
2190 ...
2191
2192 These device nodes are automatically generated with
2193 the proper permissions and modes by mounting the
2194 devpts filesystem onto /dev/pts with the appropriate
2195 mount options (distribution dependent, however, on
2196 *most* distributions the appropriate options are
2197 "mode=0620,gid=<gid of the "tty" group>".)
2198
2199136 block Mylex DAC960 PCI RAID controller; ninth controller
2200 0 = /dev/rd/c8d0 First disk, whole disk
2201 8 = /dev/rd/c8d1 Second disk, whole disk
2202 ...
2203 248 = /dev/rd/c8d31 32nd disk, whole disk
2204
2205 Partitions are handled as for major 48.
2206
2207137 block Mylex DAC960 PCI RAID controller; tenth controller
2208 0 = /dev/rd/c9d0 First disk, whole disk
2209 8 = /dev/rd/c9d1 Second disk, whole disk
2210 ...
2211 248 = /dev/rd/c9d31 32nd disk, whole disk
2212
2213 Partitions are handled as for major 48.
2214
2215138 block Mylex DAC960 PCI RAID controller; eleventh controller
2216 0 = /dev/rd/c10d0 First disk, whole disk
2217 8 = /dev/rd/c10d1 Second disk, whole disk
2218 ...
2219 248 = /dev/rd/c10d31 32nd disk, whole disk
2220
2221 Partitions are handled as for major 48.
2222
2223139 block Mylex DAC960 PCI RAID controller; twelfth controller
2224 0 = /dev/rd/c11d0 First disk, whole disk
2225 8 = /dev/rd/c11d1 Second disk, whole disk
2226 ...
2227 248 = /dev/rd/c11d31 32nd disk, whole disk
2228
2229 Partitions are handled as for major 48.
2230
2231140 block Mylex DAC960 PCI RAID controller; thirteenth controller
2232 0 = /dev/rd/c12d0 First disk, whole disk
2233 8 = /dev/rd/c12d1 Second disk, whole disk
2234 ...
2235 248 = /dev/rd/c12d31 32nd disk, whole disk
2236
2237 Partitions are handled as for major 48.
2238
2239141 block Mylex DAC960 PCI RAID controller; fourteenth controller
2240 0 = /dev/rd/c13d0 First disk, whole disk
2241 8 = /dev/rd/c13d1 Second disk, whole disk
2242 ...
2243 248 = /dev/rd/c13d31 32nd disk, whole disk
2244
2245 Partitions are handled as for major 48.
2246
2247142 block Mylex DAC960 PCI RAID controller; fifteenth controller
2248 0 = /dev/rd/c14d0 First disk, whole disk
2249 8 = /dev/rd/c14d1 Second disk, whole disk
2250 ...
2251 248 = /dev/rd/c14d31 32nd disk, whole disk
2252
2253 Partitions are handled as for major 48.
2254
2255143 block Mylex DAC960 PCI RAID controller; sixteenth controller
2256 0 = /dev/rd/c15d0 First disk, whole disk
2257 8 = /dev/rd/c15d1 Second disk, whole disk
2258 ...
2259 248 = /dev/rd/c15d31 32nd disk, whole disk
2260
2261 Partitions are handled as for major 48.
2262
2263144 char Encapsulated PPP
2264 0 = /dev/pppox0 First PPP over Ethernet
2265 ...
2266 63 = /dev/pppox63 64th PPP over Ethernet
2267
2268 This is primarily used for ADSL.
2269
2270 The SST 5136-DN DeviceNet interface driver has been
2271 relocated to major 183 due to an unfortunate conflict.
2272
2273144 block Expansion Area #1 for more non-device (e.g. NFS) mounts
2274 0 = mounted device 256
2275 255 = mounted device 511
2276
2277145 char SAM9407-based soundcard
2278 0 = /dev/sam0_mixer
2279 1 = /dev/sam0_sequencer
2280 2 = /dev/sam0_midi00
2281 3 = /dev/sam0_dsp
2282 4 = /dev/sam0_audio
2283 6 = /dev/sam0_sndstat
2284 18 = /dev/sam0_midi01
2285 34 = /dev/sam0_midi02
2286 50 = /dev/sam0_midi03
2287 64 = /dev/sam1_mixer
2288 ...
2289 128 = /dev/sam2_mixer
2290 ...
2291 192 = /dev/sam3_mixer
2292 ...
2293
2294 Device functions match OSS, but offer a number of
2295 addons, which are sam9407 specific. OSS can be
2296 operated simultaneously, taking care of the codec.
2297
2298145 block Expansion Area #2 for more non-device (e.g. NFS) mounts
2299 0 = mounted device 512
2300 255 = mounted device 767
2301
2302146 char SYSTRAM SCRAMNet mirrored-memory network
2303 0 = /dev/scramnet0 First SCRAMNet device
2304 1 = /dev/scramnet1 Second SCRAMNet device
2305 ...
2306
2307146 block Expansion Area #3 for more non-device (e.g. NFS) mounts
2308 0 = mounted device 768
2309 255 = mounted device 1023
2310
2311147 char Aureal Semiconductor Vortex Audio device
2312 0 = /dev/aureal0 First Aureal Vortex
2313 1 = /dev/aureal1 Second Aureal Vortex
2314 ...
2315
2316147 block Distributed Replicated Block Device (DRBD)
2317 0 = /dev/drbd0 First DRBD device
2318 1 = /dev/drbd1 Second DRBD device
2319 ...
2320
2321148 char Technology Concepts serial card
2322 0 = /dev/ttyT0 First TCL port
2323 1 = /dev/ttyT1 Second TCL port
2324 ...
2325
2326149 char Technology Concepts serial card - alternate devices
2327 0 = /dev/cut0 Callout device for ttyT0
2328 1 = /dev/cut0 Callout device for ttyT1
2329 ...
2330
2331150 char Real-Time Linux FIFOs
2332 0 = /dev/rtf0 First RTLinux FIFO
2333 1 = /dev/rtf1 Second RTLinux FIFO
2334 ...
2335
2336151 char DPT I2O SmartRaid V controller
2337 0 = /dev/dpti0 First DPT I2O adapter
2338 1 = /dev/dpti1 Second DPT I2O adapter
2339 ...
2340
2341152 char EtherDrive Control Device
2342 0 = /dev/etherd/ctl Connect/Disconnect an EtherDrive
2343 1 = /dev/etherd/err Monitor errors
2344 2 = /dev/etherd/raw Raw AoE packet monitor
2345
2346152 block EtherDrive Block Devices
2347 0 = /dev/etherd/0 EtherDrive 0
2348 ...
2349 255 = /dev/etherd/255 EtherDrive 255
2350
2351153 char SPI Bus Interface (sometimes referred to as MicroWire)
2352 0 = /dev/spi0 First SPI device on the bus
2353 1 = /dev/spi1 Second SPI device on the bus
2354 ...
2355 15 = /dev/spi15 Sixteenth SPI device on the bus
2356
2357153 block Enhanced Metadisk RAID (EMD) storage units
2358 0 = /dev/emd/0 First unit
2359 1 = /dev/emd/0p1 Partition 1 on First unit
2360 2 = /dev/emd/0p2 Partition 2 on First unit
2361 ...
2362 15 = /dev/emd/0p15 Partition 15 on First unit
2363
2364 16 = /dev/emd/1 Second unit
2365 32 = /dev/emd/2 Third unit
2366 ...
2367 240 = /dev/emd/15 Sixteenth unit
2368
2369 Partitions are handled in the same way as for IDE
2370 disks (see major number 3) except that the limit on
2371 partitions is 15.
2372
2373154 char Specialix RIO serial card
2374 0 = /dev/ttySR0 First RIO port
2375 ...
2376 255 = /dev/ttySR255 256th RIO port
2377
2378155 char Specialix RIO serial card - alternate devices
2379 0 = /dev/cusr0 Callout device for ttySR0
2380 ...
2381 255 = /dev/cusr255 Callout device for ttySR255
2382
2383156 char Specialix RIO serial card
2384 0 = /dev/ttySR256 257th RIO port
2385 ...
2386 255 = /dev/ttySR511 512th RIO port
2387
2388157 char Specialix RIO serial card - alternate devices
2389 0 = /dev/cusr256 Callout device for ttySR256
2390 ...
2391 255 = /dev/cusr511 Callout device for ttySR511
2392
2393158 char Dialogic GammaLink fax driver
2394 0 = /dev/gfax0 GammaLink channel 0
2395 1 = /dev/gfax1 GammaLink channel 1
2396 ...
2397
2398159 char RESERVED
30aaa5c6 2399
1da177e4
LT
2400159 block RESERVED
2401
2402160 char General Purpose Instrument Bus (GPIB)
2403 0 = /dev/gpib0 First GPIB bus
2404 1 = /dev/gpib1 Second GPIB bus
2405 ...
2406
2407160 block Carmel 8-port SATA Disks on First Controller
2408 0 = /dev/carmel/0 SATA disk 0 whole disk
2409 1 = /dev/carmel/0p1 SATA disk 0 partition 1
2410 ...
2411 31 = /dev/carmel/0p31 SATA disk 0 partition 31
2412
2413 32 = /dev/carmel/1 SATA disk 1 whole disk
2414 64 = /dev/carmel/2 SATA disk 2 whole disk
2415 ...
2416 224 = /dev/carmel/7 SATA disk 7 whole disk
2417
2418 Partitions are handled in the same way as for IDE
2419 disks (see major number 3) except that the limit on
2420 partitions is 31.
2421
2422161 char IrCOMM devices (IrDA serial/parallel emulation)
2423 0 = /dev/ircomm0 First IrCOMM device
2424 1 = /dev/ircomm1 Second IrCOMM device
2425 ...
2426 16 = /dev/irlpt0 First IrLPT device
2427 17 = /dev/irlpt1 Second IrLPT device
2428 ...
2429
2430161 block Carmel 8-port SATA Disks on Second Controller
2431 0 = /dev/carmel/8 SATA disk 8 whole disk
2432 1 = /dev/carmel/8p1 SATA disk 8 partition 1
2433 ...
2434 31 = /dev/carmel/8p31 SATA disk 8 partition 31
2435
2436 32 = /dev/carmel/9 SATA disk 9 whole disk
2437 64 = /dev/carmel/10 SATA disk 10 whole disk
2438 ...
2439 224 = /dev/carmel/15 SATA disk 15 whole disk
2440
2441 Partitions are handled in the same way as for IDE
2442 disks (see major number 3) except that the limit on
30aaa5c6 2443 partitions is 31.
1da177e4
LT
2444
2445162 char Raw block device interface
2446 0 = /dev/rawctl Raw I/O control device
2447 1 = /dev/raw/raw1 First raw I/O device
2448 2 = /dev/raw/raw2 Second raw I/O device
2449 ...
2450
2451163 char UNASSIGNED (was Radio Tech BIM-XXX-RS232 radio modem - see 51)
2452
2453164 char Chase Research AT/PCI-Fast serial card
2454 0 = /dev/ttyCH0 AT/PCI-Fast board 0, port 0
2455 ...
2456 15 = /dev/ttyCH15 AT/PCI-Fast board 0, port 15
2457 16 = /dev/ttyCH16 AT/PCI-Fast board 1, port 0
2458 ...
2459 31 = /dev/ttyCH31 AT/PCI-Fast board 1, port 15
2460 32 = /dev/ttyCH32 AT/PCI-Fast board 2, port 0
2461 ...
2462 47 = /dev/ttyCH47 AT/PCI-Fast board 2, port 15
2463 48 = /dev/ttyCH48 AT/PCI-Fast board 3, port 0
2464 ...
2465 63 = /dev/ttyCH63 AT/PCI-Fast board 3, port 15
2466
2467165 char Chase Research AT/PCI-Fast serial card - alternate devices
2468 0 = /dev/cuch0 Callout device for ttyCH0
2469 ...
2470 63 = /dev/cuch63 Callout device for ttyCH63
2471
2472166 char ACM USB modems
2473 0 = /dev/ttyACM0 First ACM modem
2474 1 = /dev/ttyACM1 Second ACM modem
2475 ...
2476
2477167 char ACM USB modems - alternate devices
2478 0 = /dev/cuacm0 Callout device for ttyACM0
2479 1 = /dev/cuacm1 Callout device for ttyACM1
2480 ...
2481
2482168 char Eracom CSA7000 PCI encryption adaptor
2483 0 = /dev/ecsa0 First CSA7000
2484 1 = /dev/ecsa1 Second CSA7000
2485 ...
2486
2487169 char Eracom CSA8000 PCI encryption adaptor
2488 0 = /dev/ecsa8-0 First CSA8000
2489 1 = /dev/ecsa8-1 Second CSA8000
2490 ...
2491
2492170 char AMI MegaRAC remote access controller
2493 0 = /dev/megarac0 First MegaRAC card
2494 1 = /dev/megarac1 Second MegaRAC card
2495 ...
2496
2497171 char Reserved for IEEE 1394 (Firewire)
2498
1da177e4
LT
2499172 char Moxa Intellio serial card
2500 0 = /dev/ttyMX0 First Moxa port
2501 1 = /dev/ttyMX1 Second Moxa port
2502 ...
2503 127 = /dev/ttyMX127 128th Moxa port
2504 128 = /dev/moxactl Moxa control port
2505
2506173 char Moxa Intellio serial card - alternate devices
2507 0 = /dev/cumx0 Callout device for ttyMX0
2508 1 = /dev/cumx1 Callout device for ttyMX1
2509 ...
2510 127 = /dev/cumx127 Callout device for ttyMX127
2511
2512174 char SmartIO serial card
2513 0 = /dev/ttySI0 First SmartIO port
2514 1 = /dev/ttySI1 Second SmartIO port
2515 ...
2516
2517175 char SmartIO serial card - alternate devices
2518 0 = /dev/cusi0 Callout device for ttySI0
2519 1 = /dev/cusi1 Callout device for ttySI1
2520 ...
2521
2522176 char nCipher nFast PCI crypto accelerator
2523 0 = /dev/nfastpci0 First nFast PCI device
2524 1 = /dev/nfastpci1 First nFast PCI device
2525 ...
2526
2527177 char TI PCILynx memory spaces
2528 0 = /dev/pcilynx/aux0 AUX space of first PCILynx card
2529 ...
2530 15 = /dev/pcilynx/aux15 AUX space of 16th PCILynx card
2531 16 = /dev/pcilynx/rom0 ROM space of first PCILynx card
2532 ...
2533 31 = /dev/pcilynx/rom15 ROM space of 16th PCILynx card
2534 32 = /dev/pcilynx/ram0 RAM space of first PCILynx card
2535 ...
2536 47 = /dev/pcilynx/ram15 RAM space of 16th PCILynx card
2537
2538178 char Giganet cLAN1xxx virtual interface adapter
2539 0 = /dev/clanvi0 First cLAN adapter
2540 1 = /dev/clanvi1 Second cLAN adapter
2541 ...
2542
2543179 char CCube DVXChip-based PCI products
2544 0 = /dev/dvxirq0 First DVX device
2545 1 = /dev/dvxirq1 Second DVX device
2546 ...
2547
2548180 char USB devices
2549 0 = /dev/usb/lp0 First USB printer
2550 ...
2551 15 = /dev/usb/lp15 16th USB printer
1da177e4
LT
2552 48 = /dev/usb/scanner0 First USB scanner
2553 ...
2554 63 = /dev/usb/scanner15 16th USB scanner
2555 64 = /dev/usb/rio500 Diamond Rio 500
2556 65 = /dev/usb/usblcd USBLCD Interface (info@usblcd.de)
2557 66 = /dev/usb/cpad0 Synaptics cPad (mouse/LCD)
11420211
JE
2558 96 = /dev/usb/hiddev0 1st USB HID device
2559 ...
2560 111 = /dev/usb/hiddev15 16th USB HID device
2561 112 = /dev/usb/auer0 1st auerswald ISDN device
2562 ...
2563 127 = /dev/usb/auer15 16th auerswald ISDN device
2564 128 = /dev/usb/brlvgr0 First Braille Voyager device
2565 ...
2566 131 = /dev/usb/brlvgr3 Fourth Braille Voyager device
2567 132 = /dev/usb/idmouse ID Mouse (fingerprint scanner) device
2568 133 = /dev/usb/sisusbvga1 First SiSUSB VGA device
2569 ...
30aaa5c6 2570 140 = /dev/usb/sisusbvga8 Eighth SISUSB VGA device
11420211
JE
2571 144 = /dev/usb/lcd USB LCD device
2572 160 = /dev/usb/legousbtower0 1st USB Legotower device
2573 ...
2574 175 = /dev/usb/legousbtower15 16th USB Legotower device
2575 240 = /dev/usb/dabusb0 First daubusb device
2576 ...
2577 243 = /dev/usb/dabusb3 Fourth dabusb device
1da177e4
LT
2578
2579180 block USB block devices
953a7f20
PZ
2580 0 = /dev/uba First USB block device
2581 8 = /dev/ubb Second USB block device
2582 16 = /dev/ubc Third USB block device
30aaa5c6 2583 ...
1da177e4
LT
2584
2585181 char Conrad Electronic parallel port radio clocks
2586 0 = /dev/pcfclock0 First Conrad radio clock
2587 1 = /dev/pcfclock1 Second Conrad radio clock
2588 ...
2589
2590182 char Picture Elements THR2 binarizer
2591 0 = /dev/pethr0 First THR2 board
2592 1 = /dev/pethr1 Second THR2 board
2593 ...
2594
2595183 char SST 5136-DN DeviceNet interface
2596 0 = /dev/ss5136dn0 First DeviceNet interface
2597 1 = /dev/ss5136dn1 Second DeviceNet interface
2598 ...
2599
2600 This device used to be assigned to major number 144.
2601 It had to be moved due to an unfortunate conflict.
2602
2603184 char Picture Elements' video simulator/sender
2604 0 = /dev/pevss0 First sender board
2605 1 = /dev/pevss1 Second sender board
2606 ...
2607
2608185 char InterMezzo high availability file system
2609 0 = /dev/intermezzo0 First cache manager
2610 1 = /dev/intermezzo1 Second cache manager
2611 ...
2612
2613 See http://www.inter-mezzo.org/ for more information.
2614
2615186 char Object-based storage control device
2616 0 = /dev/obd0 First obd control device
2617 1 = /dev/obd1 Second obd control device
2618 ...
2619
2620 See ftp://ftp.lustre.org/pub/obd for code and information.
2621
2622187 char DESkey hardware encryption device
2623 0 = /dev/deskey0 First DES key
2624 1 = /dev/deskey1 Second DES key
2625 ...
2626
2627188 char USB serial converters
2628 0 = /dev/ttyUSB0 First USB serial converter
2629 1 = /dev/ttyUSB1 Second USB serial converter
2630 ...
2631
2632189 char USB serial converters - alternate devices
2633 0 = /dev/cuusb0 Callout device for ttyUSB0
2634 1 = /dev/cuusb1 Callout device for ttyUSB1
2635 ...
2636
2637190 char Kansas City tracker/tuner card
2638 0 = /dev/kctt0 First KCT/T card
2639 1 = /dev/kctt1 Second KCT/T card
2640 ...
2641
2642191 char Reserved for PCMCIA
2643
2644192 char Kernel profiling interface
2645 0 = /dev/profile Profiling control device
2646 1 = /dev/profile0 Profiling device for CPU 0
2647 2 = /dev/profile1 Profiling device for CPU 1
2648 ...
2649
2650193 char Kernel event-tracing interface
2651 0 = /dev/trace Tracing control device
2652 1 = /dev/trace0 Tracing device for CPU 0
2653 2 = /dev/trace1 Tracing device for CPU 1
2654 ...
2655
2656194 char linVideoStreams (LINVS)
2657 0 = /dev/mvideo/status0 Video compression status
2658 1 = /dev/mvideo/stream0 Video stream
2659 2 = /dev/mvideo/frame0 Single compressed frame
2660 3 = /dev/mvideo/rawframe0 Raw uncompressed frame
2661 4 = /dev/mvideo/codec0 Direct codec access
2662 5 = /dev/mvideo/video4linux0 Video4Linux compatibility
2663
2664 16 = /dev/mvideo/status1 Second device
2665 ...
2666 32 = /dev/mvideo/status2 Third device
2667 ...
2668 ...
30aaa5c6 2669 240 = /dev/mvideo/status15 16th device
1da177e4
LT
2670 ...
2671
2672195 char Nvidia graphics devices
2673 0 = /dev/nvidia0 First Nvidia card
2674 1 = /dev/nvidia1 Second Nvidia card
2675 ...
2676 255 = /dev/nvidiactl Nvidia card control device
2677
2678196 char Tormenta T1 card
2679 0 = /dev/tor/0 Master control channel for all cards
2680 1 = /dev/tor/1 First DS0
2681 2 = /dev/tor/2 Second DS0
2682 ...
2683 48 = /dev/tor/48 48th DS0
2684 49 = /dev/tor/49 First pseudo-channel
2685 50 = /dev/tor/50 Second pseudo-channel
2686 ...
2687
2688197 char OpenTNF tracing facility
2689 0 = /dev/tnf/t0 Trace 0 data extraction
2690 1 = /dev/tnf/t1 Trace 1 data extraction
2691 ...
2692 128 = /dev/tnf/status Tracing facility status
2693 130 = /dev/tnf/trace Tracing device
2694
2695198 char Total Impact TPMP2 quad coprocessor PCI card
2696 0 = /dev/tpmp2/0 First card
2697 1 = /dev/tpmp2/1 Second card
2698 ...
2699
2700199 char Veritas volume manager (VxVM) volumes
2701 0 = /dev/vx/rdsk/*/* First volume
2702 1 = /dev/vx/rdsk/*/* Second volume
2703 ...
2704
2705199 block Veritas volume manager (VxVM) volumes
2706 0 = /dev/vx/dsk/*/* First volume
2707 1 = /dev/vx/dsk/*/* Second volume
2708 ...
2709
2710 The namespace in these directories is maintained by
2711 the user space VxVM software.
2712
2713200 char Veritas VxVM configuration interface
2714 0 = /dev/vx/config Configuration access node
2715 1 = /dev/vx/trace Volume i/o trace access node
2716 2 = /dev/vx/iod Volume i/o daemon access node
2717 3 = /dev/vx/info Volume information access node
2718 4 = /dev/vx/task Volume tasks access node
2719 5 = /dev/vx/taskmon Volume tasks monitor daemon
2720
2721201 char Veritas VxVM dynamic multipathing driver
2722 0 = /dev/vx/rdmp/* First multipath device
2723 1 = /dev/vx/rdmp/* Second multipath device
2724 ...
2725201 block Veritas VxVM dynamic multipathing driver
2726 0 = /dev/vx/dmp/* First multipath device
2727 1 = /dev/vx/dmp/* Second multipath device
2728 ...
2729
2730 The namespace in these directories is maintained by
2731 the user space VxVM software.
2732
2733202 char CPU model-specific registers
2734 0 = /dev/cpu/0/msr MSRs on CPU 0
2735 1 = /dev/cpu/1/msr MSRs on CPU 1
2736 ...
2737
11420211
JE
2738202 block Xen Virtual Block Device
2739 0 = /dev/xvda First Xen VBD whole disk
2740 16 = /dev/xvdb Second Xen VBD whole disk
2741 32 = /dev/xvdc Third Xen VBD whole disk
2742 ...
2743 240 = /dev/xvdp Sixteenth Xen VBD whole disk
2744
2745 Partitions are handled in the same way as for IDE
2746 disks (see major number 3) except that the limit on
2747 partitions is 15.
2748
1da177e4
LT
2749203 char CPU CPUID information
2750 0 = /dev/cpu/0/cpuid CPUID on CPU 0
2751 1 = /dev/cpu/1/cpuid CPUID on CPU 1
2752 ...
2753
2754204 char Low-density serial ports
2755 0 = /dev/ttyLU0 LinkUp Systems L72xx UART - port 0
2756 1 = /dev/ttyLU1 LinkUp Systems L72xx UART - port 1
2757 2 = /dev/ttyLU2 LinkUp Systems L72xx UART - port 2
2758 3 = /dev/ttyLU3 LinkUp Systems L72xx UART - port 3
2759 4 = /dev/ttyFB0 Intel Footbridge (ARM)
2760 5 = /dev/ttySA0 StrongARM builtin serial port 0
2761 6 = /dev/ttySA1 StrongARM builtin serial port 1
2762 7 = /dev/ttySA2 StrongARM builtin serial port 2
2763 8 = /dev/ttySC0 SCI serial port (SuperH) - port 0
2764 9 = /dev/ttySC1 SCI serial port (SuperH) - port 1
2765 10 = /dev/ttySC2 SCI serial port (SuperH) - port 2
2766 11 = /dev/ttySC3 SCI serial port (SuperH) - port 3
2767 12 = /dev/ttyFW0 Firmware console - port 0
2768 13 = /dev/ttyFW1 Firmware console - port 1
2769 14 = /dev/ttyFW2 Firmware console - port 2
2770 15 = /dev/ttyFW3 Firmware console - port 3
2771 16 = /dev/ttyAM0 ARM "AMBA" serial port 0
2772 ...
2773 31 = /dev/ttyAM15 ARM "AMBA" serial port 15
2774 32 = /dev/ttyDB0 DataBooster serial port 0
2775 ...
2776 39 = /dev/ttyDB7 DataBooster serial port 7
2777 40 = /dev/ttySG0 SGI Altix console port
2778 41 = /dev/ttySMX0 Motorola i.MX - port 0
2779 42 = /dev/ttySMX1 Motorola i.MX - port 1
2780 43 = /dev/ttySMX2 Motorola i.MX - port 2
2781 44 = /dev/ttyMM0 Marvell MPSC - port 0
2782 45 = /dev/ttyMM1 Marvell MPSC - port 1
2783 46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0
2784 ...
2785 47 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
11420211
JE
2786 50 = /dev/ttyIOC0 Altix serial card
2787 ...
2788 81 = /dev/ttyIOC31 Altix serial card
2789 82 = /dev/ttyVR0 NEC VR4100 series SIU
2790 83 = /dev/ttyVR1 NEC VR4100 series DSIU
2791 84 = /dev/ttyIOC84 Altix ioc4 serial card
2792 ...
2793 115 = /dev/ttyIOC115 Altix ioc4 serial card
2794 116 = /dev/ttySIOC0 Altix ioc3 serial card
2795 ...
2796 147 = /dev/ttySIOC31 Altix ioc3 serial card
2797 148 = /dev/ttyPSC0 PPC PSC - port 0
2798 ...
2799 153 = /dev/ttyPSC5 PPC PSC - port 5
2800 154 = /dev/ttyAT0 ATMEL serial port 0
1da177e4 2801 ...
11420211
JE
2802 169 = /dev/ttyAT15 ATMEL serial port 15
2803 170 = /dev/ttyNX0 Hilscher netX serial port 0
2804 ...
2805 185 = /dev/ttyNX15 Hilscher netX serial port 15
a4521948 2806 186 = /dev/ttyJ0 JTAG1 DCC protocol based serial port emulation
30aaa5c6
TM
2807 187 = /dev/ttyUL0 Xilinx uartlite - port 0
2808 ...
2809 190 = /dev/ttyUL3 Xilinx uartlite - port 3
2810 191 = /dev/xvc0 Xen virtual console - port 0
1da177e4
LT
2811
2812205 char Low-density serial ports (alternate device)
2813 0 = /dev/culu0 Callout device for ttyLU0
2814 1 = /dev/culu1 Callout device for ttyLU1
2815 2 = /dev/culu2 Callout device for ttyLU2
2816 3 = /dev/culu3 Callout device for ttyLU3
2817 4 = /dev/cufb0 Callout device for ttyFB0
2818 5 = /dev/cusa0 Callout device for ttySA0
2819 6 = /dev/cusa1 Callout device for ttySA1
2820 7 = /dev/cusa2 Callout device for ttySA2
2821 8 = /dev/cusc0 Callout device for ttySC0
2822 9 = /dev/cusc1 Callout device for ttySC1
2823 10 = /dev/cusc2 Callout device for ttySC2
2824 11 = /dev/cusc3 Callout device for ttySC3
2825 12 = /dev/cufw0 Callout device for ttyFW0
2826 13 = /dev/cufw1 Callout device for ttyFW1
2827 14 = /dev/cufw2 Callout device for ttyFW2
2828 15 = /dev/cufw3 Callout device for ttyFW3
2829 16 = /dev/cuam0 Callout device for ttyAM0
2830 ...
2831 31 = /dev/cuam15 Callout device for ttyAM15
2832 32 = /dev/cudb0 Callout device for ttyDB0
2833 ...
2834 39 = /dev/cudb7 Callout device for ttyDB7
2835 40 = /dev/cusg0 Callout device for ttySG0
2836 41 = /dev/ttycusmx0 Callout device for ttySMX0
2837 42 = /dev/ttycusmx1 Callout device for ttySMX1
2838 43 = /dev/ttycusmx2 Callout device for ttySMX2
2839 46 = /dev/cucpm0 Callout device for ttyCPM0
2840 ...
2841 49 = /dev/cucpm5 Callout device for ttyCPM5
2842 50 = /dev/cuioc40 Callout device for ttyIOC40
2843 ...
2844 81 = /dev/cuioc431 Callout device for ttyIOC431
11420211
JE
2845 82 = /dev/cuvr0 Callout device for ttyVR0
2846 83 = /dev/cuvr1 Callout device for ttyVR1
1da177e4 2847
1da177e4
LT
2848206 char OnStream SC-x0 tape devices
2849 0 = /dev/osst0 First OnStream SCSI tape, mode 0
2850 1 = /dev/osst1 Second OnStream SCSI tape, mode 0
2851 ...
2852 32 = /dev/osst0l First OnStream SCSI tape, mode 1
2853 33 = /dev/osst1l Second OnStream SCSI tape, mode 1
2854 ...
2855 64 = /dev/osst0m First OnStream SCSI tape, mode 2
2856 65 = /dev/osst1m Second OnStream SCSI tape, mode 2
2857 ...
2858 96 = /dev/osst0a First OnStream SCSI tape, mode 3
2859 97 = /dev/osst1a Second OnStream SCSI tape, mode 3
2860 ...
2861 128 = /dev/nosst0 No rewind version of /dev/osst0
2862 129 = /dev/nosst1 No rewind version of /dev/osst1
2863 ...
2864 160 = /dev/nosst0l No rewind version of /dev/osst0l
2865 161 = /dev/nosst1l No rewind version of /dev/osst1l
2866 ...
2867 192 = /dev/nosst0m No rewind version of /dev/osst0m
2868 193 = /dev/nosst1m No rewind version of /dev/osst1m
2869 ...
2870 224 = /dev/nosst0a No rewind version of /dev/osst0a
2871 225 = /dev/nosst1a No rewind version of /dev/osst1a
2872 ...
2873
2874 The OnStream SC-x0 SCSI tapes do not support the
2875 standard SCSI SASD command set and therefore need
2876 their own driver "osst". Note that the IDE, USB (and
2877 maybe ParPort) versions may be driven via ide-scsi or
2878 usb-storage SCSI emulation and this osst device and
2879 driver as well. The ADR-x0 drives are QIC-157
2880 compliant and don't need osst.
2881
2882207 char Compaq ProLiant health feature indicate
2883 0 = /dev/cpqhealth/cpqw Redirector interface
2884 1 = /dev/cpqhealth/crom EISA CROM
2885 2 = /dev/cpqhealth/cdt Data Table
2886 3 = /dev/cpqhealth/cevt Event Log
2887 4 = /dev/cpqhealth/casr Automatic Server Recovery
2888 5 = /dev/cpqhealth/cecc ECC Memory
2889 6 = /dev/cpqhealth/cmca Machine Check Architecture
2890 7 = /dev/cpqhealth/ccsm Deprecated CDT
2891 8 = /dev/cpqhealth/cnmi NMI Handling
2892 9 = /dev/cpqhealth/css Sideshow Management
2893 10 = /dev/cpqhealth/cram CMOS interface
2894 11 = /dev/cpqhealth/cpci PCI IRQ interface
2895
2896208 char User space serial ports
2897 0 = /dev/ttyU0 First user space serial port
2898 1 = /dev/ttyU1 Second user space serial port
2899 ...
2900
2901209 char User space serial ports (alternate devices)
2902 0 = /dev/cuu0 Callout device for ttyU0
2903 1 = /dev/cuu1 Callout device for ttyU1
2904 ...
2905
2906210 char SBE, Inc. sync/async serial card
2907 0 = /dev/sbei/wxcfg0 Configuration device for board 0
2908 1 = /dev/sbei/dld0 Download device for board 0
2909 2 = /dev/sbei/wan00 WAN device, port 0, board 0
2910 3 = /dev/sbei/wan01 WAN device, port 1, board 0
2911 4 = /dev/sbei/wan02 WAN device, port 2, board 0
2912 5 = /dev/sbei/wan03 WAN device, port 3, board 0
2913 6 = /dev/sbei/wanc00 WAN clone device, port 0, board 0
2914 7 = /dev/sbei/wanc01 WAN clone device, port 1, board 0
2915 8 = /dev/sbei/wanc02 WAN clone device, port 2, board 0
2916 9 = /dev/sbei/wanc03 WAN clone device, port 3, board 0
2917 10 = /dev/sbei/wxcfg1 Configuration device for board 1
2918 11 = /dev/sbei/dld1 Download device for board 1
2919 12 = /dev/sbei/wan10 WAN device, port 0, board 1
2920 13 = /dev/sbei/wan11 WAN device, port 1, board 1
2921 14 = /dev/sbei/wan12 WAN device, port 2, board 1
2922 15 = /dev/sbei/wan13 WAN device, port 3, board 1
2923 16 = /dev/sbei/wanc10 WAN clone device, port 0, board 1
2924 17 = /dev/sbei/wanc11 WAN clone device, port 1, board 1
2925 18 = /dev/sbei/wanc12 WAN clone device, port 2, board 1
2926 19 = /dev/sbei/wanc13 WAN clone device, port 3, board 1
2927 ...
2928
2929 Yes, each board is really spaced 10 (decimal) apart.
2930
2931211 char Addinum CPCI1500 digital I/O card
2932 0 = /dev/addinum/cpci1500/0 First CPCI1500 card
2933 1 = /dev/addinum/cpci1500/1 Second CPCI1500 card
2934 ...
2935
2936212 char LinuxTV.org DVB driver subsystem
1da177e4
LT
2937 0 = /dev/dvb/adapter0/video0 first video decoder of first card
2938 1 = /dev/dvb/adapter0/audio0 first audio decoder of first card
2939 2 = /dev/dvb/adapter0/sec0 (obsolete/unused)
2940 3 = /dev/dvb/adapter0/frontend0 first frontend device of first card
2941 4 = /dev/dvb/adapter0/demux0 first demux device of first card
2942 5 = /dev/dvb/adapter0/dvr0 first digital video recoder device of first card
2943 6 = /dev/dvb/adapter0/ca0 first common access port of first card
2944 7 = /dev/dvb/adapter0/net0 first network device of first card
2945 8 = /dev/dvb/adapter0/osd0 first on-screen-display device of first card
2946 9 = /dev/dvb/adapter0/video1 second video decoder of first card
2947 ...
2948 64 = /dev/dvb/adapter1/video0 first video decoder of second card
2949 ...
2950 128 = /dev/dvb/adapter2/video0 first video decoder of third card
2951 ...
2952 196 = /dev/dvb/adapter3/video0 first video decoder of fourth card
2953
c611d2cd
MH
2954216 char Bluetooth RFCOMM TTY devices
2955 0 = /dev/rfcomm0 First Bluetooth RFCOMM TTY device
2956 1 = /dev/rfcomm1 Second Bluetooth RFCOMM TTY device
1da177e4
LT
2957 ...
2958
c611d2cd
MH
2959217 char Bluetooth RFCOMM TTY devices (alternate devices)
2960 0 = /dev/curf0 Callout device for rfcomm0
2961 1 = /dev/curf1 Callout device for rfcomm1
1da177e4
LT
2962 ...
2963
2964218 char The Logical Company bus Unibus/Qbus adapters
2965 0 = /dev/logicalco/bci/0 First bus adapter
2966 1 = /dev/logicalco/bci/1 First bus adapter
2967 ...
2968
2969219 char The Logical Company DCI-1300 digital I/O card
2970 0 = /dev/logicalco/dci1300/0 First DCI-1300 card
2971 1 = /dev/logicalco/dci1300/1 Second DCI-1300 card
2972 ...
2973
2974220 char Myricom Myrinet "GM" board
2975 0 = /dev/myricom/gm0 First Myrinet GM board
2976 1 = /dev/myricom/gmp0 First board "root access"
2977 2 = /dev/myricom/gm1 Second Myrinet GM board
2978 3 = /dev/myricom/gmp1 Second board "root access"
2979 ...
2980
2981221 char VME bus
2982 0 = /dev/bus/vme/m0 First master image
2983 1 = /dev/bus/vme/m1 Second master image
2984 2 = /dev/bus/vme/m2 Third master image
2985 3 = /dev/bus/vme/m3 Fourth master image
2986 4 = /dev/bus/vme/s0 First slave image
2987 5 = /dev/bus/vme/s1 Second slave image
2988 6 = /dev/bus/vme/s2 Third slave image
2989 7 = /dev/bus/vme/s3 Fourth slave image
2990 8 = /dev/bus/vme/ctl Control
2991
2992 It is expected that all VME bus drivers will use the
2993 same interface. For interface documentation see
2994 http://www.vmelinux.org/.
2995
2996224 char A2232 serial card
2997 0 = /dev/ttyY0 First A2232 port
2998 1 = /dev/ttyY1 Second A2232 port
2999 ...
3000
3001225 char A2232 serial card (alternate devices)
3002 0 = /dev/cuy0 Callout device for ttyY0
3003 1 = /dev/cuy1 Callout device for ttyY1
3004 ...
3005
3006226 char Direct Rendering Infrastructure (DRI)
3007 0 = /dev/dri/card0 First graphics card
3008 1 = /dev/dri/card1 Second graphics card
3009 ...
3010
3011227 char IBM 3270 terminal Unix tty access
3012 1 = /dev/3270/tty1 First 3270 terminal
3013 2 = /dev/3270/tty2 Seconds 3270 terminal
3014 ...
3015
3016228 char IBM 3270 terminal block-mode access
3017 0 = /dev/3270/tub Controlling interface
3018 1 = /dev/3270/tub1 First 3270 terminal
3019 2 = /dev/3270/tub2 Second 3270 terminal
3020 ...
3021
30aaa5c6
TM
3022229 char IBM iSeries/pSeries virtual console
3023 0 = /dev/hvc0 First console port
3024 1 = /dev/hvc1 Second console port
1da177e4
LT
3025 ...
3026
3027230 char IBM iSeries virtual tape
3028 0 = /dev/iseries/vt0 First virtual tape, mode 0
3029 1 = /dev/iseries/vt1 Second virtual tape, mode 0
3030 ...
3031 32 = /dev/iseries/vt0l First virtual tape, mode 1
3032 33 = /dev/iseries/vt1l Second virtual tape, mode 1
3033 ...
3034 64 = /dev/iseries/vt0m First virtual tape, mode 2
3035 65 = /dev/iseries/vt1m Second virtual tape, mode 2
3036 ...
3037 96 = /dev/iseries/vt0a First virtual tape, mode 3
3038 97 = /dev/iseries/vt1a Second virtual tape, mode 3
3039 ...
3040 128 = /dev/iseries/nvt0 First virtual tape, mode 0, no rewind
3041 129 = /dev/iseries/nvt1 Second virtual tape, mode 0, no rewind
3042 ...
3043 160 = /dev/iseries/nvt0l First virtual tape, mode 1, no rewind
3044 161 = /dev/iseries/nvt1l Second virtual tape, mode 1, no rewind
3045 ...
3046 192 = /dev/iseries/nvt0m First virtual tape, mode 2, no rewind
3047 193 = /dev/iseries/nvt1m Second virtual tape, mode 2, no rewind
3048 ...
3049 224 = /dev/iseries/nvt0a First virtual tape, mode 3, no rewind
3050 225 = /dev/iseries/nvt1a Second virtual tape, mode 3, no rewind
3051 ...
3052
3053 "No rewind" refers to the omission of the default
3054 automatic rewind on device close. The MTREW or MTOFFL
3055 ioctl()'s can be used to rewind the tape regardless of
3056 the device used to access it.
3057
11420211 3058231 char InfiniBand
1da177e4
LT
3059 0 = /dev/infiniband/umad0
3060 1 = /dev/infiniband/umad1
11420211
JE
3061 ...
3062 63 = /dev/infiniband/umad63 63rd InfiniBandMad device
3063 64 = /dev/infiniband/issm0 First InfiniBand IsSM device
3064 65 = /dev/infiniband/issm1 Second InfiniBand IsSM device
3065 ...
3066 127 = /dev/infiniband/issm63 63rd InfiniBand IsSM device
3067 128 = /dev/infiniband/uverbs0 First InfiniBand verbs device
3068 129 = /dev/infiniband/uverbs1 Second InfiniBand verbs device
3069 ...
3070 159 = /dev/infiniband/uverbs31 31st InfiniBand verbs device
3071
3072232 char Biometric Devices
3073 0 = /dev/biometric/sensor0/fingerprint first fingerprint sensor on first device
3074 1 = /dev/biometric/sensor0/iris first iris sensor on first device
3075 2 = /dev/biometric/sensor0/retina first retina sensor on first device
3076 3 = /dev/biometric/sensor0/voiceprint first voiceprint sensor on first device
3077 4 = /dev/biometric/sensor0/facial first facial sensor on first device
3078 5 = /dev/biometric/sensor0/hand first hand sensor on first device
3079 ...
3080 10 = /dev/biometric/sensor1/fingerprint first fingerprint sensor on second device
3081 ...
3082 20 = /dev/biometric/sensor2/fingerprint first fingerprint sensor on third device
3083 ...
1da177e4 3084
11420211
JE
3085233 char PathScale InfiniPath interconnect
3086 0 = /dev/ipath Primary device for programs (any unit)
3087 1 = /dev/ipath0 Access specifically to unit 0
3088 2 = /dev/ipath1 Access specifically to unit 1
3089 ...
3090 4 = /dev/ipath3 Access specifically to unit 3
3091 129 = /dev/ipath_sma Device used by Subnet Management Agent
3092 130 = /dev/ipath_diag Device used by diagnostics programs
3093
3094234-239 UNASSIGNED
1da177e4
LT
3095
3096240-254 char LOCAL/EXPERIMENTAL USE
30aaa5c6 3097
1da177e4
LT
3098240-254 block LOCAL/EXPERIMENTAL USE
3099 Allocated for local/experimental use. For devices not
3100 assigned official numbers, these ranges should be
3101 used in order to avoid conflicting with future assignments.
3102
3103255 char RESERVED
30aaa5c6 3104
1da177e4
LT
3105255 block RESERVED
3106
3107 This major is reserved to assist the expansion to a
3108 larger number space. No device nodes with this major
3109 should ever be created on the filesystem.
992caacf 3110 (This is probably not true anymore, but I'll leave it
11420211
JE
3111 for now /Torben)
3112
3113---LARGE MAJORS!!!!!---
3114
3115256 char Equinox SST multi-port serial boards
3116 0 = /dev/ttyEQ0 First serial port on first Equinox SST board
3117 127 = /dev/ttyEQ127 Last serial port on first Equinox SST board
3118 128 = /dev/ttyEQ128 First serial port on second Equinox SST board
3119 ...
3120 1027 = /dev/ttyEQ1027 Last serial port on eighth Equinox SST board
3121
3122256 block Resident Flash Disk Flash Translation Layer
3123 0 = /dev/rfda First RFD FTL layer
3124 16 = /dev/rfdb Second RFD FTL layer
3125 ...
3126 240 = /dev/rfdp 16th RFD FTL layer
3127
a4521948
JE
3128257 char Phoenix Technologies Cryptographic Services Driver
3129 0 = /dev/ptlsec Crypto Services Driver
3130
30aaa5c6
TM
3131257 block SSFDC Flash Translation Layer filesystem
3132 0 = /dev/ssfdca First SSFDC layer
3133 8 = /dev/ssfdcb Second SSFDC layer
3134 16 = /dev/ssfdcc Third SSFDC layer
3135 24 = /dev/ssfdcd 4th SSFDC layer
3136 32 = /dev/ssfdce 5th SSFDC layer
3137 40 = /dev/ssfdcf 6th SSFDC layer
3138 48 = /dev/ssfdcg 7th SSFDC layer
3139 56 = /dev/ssfdch 8th SSFDC layer
3140
3141258 block ROM/Flash read-only translation layer
3142 0 = /dev/blockrom0 First ROM card's translation layer interface
3143 1 = /dev/blockrom1 Second ROM card's translation layer interface
3144 ...
1da177e4
LT
3145
3146 **** ADDITIONAL /dev DIRECTORY ENTRIES
3147
3148This section details additional entries that should or may exist in
3149the /dev directory. It is preferred that symbolic links use the same
3150form (absolute or relative) as is indicated here. Links are
3151classified as "hard" or "symbolic" depending on the preferred type of
3152link; if possible, the indicated type of link should be used.
3153
3154
3155 Compulsory links
3156
3157These links should exist on all systems:
3158
3159/dev/fd /proc/self/fd symbolic File descriptors
3160/dev/stdin fd/0 symbolic stdin file descriptor
3161/dev/stdout fd/1 symbolic stdout file descriptor
3162/dev/stderr fd/2 symbolic stderr file descriptor
3163/dev/nfsd socksys symbolic Required by iBCS-2
3164/dev/X0R null symbolic Required by iBCS-2
3165
3166Note: /dev/X0R is <letter X>-<digit 0>-<letter R>.
3167
3168 Recommended links
3169
3170It is recommended that these links exist on all systems:
3171
3172/dev/core /proc/kcore symbolic Backward compatibility
3173/dev/ramdisk ram0 symbolic Backward compatibility
3174/dev/ftape qft0 symbolic Backward compatibility
3175/dev/bttv0 video0 symbolic Backward compatibility
3176/dev/radio radio0 symbolic Backward compatibility
3177/dev/i2o* /dev/i2o/* symbolic Backward compatibility
3178/dev/scd? sr? hard Alternate SCSI CD-ROM name
3179
3180 Locally defined links
3181
3182The following links may be established locally to conform to the
3183configuration of the system. This is merely a tabulation of existing
3184practice, and does not constitute a recommendation. However, if they
3185exist, they should have the following uses.
3186
3187/dev/mouse mouse port symbolic Current mouse device
3188/dev/tape tape device symbolic Current tape device
3189/dev/cdrom CD-ROM device symbolic Current CD-ROM device
3190/dev/cdwriter CD-writer symbolic Current CD-writer device
3191/dev/scanner scanner symbolic Current scanner device
3192/dev/modem modem port symbolic Current dialout device
3193/dev/root root device symbolic Current root filesystem
3194/dev/swap swap device symbolic Current swap device
3195
3196/dev/modem should not be used for a modem which supports dialin as
3197well as dialout, as it tends to cause lock file problems. If it
3198exists, /dev/modem should point to the appropriate primary TTY device
3199(the use of the alternate callout devices is deprecated).
3200
3201For SCSI devices, /dev/tape and /dev/cdrom should point to the
3202``cooked'' devices (/dev/st* and /dev/sr*, respectively), whereas
3203/dev/cdwriter and /dev/scanner should point to the appropriate generic
3204SCSI devices (/dev/sg*).
3205
3206/dev/mouse may point to a primary serial TTY device, a hardware mouse
3207device, or a socket for a mouse driver program (e.g. /dev/gpmdata).
3208
3209 Sockets and pipes
3210
3211Non-transient sockets and named pipes may exist in /dev. Common entries are:
3212
3213/dev/printer socket lpd local socket
3214/dev/log socket syslog local socket
3215/dev/gpmdata socket gpm mouse multiplexer
3216
3217 Mount points
3218
3219The following names are reserved for mounting special filesystems
3220under /dev. These special filesystems provide kernel interfaces that
3221cannot be provided with standard device nodes.
3222
3223/dev/pts devpts PTY slave filesystem
3224/dev/shm tmpfs POSIX shared memory maintenance access
3225
3226 **** TERMINAL DEVICES
3227
3228Terminal, or TTY devices are a special class of character devices. A
3229terminal device is any device that could act as a controlling terminal
3230for a session; this includes virtual consoles, serial ports, and
3231pseudoterminals (PTYs).
3232
3233All terminal devices share a common set of capabilities known as line
fff9289b 3234disciplines; these include the common terminal line discipline as well
1da177e4
LT
3235as SLIP and PPP modes.
3236
3237All terminal devices are named similarly; this section explains the
3238naming and use of the various types of TTYs. Note that the naming
3239conventions include several historical warts; some of these are
3240Linux-specific, some were inherited from other systems, and some
3241reflect Linux outgrowing a borrowed convention.
3242
3243A hash mark (#) in a device name is used here to indicate a decimal
3244number without leading zeroes.
3245
3246 Virtual consoles and the console device
3247
3248Virtual consoles are full-screen terminal displays on the system video
3249monitor. Virtual consoles are named /dev/tty#, with numbering
3250starting at /dev/tty1; /dev/tty0 is the current virtual console.
3251/dev/tty0 is the device that should be used to access the system video
3252card on those architectures for which the frame buffer devices
3253(/dev/fb*) are not applicable. Do not use /dev/console
3254for this purpose.
3255
3256The console device, /dev/console, is the device to which system
3257messages should be sent, and on which logins should be permitted in
3258single-user mode. Starting with Linux 2.1.71, /dev/console is managed
3259by the kernel; for previous versions it should be a symbolic link to
3260either /dev/tty0, a specific virtual console such as /dev/tty1, or to
3261a serial port primary (tty*, not cu*) device, depending on the
3262configuration of the system.
3263
3264 Serial ports
3265
3266Serial ports are RS-232 serial ports and any device which simulates
3267one, either in hardware (such as internal modems) or in software (such
3268as the ISDN driver.) Under Linux, each serial ports has two device
3269names, the primary or callin device and the alternate or callout one.
3270Each kind of device is indicated by a different letter. For any
3271letter X, the names of the devices are /dev/ttyX# and /dev/cux#,
3272respectively; for historical reasons, /dev/ttyS# and /dev/ttyC#
3273correspond to /dev/cua# and /dev/cub#. In the future, it should be
3274expected that multiple letters will be used; all letters will be upper
3275case for the "tty" device (e.g. /dev/ttyDP#) and lower case for the
3276"cu" device (e.g. /dev/cudp#).
3277
3278The names /dev/ttyQ# and /dev/cuq# are reserved for local use.
3279
3280The alternate devices provide for kernel-based exclusion and somewhat
3281different defaults than the primary devices. Their main purpose is to
3282allow the use of serial ports with programs with no inherent or broken
3283support for serial ports. Their use is deprecated, and they may be
3284removed from a future version of Linux.
3285
3286Arbitration of serial ports is provided by the use of lock files with
3287the names /var/lock/LCK..ttyX#. The contents of the lock file should
3288be the PID of the locking process as an ASCII number.
3289
3290It is common practice to install links such as /dev/modem
3291which point to serial ports. In order to ensure proper locking in the
3292presence of these links, it is recommended that software chase
3293symlinks and lock all possible names; additionally, it is recommended
3294that a lock file be installed with the corresponding alternate
3295device. In order to avoid deadlocks, it is recommended that the locks
3296are acquired in the following order, and released in the reverse:
3297
3298 1. The symbolic link name, if any (/var/lock/LCK..modem)
3299 2. The "tty" name (/var/lock/LCK..ttyS2)
3300 3. The alternate device name (/var/lock/LCK..cua2)
3301
3302In the case of nested symbolic links, the lock files should be
3303installed in the order the symlinks are resolved.
3304
3305Under no circumstances should an application hold a lock while waiting
3306for another to be released. In addition, applications which attempt
3307to create lock files for the corresponding alternate device names
3308should take into account the possibility of being used on a non-serial
3309port TTY, for which no alternate device would exist.
3310
3311 Pseudoterminals (PTYs)
3312
3313Pseudoterminals, or PTYs, are used to create login sessions or provide
fff9289b 3314other capabilities requiring a TTY line discipline (including SLIP or
1da177e4
LT
3315PPP capability) to arbitrary data-generation processes. Each PTY has
3316a master side, named /dev/pty[p-za-e][0-9a-f], and a slave side, named
3317/dev/tty[p-za-e][0-9a-f]. The kernel arbitrates the use of PTYs by
3318allowing each master side to be opened only once.
3319
3320Once the master side has been opened, the corresponding slave device
3321can be used in the same manner as any TTY device. The master and
3322slave devices are connected by the kernel, generating the equivalent
3323of a bidirectional pipe with TTY capabilities.
3324
3325Recent versions of the Linux kernels and GNU libc contain support for
3326the System V/Unix98 naming scheme for PTYs, which assigns a common
3327device, /dev/ptmx, to all the masters (opening it will automatically
3328give you a previously unassigned PTY) and a subdirectory, /dev/pts,
3329for the slaves; the slaves are named with decimal integers (/dev/pts/#
3330in our notation). This removes the problem of exhausting the
3331namespace and enables the kernel to automatically create the device
3332nodes for the slaves on demand using the "devpts" filesystem.
3333