devices.rst 115.5 KB
Newer Older
L
Linus Torvalds 已提交
1

2 3
Linux allocated devices (4.x+ version)
======================================
L
Linus Torvalds 已提交
4 5

This list is the Linux Device List, the official registry of allocated
6
device numbers and ``/dev`` directory nodes for the Linux operating
L
Linus Torvalds 已提交
7 8
system.

9 10 11
The LaTeX version of this document is no longer maintained, nor is
the document that used to reside at lanana.org.  This version in the
mainline Linux kernel is the master document.  Updates shall be sent
12 13
as patches to the kernel maintainers (see the
:ref:`Documentation/SubmittingPatches <submittingpatches>` document).
14 15 16
Specifically explore the sections titled "CHAR and MISC DRIVERS", and
"BLOCK LAYER" in the MAINTAINERS file to find the right maintainers
to involve for character and block devices.
L
Linus Torvalds 已提交
17 18 19 20 21 22 23 24

This document is included by reference into the Filesystem Hierarchy
Standard (FHS).	 The FHS is available from http://www.pathname.com/fhs/.

Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga
platform only.	Allocations marked (68k/Atari) apply to Linux/68k on
the Atari platform only.

25
This document is in the public domain.	The authors requests, however,
L
Linus Torvalds 已提交
26
that semantically altered versions are not distributed without
27
permission of the authors, assuming the authors can be contacted without
L
Linus Torvalds 已提交
28 29 30
an unreasonable effort.


31
.. attention::
L
Linus Torvalds 已提交
32

33
  DEVICE DRIVERS AUTHORS PLEASE READ THIS
L
Linus Torvalds 已提交
34

35 36 37 38
  Linux now has extensive support for dynamic allocation of device numbering
  and can use ``sysfs`` and ``udev`` (``systemd``) to handle the naming needs.
  There are still some exceptions in the serial and boot device area. Before
  asking   for a device number make sure you actually need one.
L
Linus Torvalds 已提交
39

40 41 42
  To have a major number allocated, or a minor number in situations
  where that applies (e.g. busmice), please submit a patch and send to
  the authors as indicated above.
43

44 45 46 47
  Keep the description of the device *in the same format
  as this list*. The reason for this is that it is the only way we have
  found to ensure we have all the requisite information to publish your
  device and avoid conflicts.
L
Linus Torvalds 已提交
48

49 50 51 52 53 54 55
  Finally, sometimes we have to play "namespace police."  Please don't be
  offended.  We often get submissions for ``/dev`` names that would be bound
  to cause conflicts down the road.  We are trying to avoid getting in a
  situation where we would have to suffer an incompatible forward
  change.  Therefore, please consult with us **before** you make your
  device names and numbers in any way public, at least to the point
  where it would be at all difficult to get them changed.
L
Linus Torvalds 已提交
56

57
  Your cooperation is appreciated.
L
Linus Torvalds 已提交
58

59 60 61
::

   0		Unnamed devices (e.g. non-device mounts)
L
Linus Torvalds 已提交
62 63 64
		  0 = reserved as null device number
		See block major 144, 145, 146 for expansion areas.

65
   1 char	Memory devices
L
Linus Torvalds 已提交
66 67 68 69 70 71 72 73 74
		  1 = /dev/mem		Physical memory access
		  2 = /dev/kmem		Kernel virtual memory access
		  3 = /dev/null		Null device
		  4 = /dev/port		I/O port access
		  5 = /dev/zero		Null byte source
		  6 = /dev/core		OBSOLETE - replaced by /proc/kcore
		  7 = /dev/full		Returns ENOSPC on write
		  8 = /dev/random	Nondeterministic random number gen.
		  9 = /dev/urandom	Faster, less secure random number gen.
M
Matt LaPlante 已提交
75
		 10 = /dev/aio		Asynchronous I/O notification interface
76 77
		 11 = /dev/kmsg		Writes to this come out as printk's, reads
					export the buffered printk records.
Z
Zhang Yanfei 已提交
78
		 12 = /dev/oldmem	OBSOLETE - replaced by /proc/vmcore
79

80
   1 block	RAM disk
L
Linus Torvalds 已提交
81 82 83
		  0 = /dev/ram0		First RAM disk
		  1 = /dev/ram1		Second RAM disk
		    ...
84
		250 = /dev/initrd	Initial RAM disk
L
Linus Torvalds 已提交
85 86 87 88 89 90

		Older kernels had /dev/ramdisk (1, 1) here.
		/dev/initrd refers to a RAM disk which was preloaded
		by the boot loader; newer kernels use /dev/ram0 for
		the initrd.

91
   2 char	Pseudo-TTY masters
L
Linus Torvalds 已提交
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
		  0 = /dev/ptyp0	First PTY master
		  1 = /dev/ptyp1	Second PTY master
		    ...
		255 = /dev/ptyef	256th PTY master

		Pseudo-tty's are named as follows:
		* Masters are "pty", slaves are "tty";
		* the fourth letter is one of pqrstuvwxyzabcde indicating
		  the 1st through 16th series of 16 pseudo-ttys each, and
		* the fifth letter is one of 0123456789abcdef indicating
		  the position within the series.

		These are the old-style (BSD) PTY devices; Unix98
		devices are on major 128 and above and use the PTY
		master multiplex (/dev/ptmx) to acquire a PTY on
		demand.
108

109
   2 block	Floppy disks
L
Linus Torvalds 已提交
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
		  0 = /dev/fd0		Controller 0, drive 0, autodetect
		  1 = /dev/fd1		Controller 0, drive 1, autodetect
		  2 = /dev/fd2		Controller 0, drive 2, autodetect
		  3 = /dev/fd3		Controller 0, drive 3, autodetect
		128 = /dev/fd4		Controller 1, drive 0, autodetect
		129 = /dev/fd5		Controller 1, drive 1, autodetect
		130 = /dev/fd6		Controller 1, drive 2, autodetect
		131 = /dev/fd7		Controller 1, drive 3, autodetect

		To specify format, add to the autodetect device number:
		  0 = /dev/fd?		Autodetect format
		  4 = /dev/fd?d360	5.25"  360K in a 360K  drive(1)
		 20 = /dev/fd?h360	5.25"  360K in a 1200K drive(1)
		 48 = /dev/fd?h410	5.25"  410K in a 1200K drive
		 64 = /dev/fd?h420	5.25"  420K in a 1200K drive
		 24 = /dev/fd?h720	5.25"  720K in a 1200K drive
		 80 = /dev/fd?h880	5.25"  880K in a 1200K drive(1)
		  8 = /dev/fd?h1200	5.25" 1200K in a 1200K drive(1)
		 40 = /dev/fd?h1440	5.25" 1440K in a 1200K drive(1)
		 56 = /dev/fd?h1476	5.25" 1476K in a 1200K drive
		 72 = /dev/fd?h1494	5.25" 1494K in a 1200K drive
		 92 = /dev/fd?h1600	5.25" 1600K in a 1200K drive(1)

		 12 = /dev/fd?u360	3.5"   360K Double Density(2)
		 16 = /dev/fd?u720	3.5"   720K Double Density(1)
		120 = /dev/fd?u800	3.5"   800K Double Density(2)
		 52 = /dev/fd?u820	3.5"   820K Double Density
		 68 = /dev/fd?u830	3.5"   830K Double Density
		 84 = /dev/fd?u1040	3.5"  1040K Double Density(1)
		 88 = /dev/fd?u1120	3.5"  1120K Double Density(1)
		 28 = /dev/fd?u1440	3.5"  1440K High Density(1)
		124 = /dev/fd?u1600	3.5"  1600K High Density(1)
		 44 = /dev/fd?u1680	3.5"  1680K High Density(3)
		 60 = /dev/fd?u1722	3.5"  1722K High Density
		 76 = /dev/fd?u1743	3.5"  1743K High Density
		 96 = /dev/fd?u1760	3.5"  1760K High Density
		116 = /dev/fd?u1840	3.5"  1840K High Density(3)
		100 = /dev/fd?u1920	3.5"  1920K High Density(1)
		 32 = /dev/fd?u2880	3.5"  2880K Extra Density(1)
		104 = /dev/fd?u3200	3.5"  3200K Extra Density
		108 = /dev/fd?u3520	3.5"  3520K Extra Density
		112 = /dev/fd?u3840	3.5"  3840K Extra Density(1)

		 36 = /dev/fd?CompaQ	Compaq 2880K drive; obsolete?

		(1) Autodetectable format
		(2) Autodetectable format in a Double Density (720K) drive only
		(3) Autodetectable format in a High Density (1440K) drive only

		NOTE: The letter in the device name (d, q, h or u)
		signifies the type of drive: 5.25" Double Density (d),
		5.25" Quad Density (q), 5.25" High Density (h) or 3.5"
		(any model, u).	 The use of the capital letters D, H
		and E for the 3.5" models have been deprecated, since
		the drive type is insignificant for these devices.

166
   3 char	Pseudo-TTY slaves
L
Linus Torvalds 已提交
167 168 169 170 171 172 173 174
		  0 = /dev/ttyp0	First PTY slave
		  1 = /dev/ttyp1	Second PTY slave
		    ...
		255 = /dev/ttyef	256th PTY slave

		These are the old-style (BSD) PTY devices; Unix98
		devices are on major 136 and above.

175
   3 block	First MFM, RLL and IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
		  0 = /dev/hda		Master: whole disk (or CD-ROM)
		 64 = /dev/hdb		Slave: whole disk (or CD-ROM)

		For partitions, add to the whole disk device number:
		  0 = /dev/hd?		Whole disk
		  1 = /dev/hd?1		First partition
		  2 = /dev/hd?2		Second partition
		    ...
		 63 = /dev/hd?63	63rd partition

		For Linux/i386, partitions 1-4 are the primary
		partitions, and 5 and above are logical partitions.
		Other versions of Linux use partitioning schemes
		appropriate to their respective architectures.

191
   4 char	TTY devices
L
Linus Torvalds 已提交
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
		  0 = /dev/tty0		Current virtual console

		  1 = /dev/tty1		First virtual console
		    ...
		 63 = /dev/tty63	63rd virtual console
		 64 = /dev/ttyS0	First UART serial port
		    ...
		255 = /dev/ttyS191	192nd UART serial port

		UART serial ports refer to 8250/16450/16550 series devices.

		Older versions of the Linux kernel used this major
		number for BSD PTY devices.  As of Linux 2.1.115, this
		is no longer supported.	 Use major numbers 2 and 3.

207
   4 block	Aliases for dynamically allocated major devices to be used
L
Linus Torvalds 已提交
208 209 210
		when its not possible to create the real device nodes
		because the root filesystem is mounted read-only.

211
		   0 = /dev/root
L
Linus Torvalds 已提交
212

213
   5 char	Alternate TTY devices
L
Linus Torvalds 已提交
214 215 216
		  0 = /dev/tty		Current TTY device
		  1 = /dev/console	System console
		  2 = /dev/ptmx		PTY master multiplex
S
Samo Pogacnik 已提交
217
		  3 = /dev/ttyprintk	User messages via printk TTY device
L
Linus Torvalds 已提交
218 219 220 221 222 223 224 225
		 64 = /dev/cua0		Callout device for ttyS0
		    ...
		255 = /dev/cua191	Callout device for ttyS191

		(5,1) is /dev/console starting with Linux 2.1.71.  See
		the section on terminal devices for more information
		on /dev/console.

226
   6 char	Parallel printer devices
L
Linus Torvalds 已提交
227 228 229 230 231 232 233 234
		  0 = /dev/lp0		Parallel printer on parport0
		  1 = /dev/lp1		Parallel printer on parport1
		    ...

		Current Linux kernels no longer have a fixed mapping
		between parallel ports and I/O addresses.  Instead,
		they are redirected through the parport multiplex layer.

235
   7 char	Virtual console capture devices
L
Linus Torvalds 已提交
236 237 238 239 240 241 242 243
		  0 = /dev/vcs		Current vc text contents
		  1 = /dev/vcs1		tty1 text contents
		    ...
		 63 = /dev/vcs63	tty63 text contents
		128 = /dev/vcsa		Current vc text/attribute contents
		129 = /dev/vcsa1	tty1 text/attribute contents
		    ...
		191 = /dev/vcsa63	tty63 text/attribute contents
244

L
Linus Torvalds 已提交
245 246
		NOTE: These devices permit both read and write access.

247
   7 block	Loopback devices
J
Jan Engelhardt 已提交
248 249
		  0 = /dev/loop0	First loop device
		  1 = /dev/loop1	Second loop device
L
Linus Torvalds 已提交
250 251
		    ...

J
Jan Engelhardt 已提交
252
		The loop devices are used to mount filesystems not
L
Linus Torvalds 已提交
253
		associated with block devices.	The binding to the
J
Jan Engelhardt 已提交
254
		loop devices is handled by mount(8) or losetup(8).
L
Linus Torvalds 已提交
255

256
   8 block	SCSI disk devices (0-15)
L
Linus Torvalds 已提交
257 258 259 260 261 262 263 264 265 266
		  0 = /dev/sda		First SCSI disk whole disk
		 16 = /dev/sdb		Second SCSI disk whole disk
		 32 = /dev/sdc		Third SCSI disk whole disk
		    ...
		240 = /dev/sdp		Sixteenth SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

267
   9 char	SCSI tape devices
L
Linus Torvalds 已提交
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
		  0 = /dev/st0		First SCSI tape, mode 0
		  1 = /dev/st1		Second SCSI tape, mode 0
		    ...
		 32 = /dev/st0l		First SCSI tape, mode 1
		 33 = /dev/st1l		Second SCSI tape, mode 1
		    ...
		 64 = /dev/st0m		First SCSI tape, mode 2
		 65 = /dev/st1m		Second SCSI tape, mode 2
		    ...
		 96 = /dev/st0a		First SCSI tape, mode 3
		 97 = /dev/st1a		Second SCSI tape, mode 3
		      ...
		128 = /dev/nst0		First SCSI tape, mode 0, no rewind
		129 = /dev/nst1		Second SCSI tape, mode 0, no rewind
		    ...
		160 = /dev/nst0l	First SCSI tape, mode 1, no rewind
		161 = /dev/nst1l	Second SCSI tape, mode 1, no rewind
		    ...
		192 = /dev/nst0m	First SCSI tape, mode 2, no rewind
		193 = /dev/nst1m	Second SCSI tape, mode 2, no rewind
		    ...
		224 = /dev/nst0a	First SCSI tape, mode 3, no rewind
		225 = /dev/nst1a	Second SCSI tape, mode 3, no rewind
		    ...

		"No rewind" refers to the omission of the default
		automatic rewind on device close.  The MTREW or MTOFFL
		ioctl()'s can be used to rewind the tape regardless of
		the device used to access it.

298
   9 block	Metadisk (RAID) devices
L
Linus Torvalds 已提交
299 300 301 302 303 304 305
		  0 = /dev/md0		First metadisk group
		  1 = /dev/md1		Second metadisk group
		    ...

		The metadisk driver is used to span a
		filesystem across multiple physical disks.

306
  10 char	Non-serial mice, misc features
L
Linus Torvalds 已提交
307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
		  0 = /dev/logibm	Logitech bus mouse
		  1 = /dev/psaux	PS/2-style mouse port
		  2 = /dev/inportbm	Microsoft Inport bus mouse
		  3 = /dev/atibm	ATI XL bus mouse
		  4 = /dev/jbm		J-mouse
		  4 = /dev/amigamouse	Amiga mouse (68k/Amiga)
		  5 = /dev/atarimouse	Atari mouse
		  6 = /dev/sunmouse	Sun mouse
		  7 = /dev/amigamouse1	Second Amiga mouse
		  8 = /dev/smouse	Simple serial mouse driver
		  9 = /dev/pc110pad	IBM PC-110 digitizer pad
		 10 = /dev/adbmouse	Apple Desktop Bus mouse
		 11 = /dev/vrtpanel	Vr41xx embedded touch panel
		 13 = /dev/vpcmouse	Connectix Virtual PC Mouse
		 14 = /dev/touchscreen/ucb1x00  UCB 1x00 touchscreen
		 15 = /dev/touchscreen/mk712	MK712 touchscreen
		128 = /dev/beep		Fancy beep device
324
		129 =
L
Linus Torvalds 已提交
325 326 327 328 329 330
		130 = /dev/watchdog	Watchdog timer port
		131 = /dev/temperature	Machine internal temperature
		132 = /dev/hwtrap	Hardware fault trap
		133 = /dev/exttrp	External device trap
		134 = /dev/apm_bios	Advanced Power Management BIOS
		135 = /dev/rtc		Real Time Clock
331
		137 = /dev/vhci		Bluetooth virtual HCI driver
L
Linus Torvalds 已提交
332 333 334
		139 = /dev/openprom	SPARC OpenBoot PROM
		140 = /dev/relay8	Berkshire Products Octal relay card
		141 = /dev/relay16	Berkshire Products ISO-16 relay card
335
		142 =
L
Linus Torvalds 已提交
336 337
		143 = /dev/pciconf	PCI configuration space
		144 = /dev/nvram	Non-volatile configuration RAM
338
		145 = /dev/hfmodem	Soundcard shortwave modem control
L
Linus Torvalds 已提交
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
		146 = /dev/graphics	Linux/SGI graphics device
		147 = /dev/opengl	Linux/SGI OpenGL pipe
		148 = /dev/gfx		Linux/SGI graphics effects device
		149 = /dev/input/mouse	Linux/SGI Irix emulation mouse
		150 = /dev/input/keyboard Linux/SGI Irix emulation keyboard
		151 = /dev/led		Front panel LEDs
		152 = /dev/kpoll	Kernel Poll Driver
		153 = /dev/mergemem	Memory merge device
		154 = /dev/pmu		Macintosh PowerBook power manager
		155 = /dev/isictl	MultiTech ISICom serial control
		156 = /dev/lcd		Front panel LCD display
		157 = /dev/ac		Applicom Intl Profibus card
		158 = /dev/nwbutton	Netwinder external button
		159 = /dev/nwdebug	Netwinder debug interface
		160 = /dev/nwflash	Netwinder flash memory
		161 = /dev/userdma	User-space DMA access
		162 = /dev/smbus	System Management Bus
		163 = /dev/lik		Logitech Internet Keyboard
		164 = /dev/ipmo		Intel Intelligent Platform Management
V
Vinson Lee 已提交
358
		165 = /dev/vmmon	VMware virtual machine monitor
L
Linus Torvalds 已提交
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
		166 = /dev/i2o/ctl	I2O configuration manager
		167 = /dev/specialix_sxctl Specialix serial control
		168 = /dev/tcldrv	Technology Concepts serial control
		169 = /dev/specialix_rioctl Specialix RIO serial control
		170 = /dev/thinkpad/thinkpad	IBM Thinkpad devices
		171 = /dev/srripc	QNX4 API IPC manager
		172 = /dev/usemaclone	Semaphore clone device
		173 = /dev/ipmikcs	Intelligent Platform Management
		174 = /dev/uctrl	SPARCbook 3 microcontroller
		175 = /dev/agpgart	AGP Graphics Address Remapping Table
		176 = /dev/gtrsc	Gorgy Timing radio clock
		177 = /dev/cbm		Serial CBM bus
		178 = /dev/jsflash	JavaStation OS flash SIMM
		179 = /dev/xsvc		High-speed shared-mem/semaphore service
		180 = /dev/vrbuttons	Vr41xx button input device
		181 = /dev/toshiba	Toshiba laptop SMM support
		182 = /dev/perfctr	Performance-monitoring counters
		183 = /dev/hwrng	Generic random number generator
		184 = /dev/cpu/microcode CPU microcode update interface
		186 = /dev/atomicps	Atomic shapshot of process state data
		187 = /dev/irnet	IrNET device
		188 = /dev/smbusbios	SMBus BIOS
		189 = /dev/ussp_ctl	User space serial port control
		190 = /dev/crash	Mission Critical Linux crash dump facility
		191 = /dev/pcl181	<information missing>
		192 = /dev/nas_xbus	NAS xbus LCD/buttons access
		193 = /dev/d7s		SPARC 7-segment display
		194 = /dev/zkshim	Zero-Knowledge network shim control
		195 = /dev/elographics/e2201	Elographics touchscreen E271-2201
A
Alex Williamson 已提交
388
		196 = /dev/vfio/vfio	VFIO userspace driver interface
L
Lucas De Marchi 已提交
389
		197 = /dev/pxa3xx-gcu	PXA3xx graphics controller unit driver
L
Linus Torvalds 已提交
390 391 392 393 394
		198 = /dev/sexec	Signed executable interface
		199 = /dev/scanners/cuecat :CueCat barcode scanner
		200 = /dev/net/tun	TAP/TUN network device
		201 = /dev/button/gulpb	Transmeta GULP-B buttons
		202 = /dev/emd/ctl	Enhanced Metadisk RAID (EMD) control
395
		203 = /dev/cuse		Cuse (character device in user-space)
L
Linus Torvalds 已提交
396 397 398 399 400 401
		204 = /dev/video/em8300		EM8300 DVD decoder control
		205 = /dev/video/em8300_mv	EM8300 DVD decoder video
		206 = /dev/video/em8300_ma	EM8300 DVD decoder audio
		207 = /dev/video/em8300_sp	EM8300 DVD decoder subpicture
		208 = /dev/compaq/cpqphpc	Compaq PCI Hot Plug Controller
		209 = /dev/compaq/cpqrid	Compaq Remote Insight Driver
402
		210 = /dev/impi/bt	IMPI coprocessor block transfer
L
Linus Torvalds 已提交
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422
		211 = /dev/impi/smic	IMPI coprocessor stream interface
		212 = /dev/watchdogs/0	First watchdog device
		213 = /dev/watchdogs/1	Second watchdog device
		214 = /dev/watchdogs/2	Third watchdog device
		215 = /dev/watchdogs/3	Fourth watchdog device
		216 = /dev/fujitsu/apanel	Fujitsu/Siemens application panel
		217 = /dev/ni/natmotn		National Instruments Motion
		218 = /dev/kchuid	Inter-process chuid control
		219 = /dev/modems/mwave	MWave modem firmware upload
		220 = /dev/mptctl	Message passing technology (MPT) control
		221 = /dev/mvista/hssdsi	Montavista PICMG hot swap system driver
		222 = /dev/mvista/hasi		Montavista PICMG high availability
		223 = /dev/input/uinput		User level driver support for input
		224 = /dev/tpm		TCPA TPM driver
		225 = /dev/pps		Pulse Per Second driver
		226 = /dev/systrace	Systrace device
		227 = /dev/mcelog	X86_64 Machine Check Exception driver
		228 = /dev/hpet		HPET driver
		229 = /dev/fuse		Fuse (virtual filesystem in user-space)
		230 = /dev/midishare	MidiShare driver
423 424 425
		231 = /dev/snapshot	System memory snapshot device
		232 = /dev/kvm		Kernel-based virtual machine (hardware virtualization extensions)
		233 = /dev/kmview	View-OS A process with a view
426 427
		234 = /dev/btrfs-control	Btrfs control device
		235 = /dev/autofs	Autofs control device
P
Peter Rajnoha 已提交
428
		236 = /dev/mapper/control	Device-Mapper control device
429 430
		237 = /dev/loop-control Loopback control device
		238 = /dev/vhost-net	Host kernel accelerator for virtio net
L
Lucas De Marchi 已提交
431
		239 = /dev/uhid		User-space I/O driver support for HID subsystem
432

L
Linus Torvalds 已提交
433 434 435
		240-254			Reserved for local use
		255			Reserved for MISC_DYNAMIC_MINOR

436
  11 char	Raw keyboard device	(Linux/SPARC only)
L
Linus Torvalds 已提交
437 438
		  0 = /dev/kbd		Raw keyboard device

439
  11 char	Serial Mux device	(Linux/PA-RISC only)
L
Linus Torvalds 已提交
440 441 442 443
		  0 = /dev/ttyB0	First mux port
		  1 = /dev/ttyB1	Second mux port
		    ...

444
  11 block	SCSI CD-ROM devices
L
Linus Torvalds 已提交
445 446 447 448 449 450
		  0 = /dev/scd0		First SCSI CD-ROM
		  1 = /dev/scd1		Second SCSI CD-ROM
		    ...

		The prefix /dev/sr (instead of /dev/scd) has been deprecated.

451
  12 char	QIC-02 tape
L
Linus Torvalds 已提交
452 453 454 455 456 457 458 459 460 461 462 463
		  2 = /dev/ntpqic11	QIC-11, no rewind-on-close
		  3 = /dev/tpqic11	QIC-11, rewind-on-close
		  4 = /dev/ntpqic24	QIC-24, no rewind-on-close
		  5 = /dev/tpqic24	QIC-24, rewind-on-close
		  6 = /dev/ntpqic120	QIC-120, no rewind-on-close
		  7 = /dev/tpqic120	QIC-120, rewind-on-close
		  8 = /dev/ntpqic150	QIC-150, no rewind-on-close
		  9 = /dev/tpqic150	QIC-150, rewind-on-close

		The device names specified are proposed -- if there
		are "standard" names for these devices, please let me know.

464
  12 block
L
Linus Torvalds 已提交
465

466
  13 char	Input core
L
Linus Torvalds 已提交
467 468 469 470 471 472 473 474 475 476 477 478 479
		  0 = /dev/input/js0	First joystick
		  1 = /dev/input/js1	Second joystick
		    ...
		 32 = /dev/input/mouse0	First mouse
		 33 = /dev/input/mouse1	Second mouse
		    ...
		 63 = /dev/input/mice	Unified mouse
		 64 = /dev/input/event0	First event queue
		 65 = /dev/input/event1	Second event queue
		    ...

		Each device type has 5 bits (32 minors).

480
  13 block	Previously used for the XT disk (/dev/xdN)
481
		Deleted in kernel v3.9.
L
Linus Torvalds 已提交
482

483
  14 char	Open Sound System (OSS)
L
Linus Torvalds 已提交
484 485 486 487 488
		  0 = /dev/mixer	Mixer control
		  1 = /dev/sequencer	Audio sequencer
		  2 = /dev/midi00	First MIDI port
		  3 = /dev/dsp		Digital audio
		  4 = /dev/audio	Sun-compatible digital audio
489
		  6 =
L
Linus Torvalds 已提交
490 491 492 493 494 495 496 497 498 499
		  7 = /dev/audioctl	SPARC audio control device
		  8 = /dev/sequencer2	Sequencer -- alternate device
		 16 = /dev/mixer1	Second soundcard mixer control
		 17 = /dev/patmgr0	Sequencer patch manager
		 18 = /dev/midi01	Second MIDI port
		 19 = /dev/dsp1		Second soundcard digital audio
		 20 = /dev/audio1	Second soundcard Sun digital audio
		 33 = /dev/patmgr1	Sequencer patch manager
		 34 = /dev/midi02	Third MIDI port
		 50 = /dev/midi03	Fourth MIDI port
500

501
  14 block
L
Linus Torvalds 已提交
502

503
  15 char	Joystick
L
Linus Torvalds 已提交
504 505 506 507 508 509
		  0 = /dev/js0		First analog joystick
		  1 = /dev/js1		Second analog joystick
		    ...
		128 = /dev/djs0		First digital joystick
		129 = /dev/djs1		Second digital joystick
		    ...
510
  15 block	Sony CDU-31A/CDU-33A CD-ROM
L
Linus Torvalds 已提交
511 512
		  0 = /dev/sonycd	Sony CDU-31a CD-ROM

513
  16 char	Non-SCSI scanners
L
Linus Torvalds 已提交
514
		  0 = /dev/gs4500	Genius 4500 handheld scanner
515

516
  16 block	GoldStar CD-ROM
L
Linus Torvalds 已提交
517 518
		  0 = /dev/gscd		GoldStar CD-ROM

519
  17 char	OBSOLETE (was Chase serial card)
L
Linus Torvalds 已提交
520 521 522
		  0 = /dev/ttyH0	First Chase port
		  1 = /dev/ttyH1	Second Chase port
		    ...
523
  17 block	Optics Storage CD-ROM
L
Linus Torvalds 已提交
524 525
		  0 = /dev/optcd	Optics Storage CD-ROM

526
  18 char	OBSOLETE (was Chase serial card - alternate devices)
L
Linus Torvalds 已提交
527 528 529
		  0 = /dev/cuh0		Callout device for ttyH0
		  1 = /dev/cuh1		Callout device for ttyH1
		    ...
530
  18 block	Sanyo CD-ROM
L
Linus Torvalds 已提交
531 532
		  0 = /dev/sjcd		Sanyo CD-ROM

533
  19 char	Cyclades serial card
L
Linus Torvalds 已提交
534 535 536
		  0 = /dev/ttyC0	First Cyclades port
		    ...
		 31 = /dev/ttyC31	32nd Cyclades port
537

538
  19 block	"Double" compressed disk
L
Linus Torvalds 已提交
539 540 541 542 543 544 545 546 547 548
		  0 = /dev/double0	First compressed disk
		    ...
		  7 = /dev/double7	Eighth compressed disk
		128 = /dev/cdouble0	Mirror of first compressed disk
		    ...
		135 = /dev/cdouble7	Mirror of eighth compressed disk

		See the Double documentation for the meaning of the
		mirror devices.

549
  20 char	Cyclades serial card - alternate devices
L
Linus Torvalds 已提交
550 551 552
		  0 = /dev/cub0		Callout device for ttyC0
		    ...
		 31 = /dev/cub31	Callout device for ttyC31
553

554
  20 block	Hitachi CD-ROM (under development)
L
Linus Torvalds 已提交
555 556
		  0 = /dev/hitcd	Hitachi CD-ROM

557
  21 char	Generic SCSI access
L
Linus Torvalds 已提交
558 559 560 561 562 563 564 565 566
		  0 = /dev/sg0		First generic SCSI device
		  1 = /dev/sg1		Second generic SCSI device
		    ...

		Most distributions name these /dev/sga, /dev/sgb...;
		this sets an unnecessary limit of 26 SCSI devices in
		the system and is counter to standard Linux
		device-naming practice.

567
  21 block	Acorn MFM hard drive interface
L
Linus Torvalds 已提交
568 569 570 571 572
		  0 = /dev/mfma		First MFM drive whole disk
		 64 = /dev/mfmb		Second MFM drive whole disk

		This device is used on the ARM-based Acorn RiscPC.
		Partitions are handled the same way as for IDE disks
573
		(see major number 3).
L
Linus Torvalds 已提交
574

575
  22 char	Digiboard serial card
L
Linus Torvalds 已提交
576 577 578
		  0 = /dev/ttyD0	First Digiboard port
		  1 = /dev/ttyD1	Second Digiboard port
		    ...
579
  22 block	Second IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
580 581
		  0 = /dev/hdc		Master: whole disk (or CD-ROM)
		 64 = /dev/hdd		Slave: whole disk (or CD-ROM)
582

L
Linus Torvalds 已提交
583 584 585
		Partitions are handled the same way as for the first
		interface (see major number 3).

586
  23 char	Digiboard serial card - alternate devices
L
Linus Torvalds 已提交
587 588 589
		  0 = /dev/cud0		Callout device for ttyD0
		  1 = /dev/cud1		Callout device for ttyD1
		      ...
590
  23 block	Mitsumi proprietary CD-ROM
L
Linus Torvalds 已提交
591 592
		  0 = /dev/mcd		Mitsumi CD-ROM

593
  24 char	Stallion serial card
L
Linus Torvalds 已提交
594 595 596 597 598 599 600 601 602 603 604 605
		  0 = /dev/ttyE0	Stallion port 0 card 0
		  1 = /dev/ttyE1	Stallion port 1 card 0
		    ...
		 64 = /dev/ttyE64	Stallion port 0 card 1
		 65 = /dev/ttyE65	Stallion port 1 card 1
		      ...
		128 = /dev/ttyE128	Stallion port 0 card 2
		129 = /dev/ttyE129	Stallion port 1 card 2
		    ...
		192 = /dev/ttyE192	Stallion port 0 card 3
		193 = /dev/ttyE193	Stallion port 1 card 3
		    ...
606
  24 block	Sony CDU-535 CD-ROM
L
Linus Torvalds 已提交
607 608
		  0 = /dev/cdu535	Sony CDU-535 CD-ROM

609
  25 char	Stallion serial card - alternate devices
L
Linus Torvalds 已提交
610 611 612 613 614 615 616 617 618 619 620 621
		  0 = /dev/cue0		Callout device for ttyE0
		  1 = /dev/cue1		Callout device for ttyE1
		    ...
		 64 = /dev/cue64	Callout device for ttyE64
		 65 = /dev/cue65	Callout device for ttyE65
		    ...
		128 = /dev/cue128	Callout device for ttyE128
		129 = /dev/cue129	Callout device for ttyE129
		    ...
		192 = /dev/cue192	Callout device for ttyE192
		193 = /dev/cue193	Callout device for ttyE193
		      ...
622
  25 block	First Matsushita (Panasonic/SoundBlaster) CD-ROM
L
Linus Torvalds 已提交
623 624 625 626 627
		  0 = /dev/sbpcd0	Panasonic CD-ROM controller 0 unit 0
		  1 = /dev/sbpcd1	Panasonic CD-ROM controller 0 unit 1
		  2 = /dev/sbpcd2	Panasonic CD-ROM controller 0 unit 2
		  3 = /dev/sbpcd3	Panasonic CD-ROM controller 0 unit 3

628
  26 char
629

630
  26 block	Second Matsushita (Panasonic/SoundBlaster) CD-ROM
L
Linus Torvalds 已提交
631 632 633 634 635
		  0 = /dev/sbpcd4	Panasonic CD-ROM controller 1 unit 0
		  1 = /dev/sbpcd5	Panasonic CD-ROM controller 1 unit 1
		  2 = /dev/sbpcd6	Panasonic CD-ROM controller 1 unit 2
		  3 = /dev/sbpcd7	Panasonic CD-ROM controller 1 unit 3

636
  27 char	QIC-117 tape
L
Linus Torvalds 已提交
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660
		  0 = /dev/qft0		Unit 0, rewind-on-close
		  1 = /dev/qft1		Unit 1, rewind-on-close
		  2 = /dev/qft2		Unit 2, rewind-on-close
		  3 = /dev/qft3		Unit 3, rewind-on-close
		  4 = /dev/nqft0	Unit 0, no rewind-on-close
		  5 = /dev/nqft1	Unit 1, no rewind-on-close
		  6 = /dev/nqft2	Unit 2, no rewind-on-close
		  7 = /dev/nqft3	Unit 3, no rewind-on-close
		 16 = /dev/zqft0	Unit 0, rewind-on-close, compression
		 17 = /dev/zqft1	Unit 1, rewind-on-close, compression
		 18 = /dev/zqft2	Unit 2, rewind-on-close, compression
		 19 = /dev/zqft3	Unit 3, rewind-on-close, compression
		 20 = /dev/nzqft0	Unit 0, no rewind-on-close, compression
		 21 = /dev/nzqft1	Unit 1, no rewind-on-close, compression
		 22 = /dev/nzqft2	Unit 2, no rewind-on-close, compression
		 23 = /dev/nzqft3	Unit 3, no rewind-on-close, compression
		 32 = /dev/rawqft0	Unit 0, rewind-on-close, no file marks
		 33 = /dev/rawqft1	Unit 1, rewind-on-close, no file marks
		 34 = /dev/rawqft2	Unit 2, rewind-on-close, no file marks
		 35 = /dev/rawqft3	Unit 3, rewind-on-close, no file marks
		 36 = /dev/nrawqft0	Unit 0, no rewind-on-close, no file marks
		 37 = /dev/nrawqft1	Unit 1, no rewind-on-close, no file marks
		 38 = /dev/nrawqft2	Unit 2, no rewind-on-close, no file marks
		 39 = /dev/nrawqft3	Unit 3, no rewind-on-close, no file marks
661

662
  27 block	Third Matsushita (Panasonic/SoundBlaster) CD-ROM
L
Linus Torvalds 已提交
663 664 665 666 667
		  0 = /dev/sbpcd8	Panasonic CD-ROM controller 2 unit 0
		  1 = /dev/sbpcd9	Panasonic CD-ROM controller 2 unit 1
		  2 = /dev/sbpcd10	Panasonic CD-ROM controller 2 unit 2
		  3 = /dev/sbpcd11	Panasonic CD-ROM controller 2 unit 3

668
  28 char	Stallion serial card - card programming
L
Linus Torvalds 已提交
669 670 671 672
		  0 = /dev/staliomem0	First Stallion card I/O memory
		  1 = /dev/staliomem1	Second Stallion card I/O memory
		  2 = /dev/staliomem2	Third Stallion card I/O memory
		  3 = /dev/staliomem3	Fourth Stallion card I/O memory
673

674
  28 char	Atari SLM ACSI laser printer (68k/Atari)
L
Linus Torvalds 已提交
675 676 677
		  0 = /dev/slm0		First SLM laser printer
		  1 = /dev/slm1		Second SLM laser printer
		    ...
678
  28 block	Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
L
Linus Torvalds 已提交
679 680 681 682
		  0 = /dev/sbpcd12	Panasonic CD-ROM controller 3 unit 0
		  1 = /dev/sbpcd13	Panasonic CD-ROM controller 3 unit 1
		  2 = /dev/sbpcd14	Panasonic CD-ROM controller 3 unit 2
		  3 = /dev/sbpcd15	Panasonic CD-ROM controller 3 unit 3
683

684
  28 block	ACSI disk (68k/Atari)
L
Linus Torvalds 已提交
685 686 687 688 689 690 691 692 693 694
		  0 = /dev/ada		First ACSI disk whole disk
		 16 = /dev/adb		Second ACSI disk whole disk
		 32 = /dev/adc		Third ACSI disk whole disk
		    ...
		240 = /dev/adp		16th ACSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15, like SCSI.

695
  29 char	Universal frame buffer
L
Linus Torvalds 已提交
696 697 698 699 700
		  0 = /dev/fb0		First frame buffer
		  1 = /dev/fb1		Second frame buffer
		    ...
		 31 = /dev/fb31		32nd frame buffer

701
  29 block	Aztech/Orchid/Okano/Wearnes CD-ROM
L
Linus Torvalds 已提交
702 703
		  0 = /dev/aztcd	Aztech CD-ROM

704
  30 char	iBCS-2 compatibility devices
L
Linus Torvalds 已提交
705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734
		  0 = /dev/socksys	Socket access
		  1 = /dev/spx		SVR3 local X interface
		 32 = /dev/inet/ip	Network access
		 33 = /dev/inet/icmp
		 34 = /dev/inet/ggp
		 35 = /dev/inet/ipip
		 36 = /dev/inet/tcp
		 37 = /dev/inet/egp
		 38 = /dev/inet/pup
		 39 = /dev/inet/udp
		 40 = /dev/inet/idp
		 41 = /dev/inet/rawip

		Additionally, iBCS-2 requires the following links:

		/dev/ip -> /dev/inet/ip
		/dev/icmp -> /dev/inet/icmp
		/dev/ggp -> /dev/inet/ggp
		/dev/ipip -> /dev/inet/ipip
		/dev/tcp -> /dev/inet/tcp
		/dev/egp -> /dev/inet/egp
		/dev/pup -> /dev/inet/pup
		/dev/udp -> /dev/inet/udp
		/dev/idp -> /dev/inet/idp
		/dev/rawip -> /dev/inet/rawip
		/dev/inet/arp -> /dev/inet/udp
		/dev/inet/rip -> /dev/inet/udp
		/dev/nfsd -> /dev/socksys
		/dev/X0R -> /dev/null (? apparently not required ?)

735
  30 block	Philips LMS CM-205 CD-ROM
L
Linus Torvalds 已提交
736 737 738 739 740
		  0 = /dev/cm205cd	Philips LMS CM-205 CD-ROM

		/dev/lmscd is an older name for this device.  This
		driver does not work with the CM-205MS CD-ROM.

741
  31 char	MPU-401 MIDI
L
Linus Torvalds 已提交
742 743
		  0 = /dev/mpu401data	MPU-401 data port
		  1 = /dev/mpu401stat	MPU-401 status port
744

745
  31 block	ROM/flash memory card
L
Linus Torvalds 已提交
746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763
		  0 = /dev/rom0		First ROM card (rw)
		      ...
		  7 = /dev/rom7		Eighth ROM card (rw)
		  8 = /dev/rrom0	First ROM card (ro)
		    ...
		 15 = /dev/rrom7	Eighth ROM card (ro)
		 16 = /dev/flash0	First flash memory card (rw)
		    ...
		 23 = /dev/flash7	Eighth flash memory card (rw)
		 24 = /dev/rflash0	First flash memory card (ro)
		    ...
		 31 = /dev/rflash7	Eighth flash memory card (ro)

		The read-write (rw) devices support back-caching
		written data in RAM, as well as writing to flash RAM
		devices.  The read-only devices (ro) support reading
		only.

764
  32 char	Specialix serial card
L
Linus Torvalds 已提交
765 766 767
		  0 = /dev/ttyX0	First Specialix port
		  1 = /dev/ttyX1	Second Specialix port
		    ...
768
  32 block	Philips LMS CM-206 CD-ROM
L
Linus Torvalds 已提交
769 770
		  0 = /dev/cm206cd	Philips LMS CM-206 CD-ROM

771
  33 char	Specialix serial card - alternate devices
L
Linus Torvalds 已提交
772 773 774
		  0 = /dev/cux0		Callout device for ttyX0
		  1 = /dev/cux1		Callout device for ttyX1
		    ...
775
  33 block	Third IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
776 777 778 779 780 781
		  0 = /dev/hde		Master: whole disk (or CD-ROM)
		 64 = /dev/hdf		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

782
  34 char	Z8530 HDLC driver
L
Linus Torvalds 已提交
783 784 785 786 787 788 789 790 791 792
		  0 = /dev/scc0		First Z8530, first port
		  1 = /dev/scc1		First Z8530, second port
		  2 = /dev/scc2		Second Z8530, first port
		  3 = /dev/scc3		Second Z8530, second port
		    ...

		In a previous version these devices were named
		/dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so
		on.

793
  34 block	Fourth IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
794 795
		  0 = /dev/hdg		Master: whole disk (or CD-ROM)
		 64 = /dev/hdh		Slave: whole disk (or CD-ROM)
796

L
Linus Torvalds 已提交
797 798 799
		Partitions are handled the same way as for the first
		interface (see major number 3).

800
  35 char	tclmidi MIDI driver
L
Linus Torvalds 已提交
801 802 803 804 805 806 807 808 809 810 811 812
		  0 = /dev/midi0	First MIDI port, kernel timed
		  1 = /dev/midi1	Second MIDI port, kernel timed
		  2 = /dev/midi2	Third MIDI port, kernel timed
		  3 = /dev/midi3	Fourth MIDI port, kernel timed
		 64 = /dev/rmidi0	First MIDI port, untimed
		 65 = /dev/rmidi1	Second MIDI port, untimed
		 66 = /dev/rmidi2	Third MIDI port, untimed
		 67 = /dev/rmidi3	Fourth MIDI port, untimed
		128 = /dev/smpte0	First MIDI port, SMPTE timed
		129 = /dev/smpte1	Second MIDI port, SMPTE timed
		130 = /dev/smpte2	Third MIDI port, SMPTE timed
		131 = /dev/smpte3	Fourth MIDI port, SMPTE timed
813

814
  35 block	Slow memory ramdisk
L
Linus Torvalds 已提交
815 816
		  0 = /dev/slram	Slow memory ramdisk

817
  36 char	Netlink support
L
Linus Torvalds 已提交
818 819 820 821 822 823
		  0 = /dev/route	Routing, device updates, kernel to user
		  1 = /dev/skip		enSKIP security cache control
		  3 = /dev/fwmonitor	Firewall packet copies
		 16 = /dev/tap0		First Ethertap device
		    ...
		 31 = /dev/tap15	16th Ethertap device
824

825
  36 block	OBSOLETE (was MCA ESDI hard disk)
L
Linus Torvalds 已提交
826

827
  37 char	IDE tape
L
Linus Torvalds 已提交
828 829 830 831 832 833 834 835 836
		  0 = /dev/ht0		First IDE tape
		  1 = /dev/ht1		Second IDE tape
		    ...
		128 = /dev/nht0		First IDE tape, no rewind-on-close
		129 = /dev/nht1		Second IDE tape, no rewind-on-close
		    ...

		Currently, only one IDE tape drive is supported.

837
  37 block	Zorro II ramdisk
L
Linus Torvalds 已提交
838 839
		  0 = /dev/z2ram	Zorro II ramdisk

840
  38 char	Myricom PCI Myrinet board
L
Linus Torvalds 已提交
841 842 843 844 845 846 847 848
		  0 = /dev/mlanai0	First Myrinet board
		  1 = /dev/mlanai1	Second Myrinet board
		    ...

		This device is used for status query, board control
		and "user level packet I/O."  This board is also
		accessible as a standard networking "eth" device.

849
  38 block	OBSOLETE (was Linux/AP+)
L
Linus Torvalds 已提交
850

851
  39 char	ML-16P experimental I/O board
L
Linus Torvalds 已提交
852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868
		  0 = /dev/ml16pa-a0	First card, first analog channel
		  1 = /dev/ml16pa-a1	First card, second analog channel
		    ...
		 15 = /dev/ml16pa-a15	First card, 16th analog channel
		 16 = /dev/ml16pa-d	First card, digital lines
		 17 = /dev/ml16pa-c0	First card, first counter/timer
		 18 = /dev/ml16pa-c1	First card, second counter/timer
		 19 = /dev/ml16pa-c2	First card, third counter/timer
		 32 = /dev/ml16pb-a0	Second card, first analog channel
		 33 = /dev/ml16pb-a1	Second card, second analog channel
		    ...
		 47 = /dev/ml16pb-a15	Second card, 16th analog channel
		 48 = /dev/ml16pb-d	Second card, digital lines
		 49 = /dev/ml16pb-c0	Second card, first counter/timer
		 50 = /dev/ml16pb-c1	Second card, second counter/timer
		 51 = /dev/ml16pb-c2	Second card, third counter/timer
		      ...
869
  39 block
L
Linus Torvalds 已提交
870

871
  40 char
872

873
  40 block
L
Linus Torvalds 已提交
874

875
  41 char	Yet Another Micro Monitor
L
Linus Torvalds 已提交
876
		  0 = /dev/yamm		Yet Another Micro Monitor
877

878
  41 block
L
Linus Torvalds 已提交
879

880
  42 char	Demo/sample use
881

882
  42 block	Demo/sample use
L
Linus Torvalds 已提交
883 884 885 886 887 888 889 890 891 892 893 894

		This number is intended for use in sample code, as
		well as a general "example" device number.  It
		should never be used for a device driver that is being
		distributed; either obtain an official number or use
		the local/experimental range.  The sudden addition or
		removal of a driver with this number should not cause
		ill effects to the system (bugs excepted.)

		IN PARTICULAR, ANY DISTRIBUTION WHICH CONTAINS A
		DEVICE DRIVER USING MAJOR NUMBER 42 IS NONCOMPLIANT.

895
  43 char	isdn4linux virtual modem
L
Linus Torvalds 已提交
896 897 898
		  0 = /dev/ttyI0	First virtual modem
		    ...
		 63 = /dev/ttyI63	64th virtual modem
899

900
  43 block	Network block devices
L
Linus Torvalds 已提交
901 902 903 904 905 906 907 908 909 910 911
		  0 = /dev/nb0		First network block device
		  1 = /dev/nb1		Second network block device
		    ...

		Network Block Device is somehow similar to loopback
		devices: If you read from it, it sends packet across
		network asking server for data. If you write to it, it
		sends packet telling server to write. It could be used
		to mounting filesystems over the net, swapping over
		the net, implementing block device in userland etc.

912
  44 char	isdn4linux virtual modem - alternate devices
L
Linus Torvalds 已提交
913 914 915
		  0 = /dev/cui0		Callout device for ttyI0
		    ...
		 63 = /dev/cui63	Callout device for ttyI63
916

917
  44 block	Flash Translation Layer (FTL) filesystems
L
Linus Torvalds 已提交
918 919 920 921
		  0 = /dev/ftla		FTL on first Memory Technology Device
		 16 = /dev/ftlb		FTL on second Memory Technology Device
		 32 = /dev/ftlc		FTL on third Memory Technology Device
		    ...
922
		240 = /dev/ftlp		FTL on 16th Memory Technology Device
L
Linus Torvalds 已提交
923 924

		Partitions are handled in the same way as for IDE
J
Jan Engelhardt 已提交
925
		disks (see major number 3) except that the partition
L
Linus Torvalds 已提交
926 927
		limit is 15 rather than 63 per disk (same as SCSI.)

928
  45 char	isdn4linux ISDN BRI driver
L
Linus Torvalds 已提交
929 930 931 932 933 934 935 936 937 938 939 940
		  0 = /dev/isdn0	First virtual B channel raw data
		    ...
		 63 = /dev/isdn63	64th virtual B channel raw data
		 64 = /dev/isdnctrl0	First channel control/debug
		    ...
		127 = /dev/isdnctrl63	64th channel control/debug

		128 = /dev/ippp0	First SyncPPP device
		    ...
		191 = /dev/ippp63	64th SyncPPP device

		255 = /dev/isdninfo	ISDN monitor interface
941

942
  45 block	Parallel port IDE disk devices
L
Linus Torvalds 已提交
943 944 945 946 947 948 949 950 951
		  0 = /dev/pda		First parallel port IDE disk
		 16 = /dev/pdb		Second parallel port IDE disk
		 32 = /dev/pdc		Third parallel port IDE disk
		 48 = /dev/pdd		Fourth parallel port IDE disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the partition
		limit is 15 rather than 63 per disk.

952
  46 char	Comtrol Rocketport serial card
L
Linus Torvalds 已提交
953 954 955
		  0 = /dev/ttyR0	First Rocketport port
		  1 = /dev/ttyR1	Second Rocketport port
		    ...
956
  46 block	Parallel port ATAPI CD-ROM devices
L
Linus Torvalds 已提交
957 958 959 960 961
		  0 = /dev/pcd0		First parallel port ATAPI CD-ROM
		  1 = /dev/pcd1		Second parallel port ATAPI CD-ROM
		  2 = /dev/pcd2		Third parallel port ATAPI CD-ROM
		  3 = /dev/pcd3		Fourth parallel port ATAPI CD-ROM

962
  47 char	Comtrol Rocketport serial card - alternate devices
L
Linus Torvalds 已提交
963 964 965
		  0 = /dev/cur0		Callout device for ttyR0
		  1 = /dev/cur1		Callout device for ttyR1
		    ...
966
  47 block	Parallel port ATAPI disk devices
L
Linus Torvalds 已提交
967 968 969 970 971 972 973 974
		  0 = /dev/pf0		First parallel port ATAPI disk
		  1 = /dev/pf1		Second parallel port ATAPI disk
		  2 = /dev/pf2		Third parallel port ATAPI disk
		  3 = /dev/pf3		Fourth parallel port ATAPI disk

		This driver is intended for floppy disks and similar
		devices and hence does not support partitioning.

975
  48 char	SDL RISCom serial card
L
Linus Torvalds 已提交
976 977 978
		  0 = /dev/ttyL0	First RISCom port
		  1 = /dev/ttyL1	Second RISCom port
		    ...
979
  48 block	Mylex DAC960 PCI RAID controller; first controller
L
Linus Torvalds 已提交
980 981 982 983 984 985 986 987 988 989 990
		  0 = /dev/rd/c0d0	First disk, whole disk
		  8 = /dev/rd/c0d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c0d31	32nd disk, whole disk

		For partitions add:
		  0 = /dev/rd/c?d?	Whole disk
		  1 = /dev/rd/c?d?p1	First partition
		    ...
		  7 = /dev/rd/c?d?p7	Seventh partition

991
  49 char	SDL RISCom serial card - alternate devices
L
Linus Torvalds 已提交
992 993 994
		  0 = /dev/cul0		Callout device for ttyL0
		  1 = /dev/cul1		Callout device for ttyL1
		    ...
995
  49 block	Mylex DAC960 PCI RAID controller; second controller
L
Linus Torvalds 已提交
996 997 998 999 1000 1001 1002
		  0 = /dev/rd/c1d0	First disk, whole disk
		  8 = /dev/rd/c1d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c1d31	32nd disk, whole disk

		Partitions are handled as for major 48.

1003
  50 char	Reserved for GLINT
L
Linus Torvalds 已提交
1004

1005
  50 block	Mylex DAC960 PCI RAID controller; third controller
L
Linus Torvalds 已提交
1006 1007 1008 1009 1010
		  0 = /dev/rd/c2d0	First disk, whole disk
		  8 = /dev/rd/c2d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c2d31	32nd disk, whole disk

1011
  51 char	Baycom radio modem OR Radio Tech BIM-XXX-RS232 radio modem
L
Linus Torvalds 已提交
1012 1013 1014
		  0 = /dev/bc0		First Baycom radio modem
		  1 = /dev/bc1		Second Baycom radio modem
		    ...
1015
  51 block	Mylex DAC960 PCI RAID controller; fourth controller
L
Linus Torvalds 已提交
1016 1017 1018 1019 1020 1021 1022
		  0 = /dev/rd/c3d0	First disk, whole disk
		  8 = /dev/rd/c3d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c3d31	32nd disk, whole disk

		Partitions are handled as for major 48.

1023
  52 char	Spellcaster DataComm/BRI ISDN card
L
Linus Torvalds 已提交
1024 1025 1026 1027
		  0 = /dev/dcbri0	First DataComm card
		  1 = /dev/dcbri1	Second DataComm card
		  2 = /dev/dcbri2	Third DataComm card
		  3 = /dev/dcbri3	Fourth DataComm card
1028

1029
  52 block	Mylex DAC960 PCI RAID controller; fifth controller
L
Linus Torvalds 已提交
1030 1031 1032 1033 1034 1035 1036
		  0 = /dev/rd/c4d0	First disk, whole disk
		  8 = /dev/rd/c4d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c4d31	32nd disk, whole disk

		Partitions are handled as for major 48.

1037
  53 char	BDM interface for remote debugging MC683xx microcontrollers
L
Linus Torvalds 已提交
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
		  0 = /dev/pd_bdm0	PD BDM interface on lp0
		  1 = /dev/pd_bdm1	PD BDM interface on lp1
		  2 = /dev/pd_bdm2	PD BDM interface on lp2
		  4 = /dev/icd_bdm0	ICD BDM interface on lp0
		  5 = /dev/icd_bdm1	ICD BDM interface on lp1
		  6 = /dev/icd_bdm2	ICD BDM interface on lp2

		This device is used for the interfacing to the MC683xx
		microcontrollers via Background Debug Mode by use of a
		Parallel Port interface. PD is the Motorola Public
		Domain Interface and ICD is the commercial interface
		by P&E.

1051
  53 block	Mylex DAC960 PCI RAID controller; sixth controller
L
Linus Torvalds 已提交
1052 1053 1054 1055 1056 1057 1058
		  0 = /dev/rd/c5d0	First disk, whole disk
		  8 = /dev/rd/c5d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c5d31	32nd disk, whole disk

		Partitions are handled as for major 48.

1059
  54 char	Electrocardiognosis Holter serial card
L
Linus Torvalds 已提交
1060 1061 1062 1063 1064 1065 1066 1067
		  0 = /dev/holter0	First Holter port
		  1 = /dev/holter1	Second Holter port
		  2 = /dev/holter2	Third Holter port

		A custom serial card used by Electrocardiognosis SRL
		<mseritan@ottonel.pub.ro> to transfer data from Holter
		24-hour heart monitoring equipment.

1068
  54 block	Mylex DAC960 PCI RAID controller; seventh controller
L
Linus Torvalds 已提交
1069 1070 1071 1072 1073 1074 1075
		  0 = /dev/rd/c6d0	First disk, whole disk
		  8 = /dev/rd/c6d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c6d31	32nd disk, whole disk

		Partitions are handled as for major 48.

1076
  55 char	DSP56001 digital signal processor
L
Linus Torvalds 已提交
1077
		  0 = /dev/dsp56k	First DSP56001
1078

1079
  55 block	Mylex DAC960 PCI RAID controller; eighth controller
L
Linus Torvalds 已提交
1080 1081 1082 1083 1084 1085 1086
		  0 = /dev/rd/c7d0	First disk, whole disk
		  8 = /dev/rd/c7d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c7d31	32nd disk, whole disk

		Partitions are handled as for major 48.

1087
  56 char	Apple Desktop Bus
L
Linus Torvalds 已提交
1088 1089 1090 1091 1092
		  0 = /dev/adb		ADB bus control

		Additional devices will be added to this number, all
		starting with /dev/adb.

1093
  56 block	Fifth IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
1094 1095 1096 1097 1098 1099
		  0 = /dev/hdi		Master: whole disk (or CD-ROM)
		 64 = /dev/hdj		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

1100
  57 char	Hayes ESP serial card
L
Linus Torvalds 已提交
1101 1102 1103 1104
		  0 = /dev/ttyP0	First ESP port
		  1 = /dev/ttyP1	Second ESP port
		    ...

1105
  57 block	Sixth IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
1106 1107 1108 1109 1110 1111
		  0 = /dev/hdk		Master: whole disk (or CD-ROM)
		 64 = /dev/hdl		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

1112
  58 char	Hayes ESP serial card - alternate devices
L
Linus Torvalds 已提交
1113 1114 1115
		  0 = /dev/cup0		Callout device for ttyP0
		  1 = /dev/cup1		Callout device for ttyP1
		    ...
1116

1117
  58 block	Reserved for logical volume manager
L
Linus Torvalds 已提交
1118

1119
  59 char	sf firewall package
L
Linus Torvalds 已提交
1120 1121
		  0 = /dev/firewall	Communication with sf kernel module

1122
  59 block	Generic PDA filesystem device
L
Linus Torvalds 已提交
1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134
		  0 = /dev/pda0		First PDA device
		  1 = /dev/pda1		Second PDA device
		    ...

		The pda devices are used to mount filesystems on
		remote pda's (basically slow handheld machines with
		proprietary OS's and limited memory and storage
		running small fs translation drivers) through serial /
		IRDA / parallel links.

		NAMING CONFLICT -- PROPOSED REVISED NAME /dev/rpda0 etc

1135
  60-63 char	LOCAL/EXPERIMENTAL USE
1136

1137
  60-63 block	LOCAL/EXPERIMENTAL USE
L
Linus Torvalds 已提交
1138 1139 1140 1141
		Allocated for local/experimental use.  For devices not
		assigned official numbers, these ranges should be
		used in order to avoid conflicting with future assignments.

1142
  64 char	ENskip kernel encryption package
L
Linus Torvalds 已提交
1143 1144
		  0 = /dev/enskip	Communication with ENskip kernel module

1145
  64 block	Scramdisk/DriveCrypt encrypted devices
L
Linus Torvalds 已提交
1146 1147 1148 1149 1150 1151 1152 1153 1154
		  0 = /dev/scramdisk/master    Master node for ioctls
		  1 = /dev/scramdisk/1         First encrypted device
		  2 = /dev/scramdisk/2         Second encrypted device
		  ...
		255 = /dev/scramdisk/255       255th encrypted device

		The filename of the encrypted container and the passwords
		are sent via ioctls (using the sdmount tool) to the master
		node which then activates them via one of the
J
Jan Engelhardt 已提交
1155
		/dev/scramdisk/x nodes for loop mounting (all handled
L
Linus Torvalds 已提交
1156 1157 1158 1159
		through the sdmount tool).

		Requested by: andy@scramdisklinux.org

1160
  65 char	Sundance "plink" Transputer boards (obsolete, unused)
L
Linus Torvalds 已提交
1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180
		  0 = /dev/plink0	First plink device
		  1 = /dev/plink1	Second plink device
		  2 = /dev/plink2	Third plink device
		  3 = /dev/plink3	Fourth plink device
		 64 = /dev/rplink0	First plink device, raw
		 65 = /dev/rplink1	Second plink device, raw
		 66 = /dev/rplink2	Third plink device, raw
		 67 = /dev/rplink3	Fourth plink device, raw
		128 = /dev/plink0d	First plink device, debug
		129 = /dev/plink1d	Second plink device, debug
		130 = /dev/plink2d	Third plink device, debug
		131 = /dev/plink3d	Fourth plink device, debug
		192 = /dev/rplink0d	First plink device, raw, debug
		193 = /dev/rplink1d	Second plink device, raw, debug
		194 = /dev/rplink2d	Third plink device, raw, debug
		195 = /dev/rplink3d	Fourth plink device, raw, debug

		This is a commercial driver; contact James Howes
		<jth@prosig.demon.co.uk> for information.

1181
  65 block	SCSI disk devices (16-31)
L
Linus Torvalds 已提交
1182 1183 1184 1185 1186 1187 1188 1189 1190 1191
		  0 = /dev/sdq		17th SCSI disk whole disk
		 16 = /dev/sdr		18th SCSI disk whole disk
		 32 = /dev/sds		19th SCSI disk whole disk
		    ...
		240 = /dev/sdaf		32nd SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1192
  66 char	YARC PowerPC PCI coprocessor card
L
Linus Torvalds 已提交
1193 1194 1195 1196
		  0 = /dev/yppcpci0	First YARC card
		  1 = /dev/yppcpci1	Second YARC card
		    ...

1197
  66 block	SCSI disk devices (32-47)
L
Linus Torvalds 已提交
1198 1199 1200 1201 1202 1203 1204 1205 1206 1207
		  0 = /dev/sdag		33th SCSI disk whole disk
		 16 = /dev/sdah		34th SCSI disk whole disk
		 32 = /dev/sdai		35th SCSI disk whole disk
		    ...
		240 = /dev/sdav		48nd SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1208
  67 char	Coda network file system
L
Linus Torvalds 已提交
1209 1210 1211 1212
		  0 = /dev/cfs0		Coda cache manager

		See http://www.coda.cs.cmu.edu for information about Coda.

1213
  67 block	SCSI disk devices (48-63)
L
Linus Torvalds 已提交
1214 1215 1216 1217 1218 1219 1220 1221 1222 1223
		  0 = /dev/sdaw		49th SCSI disk whole disk
		 16 = /dev/sdax		50th SCSI disk whole disk
		 32 = /dev/sday		51st SCSI disk whole disk
		    ...
		240 = /dev/sdbl		64th SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1224
  68 char	CAPI 2.0 interface
L
Linus Torvalds 已提交
1225 1226 1227 1228 1229 1230 1231 1232 1233
		  0 = /dev/capi20	Control device
		  1 = /dev/capi20.00	First CAPI 2.0 application
		  2 = /dev/capi20.01	Second CAPI 2.0 application
		    ...
		 20 = /dev/capi20.19	19th CAPI 2.0 application

		ISDN CAPI 2.0 driver for use with CAPI 2.0
		applications; currently supports the AVM B1 card.

1234
  68 block	SCSI disk devices (64-79)
L
Linus Torvalds 已提交
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244
		  0 = /dev/sdbm		65th SCSI disk whole disk
		 16 = /dev/sdbn		66th SCSI disk whole disk
		 32 = /dev/sdbo		67th SCSI disk whole disk
		    ...
		240 = /dev/sdcb		80th SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1245
  69 char	MA16 numeric accelerator card
L
Linus Torvalds 已提交
1246 1247
		  0 = /dev/ma16		Board memory access

1248
  69 block	SCSI disk devices (80-95)
L
Linus Torvalds 已提交
1249 1250 1251 1252 1253 1254 1255 1256 1257 1258
		  0 = /dev/sdcc		81st SCSI disk whole disk
		 16 = /dev/sdcd		82nd SCSI disk whole disk
		 32 = /dev/sdce		83th SCSI disk whole disk
		    ...
		240 = /dev/sdcr		96th SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1259
  70 char	SpellCaster Protocol Services Interface
L
Linus Torvalds 已提交
1260 1261 1262 1263 1264 1265 1266 1267
		  0 = /dev/apscfg	Configuration interface
		  1 = /dev/apsauth	Authentication interface
		  2 = /dev/apslog	Logging interface
		  3 = /dev/apsdbg	Debugging interface
		 64 = /dev/apsisdn	ISDN command interface
		 65 = /dev/apsasync	Async command interface
		128 = /dev/apsmon	Monitor interface

1268
  70 block	SCSI disk devices (96-111)
L
Linus Torvalds 已提交
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278
		  0 = /dev/sdcs		97th SCSI disk whole disk
		 16 = /dev/sdct		98th SCSI disk whole disk
		 32 = /dev/sdcu		99th SCSI disk whole disk
		    ...
		240 = /dev/sddh		112nd SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1279
  71 char	Computone IntelliPort II serial card
L
Linus Torvalds 已提交
1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
		  0 = /dev/ttyF0	IntelliPort II board 0, port 0
		  1 = /dev/ttyF1	IntelliPort II board 0, port 1
		    ...
		 63 = /dev/ttyF63	IntelliPort II board 0, port 63
		 64 = /dev/ttyF64	IntelliPort II board 1, port 0
		 65 = /dev/ttyF65	IntelliPort II board 1, port 1
		    ...
		127 = /dev/ttyF127	IntelliPort II board 1, port 63
		128 = /dev/ttyF128	IntelliPort II board 2, port 0
		129 = /dev/ttyF129	IntelliPort II board 2, port 1
		    ...
		191 = /dev/ttyF191	IntelliPort II board 2, port 63
		192 = /dev/ttyF192	IntelliPort II board 3, port 0
		193 = /dev/ttyF193	IntelliPort II board 3, port 1
		    ...
		255 = /dev/ttyF255	IntelliPort II board 3, port 63

1297
  71 block	SCSI disk devices (112-127)
L
Linus Torvalds 已提交
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307
		  0 = /dev/sddi		113th SCSI disk whole disk
		 16 = /dev/sddj		114th SCSI disk whole disk
		 32 = /dev/sddk		115th SCSI disk whole disk
		    ...
		240 = /dev/sddx		128th SCSI disk whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1308
  72 char	Computone IntelliPort II serial card - alternate devices
L
Linus Torvalds 已提交
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
		  0 = /dev/cuf0		Callout device for ttyF0
		  1 = /dev/cuf1		Callout device for ttyF1
		    ...
		 63 = /dev/cuf63	Callout device for ttyF63
		 64 = /dev/cuf64	Callout device for ttyF64
		 65 = /dev/cuf65	Callout device for ttyF65
		    ...
		127 = /dev/cuf127	Callout device for ttyF127
		128 = /dev/cuf128	Callout device for ttyF128
		129 = /dev/cuf129	Callout device for ttyF129
		    ...
		191 = /dev/cuf191	Callout device for ttyF191
		192 = /dev/cuf192	Callout device for ttyF192
		193 = /dev/cuf193	Callout device for ttyF193
		    ...
		255 = /dev/cuf255	Callout device for ttyF255

1326
  72 block	Compaq Intelligent Drive Array, first controller
L
Linus Torvalds 已提交
1327 1328 1329 1330 1331 1332 1333 1334 1335
		  0 = /dev/ida/c0d0	First logical drive whole disk
		 16 = /dev/ida/c0d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c0d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1336
  73 char	Computone IntelliPort II serial card - control devices
L
Linus Torvalds 已提交
1337 1338 1339 1340 1341 1342 1343 1344 1345
		  0 = /dev/ip2ipl0	Loadware device for board 0
		  1 = /dev/ip2stat0	Status device for board 0
		  4 = /dev/ip2ipl1	Loadware device for board 1
		  5 = /dev/ip2stat1	Status device for board 1
		  8 = /dev/ip2ipl2	Loadware device for board 2
		  9 = /dev/ip2stat2	Status device for board 2
		 12 = /dev/ip2ipl3	Loadware device for board 3
		 13 = /dev/ip2stat3	Status device for board 3

1346
  73 block	Compaq Intelligent Drive Array, second controller
L
Linus Torvalds 已提交
1347 1348 1349 1350 1351 1352 1353 1354 1355
		  0 = /dev/ida/c1d0	First logical drive whole disk
		 16 = /dev/ida/c1d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c1d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1356
  74 char	SCI bridge
L
Linus Torvalds 已提交
1357 1358 1359 1360 1361 1362 1363
		  0 = /dev/SCI/0	SCI device 0
		  1 = /dev/SCI/1	SCI device 1
		    ...

		Currently for Dolphin Interconnect Solutions' PCI-SCI
		bridge.

1364
  74 block	Compaq Intelligent Drive Array, third controller
L
Linus Torvalds 已提交
1365 1366 1367 1368 1369 1370 1371 1372 1373
		  0 = /dev/ida/c2d0	First logical drive whole disk
		 16 = /dev/ida/c2d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c2d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1374
  75 char	Specialix IO8+ serial card
L
Linus Torvalds 已提交
1375 1376 1377 1378 1379 1380
		  0 = /dev/ttyW0	First IO8+ port, first card
		  1 = /dev/ttyW1	Second IO8+ port, first card
		    ...
		  8 = /dev/ttyW8	First IO8+ port, second card
		    ...

1381
  75 block	Compaq Intelligent Drive Array, fourth controller
L
Linus Torvalds 已提交
1382 1383 1384 1385 1386 1387 1388 1389 1390
		  0 = /dev/ida/c3d0	First logical drive whole disk
		 16 = /dev/ida/c3d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c3d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1391
  76 char	Specialix IO8+ serial card - alternate devices
L
Linus Torvalds 已提交
1392 1393 1394 1395 1396 1397
		  0 = /dev/cuw0		Callout device for ttyW0
		  1 = /dev/cuw1		Callout device for ttyW1
		    ...
		  8 = /dev/cuw8		Callout device for ttyW8
		    ...

1398
  76 block	Compaq Intelligent Drive Array, fifth controller
L
Linus Torvalds 已提交
1399 1400 1401 1402 1403 1404 1405 1406 1407 1408
		  0 = /dev/ida/c4d0	First logical drive whole disk
		 16 = /dev/ida/c4d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c4d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.


1409
  77 char	ComScire Quantum Noise Generator
L
Linus Torvalds 已提交
1410 1411
		  0 = /dev/qng		ComScire Quantum Noise Generator

1412
  77 block	Compaq Intelligent Drive Array, sixth controller
L
Linus Torvalds 已提交
1413 1414 1415 1416 1417 1418 1419 1420 1421
		  0 = /dev/ida/c5d0	First logical drive whole disk
		 16 = /dev/ida/c5d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c5d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1422
  78 char	PAM Software's multimodem boards
L
Linus Torvalds 已提交
1423 1424 1425 1426
		  0 = /dev/ttyM0	First PAM modem
		  1 = /dev/ttyM1	Second PAM modem
		    ...

1427
  78 block	Compaq Intelligent Drive Array, seventh controller
L
Linus Torvalds 已提交
1428 1429 1430 1431 1432 1433 1434 1435 1436
		  0 = /dev/ida/c6d0	First logical drive whole disk
		 16 = /dev/ida/c6d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c6d15	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1437
  79 char	PAM Software's multimodem boards - alternate devices
L
Linus Torvalds 已提交
1438 1439 1440 1441
		  0 = /dev/cum0		Callout device for ttyM0
		  1 = /dev/cum1		Callout device for ttyM1
		    ...

1442
  79 block	Compaq Intelligent Drive Array, eighth controller
L
Linus Torvalds 已提交
1443 1444 1445 1446 1447 1448 1449 1450 1451
		  0 = /dev/ida/c7d0	First logical drive whole disk
		 16 = /dev/ida/c7d1	Second logical drive whole disk
		    ...
		240 = /dev/ida/c715	16th logical drive whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1452
  80 char	Photometrics AT200 CCD camera
L
Linus Torvalds 已提交
1453 1454
		  0 = /dev/at200	Photometrics AT200 CCD camera

1455
  80 block	I2O hard disk
L
Linus Torvalds 已提交
1456 1457 1458 1459 1460 1461 1462 1463 1464
		  0 = /dev/i2o/hda	First I2O hard disk, whole disk
		 16 = /dev/i2o/hdb	Second I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hdp	16th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1465
  81 char	video4linux
L
Linus Torvalds 已提交
1466 1467 1468 1469 1470 1471
		  0 = /dev/video0	Video capture/overlay device
		    ...
		 63 = /dev/video63	Video capture/overlay device
		 64 = /dev/radio0	Radio device
		    ...
		127 = /dev/radio63	Radio device
1472 1473 1474
		128 = /dev/swradio0	Software Defined Radio device
		    ...
		191 = /dev/swradio63	Software Defined Radio device
L
Linus Torvalds 已提交
1475 1476 1477 1478
		224 = /dev/vbi0		Vertical blank interrupt
		    ...
		255 = /dev/vbi31	Vertical blank interrupt

1479 1480 1481 1482
		Minor numbers are allocated dynamically unless
		CONFIG_VIDEO_FIXED_MINOR_RANGES (default n)
		configuration option is set.

1483
  81 block	I2O hard disk
L
Linus Torvalds 已提交
1484 1485 1486 1487 1488 1489 1490 1491 1492
		  0 = /dev/i2o/hdq	17th I2O hard disk, whole disk
		 16 = /dev/i2o/hdr	18th I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hdaf	32nd I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1493
  82 char	WiNRADiO communications receiver card
L
Linus Torvalds 已提交
1494 1495 1496 1497 1498
		  0 = /dev/winradio0	First WiNRADiO card
		  1 = /dev/winradio1	Second WiNRADiO card
		    ...

		The driver and documentation may be obtained from
1499
		http://www.winradio.com/
L
Linus Torvalds 已提交
1500

1501
  82 block	I2O hard disk
L
Linus Torvalds 已提交
1502 1503 1504 1505 1506 1507 1508 1509 1510
		  0 = /dev/i2o/hdag	33rd I2O hard disk, whole disk
		 16 = /dev/i2o/hdah	34th I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hdav	48th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1511 1512
  83 char	Matrox mga_vid video driver
		 0 = /dev/mga_vid0	1st video card
L
Linus Torvalds 已提交
1513 1514 1515
		 1 = /dev/mga_vid1	2nd video card
		 2 = /dev/mga_vid2	3rd video card
		  ...
1516
		15 = /dev/mga_vid15	16th video card
L
Linus Torvalds 已提交
1517

1518
  83 block	I2O hard disk
L
Linus Torvalds 已提交
1519 1520 1521 1522 1523 1524 1525 1526 1527
		  0 = /dev/i2o/hdaw	49th I2O hard disk, whole disk
		 16 = /dev/i2o/hdax	50th I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hdbl	64th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1528
  84 char	Ikon 1011[57] Versatec Greensheet Interface
L
Linus Torvalds 已提交
1529 1530 1531
		  0 = /dev/ihcp0	First Greensheet port
		  1 = /dev/ihcp1	Second Greensheet port

1532
  84 block	I2O hard disk
L
Linus Torvalds 已提交
1533 1534 1535 1536 1537 1538 1539 1540 1541
		  0 = /dev/i2o/hdbm	65th I2O hard disk, whole disk
		 16 = /dev/i2o/hdbn	66th I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hdcb	80th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1542
  85 char	Linux/SGI shared memory input queue
L
Linus Torvalds 已提交
1543 1544 1545 1546 1547
		  0 = /dev/shmiq	Master shared input queue
		  1 = /dev/qcntl0	First device pushed
		  2 = /dev/qcntl1	Second device pushed
		    ...

1548
  85 block	I2O hard disk
L
Linus Torvalds 已提交
1549 1550 1551 1552 1553 1554 1555 1556 1557
		  0 = /dev/i2o/hdcc	81st I2O hard disk, whole disk
		 16 = /dev/i2o/hdcd	82nd I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hdcr	96th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1558
  86 char	SCSI media changer
L
Linus Torvalds 已提交
1559 1560 1561 1562
		  0 = /dev/sch0		First SCSI media changer
		  1 = /dev/sch1		Second SCSI media changer
		    ...

1563
  86 block	I2O hard disk
L
Linus Torvalds 已提交
1564 1565 1566 1567 1568 1569 1570 1571 1572
		  0 = /dev/i2o/hdcs	97th I2O hard disk, whole disk
		 16 = /dev/i2o/hdct	98th I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hddh	112th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1573
  87 char	Sony Control-A1 stereo control bus
L
Linus Torvalds 已提交
1574 1575 1576 1577
		  0 = /dev/controla0	First device on chain
		  1 = /dev/controla1	Second device on chain
		    ...

1578
  87 block	I2O hard disk
L
Linus Torvalds 已提交
1579 1580 1581 1582 1583 1584 1585 1586 1587
		  0 = /dev/i2o/hddi	113rd I2O hard disk, whole disk
		 16 = /dev/i2o/hddj	114th I2O hard disk, whole disk
		    ...
		240 = /dev/i2o/hddx	128th I2O hard disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1588
  88 char	COMX synchronous serial card
L
Linus Torvalds 已提交
1589 1590 1591 1592
		  0 = /dev/comx0	COMX channel 0
		  1 = /dev/comx1	COMX channel 1
		    ...

1593
  88 block	Seventh IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
1594 1595 1596 1597 1598 1599
		  0 = /dev/hdm		Master: whole disk (or CD-ROM)
		 64 = /dev/hdn		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

1600
  89 char	I2C bus interface
L
Linus Torvalds 已提交
1601 1602 1603 1604
		  0 = /dev/i2c-0	First I2C adapter
		  1 = /dev/i2c-1	Second I2C adapter
		    ...

1605
  89 block	Eighth IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
1606 1607 1608 1609 1610 1611
		  0 = /dev/hdo		Master: whole disk (or CD-ROM)
		 64 = /dev/hdp		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

1612
  90 char	Memory Technology Device (RAM, ROM, Flash)
L
Linus Torvalds 已提交
1613 1614 1615 1616 1617 1618
		  0 = /dev/mtd0		First MTD (rw)
		  1 = /dev/mtdr0	First MTD (ro)
		    ...
		 30 = /dev/mtd15	16th MTD (rw)
		 31 = /dev/mtdr15	16th MTD (ro)

1619
  90 block	Ninth IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
1620 1621 1622 1623 1624 1625
		  0 = /dev/hdq		Master: whole disk (or CD-ROM)
		 64 = /dev/hdr		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

1626
  91 char	CAN-Bus devices
L
Linus Torvalds 已提交
1627 1628 1629 1630
		  0 = /dev/can0		First CAN-Bus controller
		  1 = /dev/can1		Second CAN-Bus controller
		    ...

1631
  91 block	Tenth IDE hard disk/CD-ROM interface
L
Linus Torvalds 已提交
1632 1633 1634 1635 1636 1637
		  0 = /dev/hds		Master: whole disk (or CD-ROM)
		 64 = /dev/hdt		Slave: whole disk (or CD-ROM)

		Partitions are handled the same way as for the first
		interface (see major number 3).

1638
  92 char	Reserved for ith Kommunikationstechnik MIC ISDN card
L
Linus Torvalds 已提交
1639

1640
  92 block	PPDD encrypted disk driver
L
Linus Torvalds 已提交
1641 1642 1643 1644 1645 1646 1647 1648
		  0 = /dev/ppdd0	First encrypted disk
		  1 = /dev/ppdd1	Second encrypted disk
		    ...

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1649
  93 char
L
Linus Torvalds 已提交
1650

1651
  93 block	NAND Flash Translation Layer filesystem
L
Linus Torvalds 已提交
1652 1653 1654 1655 1656
		  0 = /dev/nftla	First NFTL layer
		 16 = /dev/nftlb	Second NFTL layer
		    ...
		240 = /dev/nftlp	16th NTFL layer

1657
  94 char
L
Linus Torvalds 已提交
1658

1659 1660 1661 1662 1663 1664 1665 1666 1667
  94 block	IBM S/390 DASD block storage
		  0 = /dev/dasda First DASD device, major
		  1 = /dev/dasda1 First DASD device, block 1
		  2 = /dev/dasda2 First DASD device, block 2
		  3 = /dev/dasda3 First DASD device, block 3
		  4 = /dev/dasdb Second DASD device, major
		  5 = /dev/dasdb1 Second DASD device, block 1
		  6 = /dev/dasdb2 Second DASD device, block 2
		  7 = /dev/dasdb3 Second DASD device, block 3
L
Linus Torvalds 已提交
1668 1669
		    ...

1670
  95 char	IP filter
L
Linus Torvalds 已提交
1671 1672 1673 1674
		  0 = /dev/ipl		Filter control device/log file
		  1 = /dev/ipnat	NAT control device/log file
		  2 = /dev/ipstate	State information log file
		  3 = /dev/ipauth	Authentication control device/log file
1675
		    ...
L
Linus Torvalds 已提交
1676

1677
  96 char	Parallel port ATAPI tape devices
L
Linus Torvalds 已提交
1678 1679 1680 1681 1682 1683 1684
		  0 = /dev/pt0		First parallel port ATAPI tape
		  1 = /dev/pt1		Second parallel port ATAPI tape
		    ...
		128 = /dev/npt0		First p.p. ATAPI tape, no rewind
		129 = /dev/npt1		Second p.p. ATAPI tape, no rewind
		    ...

1685
  96 block	Inverse NAND Flash Translation Layer
L
Linus Torvalds 已提交
1686 1687 1688 1689 1690
		  0 = /dev/inftla First INFTL layer
		 16 = /dev/inftlb Second INFTL layer
		    ...
		240 = /dev/inftlp	16th INTFL layer

1691
  97 char	Parallel port generic ATAPI interface
L
Linus Torvalds 已提交
1692 1693 1694 1695 1696 1697 1698 1699
		  0 = /dev/pg0		First parallel port ATAPI device
		  1 = /dev/pg1		Second parallel port ATAPI device
		  2 = /dev/pg2		Third parallel port ATAPI device
		  3 = /dev/pg3		Fourth parallel port ATAPI device

		These devices support the same API as the generic SCSI
		devices.

1700
  98 char	Control and Measurement Device (comedi)
L
Linus Torvalds 已提交
1701 1702 1703 1704
		  0 = /dev/comedi0	First comedi device
		  1 = /dev/comedi1	Second comedi device
		    ...

1705
		See http://stm.lbl.gov/comedi.
L
Linus Torvalds 已提交
1706

1707
  98 block	User-mode virtual block device
L
Linus Torvalds 已提交
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717
		  0 = /dev/ubda		First user-mode block device
		 16 = /dev/udbb		Second user-mode block device
		    ...

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

		This device is used by the user-mode virtual kernel port.

1718
  99 char	Raw parallel ports
L
Linus Torvalds 已提交
1719 1720 1721 1722
		  0 = /dev/parport0	First parallel port
		  1 = /dev/parport1	Second parallel port
		    ...

1723
  99 block	JavaStation flash disk
L
Linus Torvalds 已提交
1724 1725
		  0 = /dev/jsfd		JavaStation flash disk

1726
 100 char	Telephony for Linux
L
Linus Torvalds 已提交
1727 1728 1729 1730
		  0 = /dev/phone0	First telephony device
		  1 = /dev/phone1	Second telephony device
		    ...

1731
 101 char	Motorola DSP 56xxx board
L
Linus Torvalds 已提交
1732 1733 1734 1735 1736
		  0 = /dev/mdspstat	Status information
		  1 = /dev/mdsp1	First DSP board I/O controls
		    ...
		 16 = /dev/mdsp16	16th DSP board I/O controls

1737
 101 block	AMI HyperDisk RAID controller
L
Linus Torvalds 已提交
1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749
		  0 = /dev/amiraid/ar0	First array whole disk
		 16 = /dev/amiraid/ar1	Second array whole disk
		    ...
		240 = /dev/amiraid/ar15	16th array whole disk

		For each device, partitions are added as:
		  0 = /dev/amiraid/ar?	  Whole disk
		  1 = /dev/amiraid/ar?p1  First partition
		  2 = /dev/amiraid/ar?p2  Second partition
		    ...
		 15 = /dev/amiraid/ar?p15 15th partition

1750
 102 char
L
Linus Torvalds 已提交
1751

1752
 102 block	Compressed block device
L
Linus Torvalds 已提交
1753 1754 1755 1756 1757 1758 1759 1760 1761
		  0 = /dev/cbd/a	First compressed block device, whole device
		 16 = /dev/cbd/b	Second compressed block device, whole device
		    ...
		240 = /dev/cbd/p	16th compressed block device, whole device

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1762
 103 char	Arla network file system
L
Linus Torvalds 已提交
1763 1764 1765 1766 1767 1768 1769 1770 1771 1772
		  0 = /dev/nnpfs0	First NNPFS device
		  1 = /dev/nnpfs1	Second NNPFS device

		Arla is a free clone of the Andrew File System, AFS.
		The NNPFS device gives user mode filesystem
		implementations a kernel presence for caching and easy
		mounting.  For more information about the project,
		write to <arla-drinkers@stacken.kth.se> or see
		http://www.stacken.kth.se/project/arla/

1773
 103 block	Audit device
L
Linus Torvalds 已提交
1774 1775
		  0 = /dev/audit	Audit device

1776
 104 char	Flash BIOS support
L
Linus Torvalds 已提交
1777

1778
 104 block	Compaq Next Generation Drive Array, first controller
L
Linus Torvalds 已提交
1779 1780 1781 1782 1783 1784 1785 1786 1787
		  0 = /dev/cciss/c0d0	First logical drive, whole disk
		 16 = /dev/cciss/c0d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c0d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1788
 105 char	Comtrol VS-1000 serial controller
L
Linus Torvalds 已提交
1789 1790 1791 1792
		  0 = /dev/ttyV0	First VS-1000 port
		  1 = /dev/ttyV1	Second VS-1000 port
		    ...

1793
 105 block	Compaq Next Generation Drive Array, second controller
L
Linus Torvalds 已提交
1794 1795 1796 1797 1798 1799 1800 1801 1802
		  0 = /dev/cciss/c1d0	First logical drive, whole disk
		 16 = /dev/cciss/c1d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c1d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1803
 106 char	Comtrol VS-1000 serial controller - alternate devices
L
Linus Torvalds 已提交
1804 1805 1806 1807
		  0 = /dev/cuv0		First VS-1000 port
		  1 = /dev/cuv1		Second VS-1000 port
		    ...

1808
 106 block	Compaq Next Generation Drive Array, third controller
L
Linus Torvalds 已提交
1809 1810 1811 1812 1813 1814 1815 1816 1817
		  0 = /dev/cciss/c2d0	First logical drive, whole disk
		 16 = /dev/cciss/c2d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c2d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1818
 107 char	3Dfx Voodoo Graphics device
L
Linus Torvalds 已提交
1819 1820
		  0 = /dev/3dfx		Primary 3Dfx graphics device

1821
 107 block	Compaq Next Generation Drive Array, fourth controller
L
Linus Torvalds 已提交
1822 1823 1824 1825 1826 1827 1828 1829 1830
		  0 = /dev/cciss/c3d0	First logical drive, whole disk
		 16 = /dev/cciss/c3d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c3d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1831
 108 char	Device independent PPP interface
L
Linus Torvalds 已提交
1832 1833
		  0 = /dev/ppp		Device independent PPP interface

1834
 108 block	Compaq Next Generation Drive Array, fifth controller
L
Linus Torvalds 已提交
1835 1836 1837 1838 1839 1840 1841 1842 1843
		  0 = /dev/cciss/c4d0	First logical drive, whole disk
		 16 = /dev/cciss/c4d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c4d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1844
 109 char	Reserved for logical volume manager
L
Linus Torvalds 已提交
1845

1846
 109 block	Compaq Next Generation Drive Array, sixth controller
L
Linus Torvalds 已提交
1847 1848 1849 1850 1851 1852 1853 1854 1855
		  0 = /dev/cciss/c5d0	First logical drive, whole disk
		 16 = /dev/cciss/c5d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c5d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1856
 110 char	miroMEDIA Surround board
L
Linus Torvalds 已提交
1857 1858 1859 1860
		  0 = /dev/srnd0	First miroMEDIA Surround board
		  1 = /dev/srnd1	Second miroMEDIA Surround board
		    ...

1861
 110 block	Compaq Next Generation Drive Array, seventh controller
L
Linus Torvalds 已提交
1862 1863 1864 1865 1866 1867 1868 1869 1870
		  0 = /dev/cciss/c6d0	First logical drive, whole disk
		 16 = /dev/cciss/c6d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c6d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1871
 111 char
L
Linus Torvalds 已提交
1872

1873
 111 block	Compaq Next Generation Drive Array, eighth controller
L
Linus Torvalds 已提交
1874 1875 1876 1877 1878 1879 1880 1881 1882
		  0 = /dev/cciss/c7d0	First logical drive, whole disk
		 16 = /dev/cciss/c7d1	Second logical drive, whole disk
		    ...
		240 = /dev/cciss/c7d15	16th logical drive, whole disk

		Partitions are handled the same way as for Mylex
		DAC960 (see major number 48) except that the limit on
		partitions is 15.

1883
 112 char	ISI serial card
L
Linus Torvalds 已提交
1884 1885 1886 1887 1888 1889 1890
		  0 = /dev/ttyM0	First ISI port
		  1 = /dev/ttyM1	Second ISI port
		    ...

		There is currently a device-naming conflict between
		these and PAM multimodems (major 78).

1891
 112 block	IBM iSeries virtual disk
L
Linus Torvalds 已提交
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903
		  0 = /dev/iseries/vda	First virtual disk, whole disk
		  8 = /dev/iseries/vdb	Second virtual disk, whole disk
		    ...
		200 = /dev/iseries/vdz	26th virtual disk, whole disk
		208 = /dev/iseries/vdaa	27th virtual disk, whole disk
		    ...
		248 = /dev/iseries/vdaf	32nd virtual disk, whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 7.

1904
 113 char	ISI serial card - alternate devices
L
Linus Torvalds 已提交
1905 1906 1907 1908
		  0 = /dev/cum0		Callout device for ttyM0
		  1 = /dev/cum1		Callout device for ttyM1
		    ...

1909
 113 block	IBM iSeries virtual CD-ROM
L
Linus Torvalds 已提交
1910 1911 1912 1913
		  0 = /dev/iseries/vcda	First virtual CD-ROM
		  1 = /dev/iseries/vcdb	Second virtual CD-ROM
		    ...

1914
 114 char	Picture Elements ISE board
L
Linus Torvalds 已提交
1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926
		  0 = /dev/ise0		First ISE board
		  1 = /dev/ise1		Second ISE board
		    ...
		128 = /dev/isex0	Control node for first ISE board
		129 = /dev/isex1	Control node for second ISE board
		    ...

		The ISE board is an embedded computer, optimized for
		image processing. The /dev/iseN nodes are the general
		I/O access to the board, the /dev/isex0 nodes command
		nodes used to control the board.

1927 1928
 114 block       IDE BIOS powered software RAID interfaces such as the
		Promise Fastrak
L
Linus Torvalds 已提交
1929

1930 1931 1932 1933 1934 1935 1936 1937 1938
		   0 = /dev/ataraid/d0
		   1 = /dev/ataraid/d0p1
		   2 = /dev/ataraid/d0p2
		  ...
		  16 = /dev/ataraid/d1
		  17 = /dev/ataraid/d1p1
		  18 = /dev/ataraid/d1p2
		  ...
		 255 = /dev/ataraid/d15p15
L
Linus Torvalds 已提交
1939 1940 1941 1942 1943

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

1944
 115 char	TI link cable devices (115 was formerly the console driver speaker)
L
Linus Torvalds 已提交
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956
		  0 = /dev/tipar0    Parallel cable on first parallel port
		  ...
		  7 = /dev/tipar7    Parallel cable on seventh parallel port

		  8 = /dev/tiser0    Serial cable on first serial port
		  ...
		 15 = /dev/tiser7    Serial cable on seventh serial port

		 16 = /dev/tiusb0    First USB cable
		  ...
		 47 = /dev/tiusb31   32nd USB cable

1957
 115 block       NetWare (NWFS) Devices (0-255)
L
Linus Torvalds 已提交
1958

1959 1960 1961 1962 1963 1964
		The NWFS (NetWare) devices are used to present a
		collection of NetWare Mirror Groups or NetWare
		Partitions as a logical storage segment for
		use in mounting NetWare volumes.  A maximum of
		 256 NetWare volumes can be supported in a single
		machine.
L
Linus Torvalds 已提交
1965

1966
		http://cgfa.telepac.pt/ftp2/kernel.org/linux/kernel/people/jmerkey/nwfs/
L
Linus Torvalds 已提交
1967

1968 1969 1970 1971 1972
		 0 = /dev/nwfs/v0    First NetWare (NWFS) Logical Volume
		 1 = /dev/nwfs/v1    Second NetWare (NWFS) Logical Volume
		 2 = /dev/nwfs/v2    Third NetWare (NWFS) Logical Volume
		      ...
		 255 = /dev/nwfs/v255    Last NetWare (NWFS) Logical Volume
L
Linus Torvalds 已提交
1973

1974
 116 char	Advanced Linux Sound Driver (ALSA)
L
Linus Torvalds 已提交
1975

1976 1977 1978
 116 block       MicroMemory battery backed RAM adapter (NVRAM)
		Supports 16 boards, 15 partitions each.
		Requested by neilb at cse.unsw.edu.au.
L
Linus Torvalds 已提交
1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989

		 0 = /dev/umem/d0      Whole of first board
		 1 = /dev/umem/d0p1    First partition of first board
		 2 = /dev/umem/d0p2    Second partition of first board
		15 = /dev/umem/d0p15   15th partition of first board

		16 = /dev/umem/d1      Whole of second board
		17 = /dev/umem/d1p1    First partition of second board
		    ...
		255= /dev/umem/d15p15  15th partition of 16th board.

1990
 117 char	COSA/SRP synchronous serial card
L
Linus Torvalds 已提交
1991 1992 1993 1994 1995 1996 1997
		  0 = /dev/cosa0c0	1st board, 1st channel
		  1 = /dev/cosa0c1	1st board, 2nd channel
		    ...
		 16 = /dev/cosa1c0	2nd board, 1st channel
		 17 = /dev/cosa1c1	2nd board, 2nd channel
		    ...

1998
 117 block       Enterprise Volume Management System (EVMS)
L
Linus Torvalds 已提交
1999

2000 2001 2002 2003 2004
		The EVMS driver uses a layered, plug-in model to provide
		unparalleled flexibility and extensibility in managing
		storage.  This allows for easy expansion or customization
		of various levels of volume management.  Requested by
		Mark Peloquin (peloquin at us.ibm.com).
L
Linus Torvalds 已提交
2005

2006 2007
		Note: EVMS populates and manages all the devnodes in
		/dev/evms.
L
Linus Torvalds 已提交
2008

2009
		http://sf.net/projects/evms
L
Linus Torvalds 已提交
2010

2011 2012 2013 2014 2015 2016 2017 2018
		   0 = /dev/evms/block_device   EVMS block device
		   1 = /dev/evms/legacyname1    First EVMS legacy device
		   2 = /dev/evms/legacyname2    Second EVMS legacy device
		    ...
		    Both ranges can grow (down or up) until they meet.
		    ...
		 254 = /dev/evms/EVMSname2      Second EVMS native device
		 255 = /dev/evms/EVMSname1      First EVMS native device
L
Linus Torvalds 已提交
2019

2020 2021 2022
		Note: legacyname(s) are derived from the normal legacy
		device names.  For example, /dev/hda5 would become
		/dev/evms/hda5.
L
Linus Torvalds 已提交
2023

2024
 118 char	IBM Cryptographic Accelerator
L
Linus Torvalds 已提交
2025 2026 2027 2028 2029
		  0 = /dev/ica	Virtual interface to all IBM Crypto Accelerators
		  1 = /dev/ica0	IBMCA Device 0
		  2 = /dev/ica1	IBMCA Device 1
		    ...

2030
 119 char	VMware virtual network control
2031 2032
		  0 = /dev/vnet0	1st virtual network
		  1 = /dev/vnet1	2nd virtual network
L
Linus Torvalds 已提交
2033 2034
		    ...

2035
 120-127 char	LOCAL/EXPERIMENTAL USE
2036

2037
 120-127 block	LOCAL/EXPERIMENTAL USE
L
Linus Torvalds 已提交
2038 2039 2040 2041
		Allocated for local/experimental use.  For devices not
		assigned official numbers, these ranges should be
		used in order to avoid conflicting with future assignments.

2042
 128-135 char	Unix98 PTY masters
L
Linus Torvalds 已提交
2043 2044 2045 2046 2047

		These devices should not have corresponding device
		nodes; instead they should be accessed through the
		/dev/ptmx cloning interface.

2048 2049 2050 2051 2052 2053
 128 block       SCSI disk devices (128-143)
		   0 = /dev/sddy         129th SCSI disk whole disk
		  16 = /dev/sddz         130th SCSI disk whole disk
		  32 = /dev/sdea         131th SCSI disk whole disk
		    ...
		 240 = /dev/sden         144th SCSI disk whole disk
L
Linus Torvalds 已提交
2054 2055 2056 2057 2058

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2059 2060 2061 2062 2063 2064
 129 block       SCSI disk devices (144-159)
		   0 = /dev/sdeo         145th SCSI disk whole disk
		  16 = /dev/sdep         146th SCSI disk whole disk
		  32 = /dev/sdeq         147th SCSI disk whole disk
		    ...
		 240 = /dev/sdfd         160th SCSI disk whole disk
L
Linus Torvalds 已提交
2065 2066 2067 2068 2069

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2070
 130 char 	(Misc devices)
L
Linus Torvalds 已提交
2071

2072 2073 2074 2075 2076 2077
 130 block       SCSI disk devices (160-175)
		   0 = /dev/sdfe         161st SCSI disk whole disk
		  16 = /dev/sdff         162nd SCSI disk whole disk
		  32 = /dev/sdfg         163rd SCSI disk whole disk
		    ...
		 240 = /dev/sdft         176th SCSI disk whole disk
L
Linus Torvalds 已提交
2078 2079 2080 2081 2082

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2083 2084 2085 2086 2087 2088
 131 block       SCSI disk devices (176-191)
		   0 = /dev/sdfu         177th SCSI disk whole disk
		  16 = /dev/sdfv         178th SCSI disk whole disk
		  32 = /dev/sdfw         179th SCSI disk whole disk
		    ...
		 240 = /dev/sdgj         192nd SCSI disk whole disk
L
Linus Torvalds 已提交
2089 2090 2091 2092 2093

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2094 2095 2096 2097 2098 2099
 132 block       SCSI disk devices (192-207)
		   0 = /dev/sdgk         193rd SCSI disk whole disk
		  16 = /dev/sdgl         194th SCSI disk whole disk
		  32 = /dev/sdgm         195th SCSI disk whole disk
		    ...
		 240 = /dev/sdgz         208th SCSI disk whole disk
L
Linus Torvalds 已提交
2100 2101 2102 2103 2104

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2105 2106 2107 2108 2109 2110
 133 block       SCSI disk devices (208-223)
		   0 = /dev/sdha         209th SCSI disk whole disk
		  16 = /dev/sdhb         210th SCSI disk whole disk
		  32 = /dev/sdhc         211th SCSI disk whole disk
		    ...
		 240 = /dev/sdhp         224th SCSI disk whole disk
L
Linus Torvalds 已提交
2111 2112 2113 2114 2115

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2116 2117 2118 2119 2120 2121
 134 block       SCSI disk devices (224-239)
		   0 = /dev/sdhq         225th SCSI disk whole disk
		  16 = /dev/sdhr         226th SCSI disk whole disk
		  32 = /dev/sdhs         227th SCSI disk whole disk
		    ...
		 240 = /dev/sdif         240th SCSI disk whole disk
L
Linus Torvalds 已提交
2122 2123 2124 2125 2126

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2127 2128 2129 2130 2131 2132
 135 block       SCSI disk devices (240-255)
		   0 = /dev/sdig         241st SCSI disk whole disk
		  16 = /dev/sdih         242nd SCSI disk whole disk
		  32 = /dev/sdih         243rd SCSI disk whole disk
		    ...
		 240 = /dev/sdiv         256th SCSI disk whole disk
L
Linus Torvalds 已提交
2133 2134 2135 2136 2137

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2138
 136-143 char	Unix98 PTY slaves
L
Linus Torvalds 已提交
2139
		  0 = /dev/pts/0	First Unix98 pseudo-TTY
M
Matt LaPlante 已提交
2140
		  1 = /dev/pts/1	Second Unix98 pseudo-TTY
L
Linus Torvalds 已提交
2141 2142 2143 2144 2145 2146 2147 2148 2149
		    ...

		These device nodes are automatically generated with
		the proper permissions and modes by mounting the
		devpts filesystem onto /dev/pts with the appropriate
		mount options (distribution dependent, however, on
		*most* distributions the appropriate options are
		"mode=0620,gid=<gid of the "tty" group>".)

2150
 136 block	Mylex DAC960 PCI RAID controller; ninth controller
L
Linus Torvalds 已提交
2151 2152 2153 2154 2155 2156 2157
		  0 = /dev/rd/c8d0	First disk, whole disk
		  8 = /dev/rd/c8d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c8d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2158
 137 block	Mylex DAC960 PCI RAID controller; tenth controller
L
Linus Torvalds 已提交
2159 2160 2161 2162 2163 2164 2165
		  0 = /dev/rd/c9d0	First disk, whole disk
		  8 = /dev/rd/c9d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c9d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2166
 138 block	Mylex DAC960 PCI RAID controller; eleventh controller
L
Linus Torvalds 已提交
2167 2168 2169 2170 2171 2172 2173
		  0 = /dev/rd/c10d0	First disk, whole disk
		  8 = /dev/rd/c10d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c10d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2174
 139 block	Mylex DAC960 PCI RAID controller; twelfth controller
L
Linus Torvalds 已提交
2175 2176 2177 2178 2179 2180 2181
		  0 = /dev/rd/c11d0	First disk, whole disk
		  8 = /dev/rd/c11d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c11d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2182
 140 block	Mylex DAC960 PCI RAID controller; thirteenth controller
L
Linus Torvalds 已提交
2183 2184 2185 2186 2187 2188 2189
		  0 = /dev/rd/c12d0	First disk, whole disk
		  8 = /dev/rd/c12d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c12d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2190
 141 block	Mylex DAC960 PCI RAID controller; fourteenth controller
L
Linus Torvalds 已提交
2191 2192 2193 2194 2195 2196 2197
		  0 = /dev/rd/c13d0	First disk, whole disk
		  8 = /dev/rd/c13d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c13d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2198
 142 block	Mylex DAC960 PCI RAID controller; fifteenth controller
L
Linus Torvalds 已提交
2199 2200 2201 2202 2203 2204 2205
		  0 = /dev/rd/c14d0	First disk, whole disk
		  8 = /dev/rd/c14d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c14d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2206
 143 block	Mylex DAC960 PCI RAID controller; sixteenth controller
L
Linus Torvalds 已提交
2207 2208 2209 2210 2211 2212 2213
		  0 = /dev/rd/c15d0	First disk, whole disk
		  8 = /dev/rd/c15d1	Second disk, whole disk
		    ...
		248 = /dev/rd/c15d31	32nd disk, whole disk

		Partitions are handled as for major 48.

2214
 144 char	Encapsulated PPP
L
Linus Torvalds 已提交
2215 2216 2217 2218 2219 2220 2221 2222 2223
		  0 = /dev/pppox0	First PPP over Ethernet
		    ...
		 63 = /dev/pppox63	64th PPP over Ethernet

		This is primarily used for ADSL.

		The SST 5136-DN DeviceNet interface driver has been
		relocated to major 183 due to an unfortunate conflict.

2224
 144 block	Expansion Area #1 for more non-device (e.g. NFS) mounts
L
Linus Torvalds 已提交
2225 2226 2227
		  0 = mounted device 256
		255 = mounted device 511

2228
 145 char	SAM9407-based soundcard
L
Linus Torvalds 已提交
2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248
		  0 = /dev/sam0_mixer
		  1 = /dev/sam0_sequencer
		  2 = /dev/sam0_midi00
		  3 = /dev/sam0_dsp
		  4 = /dev/sam0_audio
		  6 = /dev/sam0_sndstat
		 18 = /dev/sam0_midi01
		 34 = /dev/sam0_midi02
		 50 = /dev/sam0_midi03
		 64 = /dev/sam1_mixer
		    ...
		128 = /dev/sam2_mixer
		    ...
		192 = /dev/sam3_mixer
		    ...

		Device functions match OSS, but offer a number of
		addons, which are sam9407 specific.  OSS can be
		operated simultaneously, taking care of the codec.

2249
 145 block	Expansion Area #2 for more non-device (e.g. NFS) mounts
L
Linus Torvalds 已提交
2250 2251 2252
		  0 = mounted device 512
		255 = mounted device 767

2253
 146 char	SYSTRAM SCRAMNet mirrored-memory network
L
Linus Torvalds 已提交
2254 2255 2256 2257
		  0 = /dev/scramnet0	First SCRAMNet device
		  1 = /dev/scramnet1	Second SCRAMNet device
		    ...

2258
 146 block	Expansion Area #3 for more non-device (e.g. NFS) mounts
L
Linus Torvalds 已提交
2259 2260 2261
		  0 = mounted device 768
		255 = mounted device 1023

2262
 147 char	Aureal Semiconductor Vortex Audio device
L
Linus Torvalds 已提交
2263 2264 2265 2266
		  0 = /dev/aureal0	First Aureal Vortex
		  1 = /dev/aureal1	Second Aureal Vortex
		    ...

2267
 147 block	Distributed Replicated Block Device (DRBD)
L
Linus Torvalds 已提交
2268 2269 2270 2271
		  0 = /dev/drbd0	First DRBD device
		  1 = /dev/drbd1	Second DRBD device
		    ...

2272
 148 char	Technology Concepts serial card
L
Linus Torvalds 已提交
2273 2274 2275 2276
		  0 = /dev/ttyT0	First TCL port
		  1 = /dev/ttyT1	Second TCL port
		    ...

2277
 149 char	Technology Concepts serial card - alternate devices
L
Linus Torvalds 已提交
2278 2279 2280 2281
		  0 = /dev/cut0		Callout device for ttyT0
		  1 = /dev/cut0		Callout device for ttyT1
		    ...

2282
 150 char	Real-Time Linux FIFOs
L
Linus Torvalds 已提交
2283 2284 2285 2286
		  0 = /dev/rtf0		First RTLinux FIFO
		  1 = /dev/rtf1		Second RTLinux FIFO
		    ...

2287
 151 char	DPT I2O SmartRaid V controller
L
Linus Torvalds 已提交
2288 2289 2290 2291
		  0 = /dev/dpti0	First DPT I2O adapter
		  1 = /dev/dpti1	Second DPT I2O adapter
		    ...

2292
 152 char	EtherDrive Control Device
L
Linus Torvalds 已提交
2293 2294 2295 2296
		  0 = /dev/etherd/ctl	Connect/Disconnect an EtherDrive
		  1 = /dev/etherd/err	Monitor errors
		  2 = /dev/etherd/raw	Raw AoE packet monitor

2297
 152 block	EtherDrive Block Devices
L
Linus Torvalds 已提交
2298 2299 2300 2301
		  0 = /dev/etherd/0	EtherDrive 0
		    ...
		255 = /dev/etherd/255	EtherDrive 255

2302
 153 char	SPI Bus Interface (sometimes referred to as MicroWire)
L
Linus Torvalds 已提交
2303 2304 2305 2306 2307
		  0 = /dev/spi0		First SPI device on the bus
		  1 = /dev/spi1		Second SPI device on the bus
		    ...
		 15 = /dev/spi15	Sixteenth SPI device on the bus

2308
 153 block	Enhanced Metadisk RAID (EMD) storage units
L
Linus Torvalds 已提交
2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323
		  0 = /dev/emd/0	First unit
		  1 = /dev/emd/0p1	Partition 1 on First unit
		  2 = /dev/emd/0p2	Partition 2 on First unit
		    ...
		 15 = /dev/emd/0p15	Partition 15 on First unit

		 16 = /dev/emd/1	Second unit
		 32 = /dev/emd/2	Third unit
		    ...
		240 = /dev/emd/15	Sixteenth unit

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.

2324
 154 char	Specialix RIO serial card
L
Linus Torvalds 已提交
2325 2326 2327 2328
		  0 = /dev/ttySR0	First RIO port
		    ...
		255 = /dev/ttySR255	256th RIO port

2329
 155 char	Specialix RIO serial card - alternate devices
L
Linus Torvalds 已提交
2330 2331 2332 2333
		  0 = /dev/cusr0	Callout device for ttySR0
		    ...
		255 = /dev/cusr255	Callout device for ttySR255

2334
 156 char	Specialix RIO serial card
L
Linus Torvalds 已提交
2335 2336 2337 2338
		  0 = /dev/ttySR256	257th RIO port
		    ...
		255 = /dev/ttySR511	512th RIO port

2339
 157 char	Specialix RIO serial card - alternate devices
L
Linus Torvalds 已提交
2340 2341 2342 2343
		  0 = /dev/cusr256	Callout device for ttySR256
		    ...
		255 = /dev/cusr511	Callout device for ttySR511

2344
 158 char	Dialogic GammaLink fax driver
L
Linus Torvalds 已提交
2345 2346 2347 2348
		  0 = /dev/gfax0	GammaLink channel 0
		  1 = /dev/gfax1	GammaLink channel 1
		    ...

2349
 159 char	RESERVED
2350

2351
 159 block	RESERVED
L
Linus Torvalds 已提交
2352

2353
 160 char	General Purpose Instrument Bus (GPIB)
L
Linus Torvalds 已提交
2354 2355 2356 2357
		  0 = /dev/gpib0	First GPIB bus
		  1 = /dev/gpib1	Second GPIB bus
		    ...

2358
 160 block       Carmel 8-port SATA Disks on First Controller
L
Linus Torvalds 已提交
2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372
		  0 = /dev/carmel/0     SATA disk 0 whole disk
		  1 = /dev/carmel/0p1   SATA disk 0 partition 1
		    ...
		 31 = /dev/carmel/0p31  SATA disk 0 partition 31

		 32 = /dev/carmel/1     SATA disk 1 whole disk
		 64 = /dev/carmel/2     SATA disk 2 whole disk
		    ...
		224 = /dev/carmel/7     SATA disk 7 whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 31.

2373
 161 char	IrCOMM devices (IrDA serial/parallel emulation)
L
Linus Torvalds 已提交
2374 2375 2376 2377 2378 2379 2380
		  0 = /dev/ircomm0	First IrCOMM device
		  1 = /dev/ircomm1	Second IrCOMM device
		    ...
		 16 = /dev/irlpt0	First IrLPT device
		 17 = /dev/irlpt1	Second IrLPT device
		    ...

2381
 161 block       Carmel 8-port SATA Disks on Second Controller
L
Linus Torvalds 已提交
2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393
		  0 = /dev/carmel/8     SATA disk 8 whole disk
		  1 = /dev/carmel/8p1   SATA disk 8 partition 1
		    ...
		 31 = /dev/carmel/8p31  SATA disk 8 partition 31

		 32 = /dev/carmel/9     SATA disk 9 whole disk
		 64 = /dev/carmel/10    SATA disk 10 whole disk
		    ...
		224 = /dev/carmel/15    SATA disk 15 whole disk

		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
2394
		partitions is 31.
L
Linus Torvalds 已提交
2395

2396
 162 char	Raw block device interface
L
Linus Torvalds 已提交
2397 2398 2399 2400
		  0 = /dev/rawctl	Raw I/O control device
		  1 = /dev/raw/raw1	First raw I/O device
		  2 = /dev/raw/raw2	Second raw I/O device
		    ...
2401 2402
		 max minor number of raw device is set by kernel config
		 MAX_RAW_DEVS or raw module parameter 'max_raw_devs'
L
Linus Torvalds 已提交
2403

2404
 163 char
L
Linus Torvalds 已提交
2405

2406
 164 char	Chase Research AT/PCI-Fast serial card
L
Linus Torvalds 已提交
2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419
		  0 = /dev/ttyCH0	AT/PCI-Fast board 0, port 0
		    ...
		 15 = /dev/ttyCH15	AT/PCI-Fast board 0, port 15
		 16 = /dev/ttyCH16	AT/PCI-Fast board 1, port 0
		    ...
		 31 = /dev/ttyCH31	AT/PCI-Fast board 1, port 15
		 32 = /dev/ttyCH32	AT/PCI-Fast board 2, port 0
		    ...
		 47 = /dev/ttyCH47	AT/PCI-Fast board 2, port 15
		 48 = /dev/ttyCH48	AT/PCI-Fast board 3, port 0
		    ...
		 63 = /dev/ttyCH63	AT/PCI-Fast board 3, port 15

2420
 165 char	Chase Research AT/PCI-Fast serial card - alternate devices
L
Linus Torvalds 已提交
2421 2422 2423 2424
		  0 = /dev/cuch0	Callout device for ttyCH0
		    ...
		 63 = /dev/cuch63	Callout device for ttyCH63

2425
 166 char	ACM USB modems
L
Linus Torvalds 已提交
2426 2427 2428 2429
		  0 = /dev/ttyACM0	First ACM modem
		  1 = /dev/ttyACM1	Second ACM modem
		    ...

2430
 167 char	ACM USB modems - alternate devices
L
Linus Torvalds 已提交
2431 2432 2433 2434
		  0 = /dev/cuacm0	Callout device for ttyACM0
		  1 = /dev/cuacm1	Callout device for ttyACM1
		    ...

2435
 168 char	Eracom CSA7000 PCI encryption adaptor
L
Linus Torvalds 已提交
2436 2437 2438 2439
		  0 = /dev/ecsa0	First CSA7000
		  1 = /dev/ecsa1	Second CSA7000
		    ...

2440
 169 char	Eracom CSA8000 PCI encryption adaptor
L
Linus Torvalds 已提交
2441 2442 2443 2444
		  0 = /dev/ecsa8-0	First CSA8000
		  1 = /dev/ecsa8-1	Second CSA8000
		    ...

2445
 170 char	AMI MegaRAC remote access controller
L
Linus Torvalds 已提交
2446 2447 2448 2449
		  0 = /dev/megarac0	First MegaRAC card
		  1 = /dev/megarac1	Second MegaRAC card
		    ...

2450
 171 char	Reserved for IEEE 1394 (Firewire)
L
Linus Torvalds 已提交
2451

2452
 172 char	Moxa Intellio serial card
L
Linus Torvalds 已提交
2453 2454 2455 2456 2457 2458
		  0 = /dev/ttyMX0	First Moxa port
		  1 = /dev/ttyMX1	Second Moxa port
		    ...
		127 = /dev/ttyMX127	128th Moxa port
		128 = /dev/moxactl	Moxa control port

2459
 173 char	Moxa Intellio serial card - alternate devices
L
Linus Torvalds 已提交
2460 2461 2462 2463 2464
		  0 = /dev/cumx0	Callout device for ttyMX0
		  1 = /dev/cumx1	Callout device for ttyMX1
		    ...
		127 = /dev/cumx127	Callout device for ttyMX127

2465
 174 char	SmartIO serial card
L
Linus Torvalds 已提交
2466 2467 2468 2469
		  0 = /dev/ttySI0	First SmartIO port
		  1 = /dev/ttySI1	Second SmartIO port
		    ...

2470
 175 char	SmartIO serial card - alternate devices
L
Linus Torvalds 已提交
2471 2472 2473 2474
		  0 = /dev/cusi0	Callout device for ttySI0
		  1 = /dev/cusi1	Callout device for ttySI1
		    ...

2475
 176 char	nCipher nFast PCI crypto accelerator
L
Linus Torvalds 已提交
2476 2477 2478 2479
		  0 = /dev/nfastpci0	First nFast PCI device
		  1 = /dev/nfastpci1	First nFast PCI device
		    ...

2480
 177 char	TI PCILynx memory spaces
L
Linus Torvalds 已提交
2481 2482 2483 2484 2485 2486 2487 2488 2489 2490
		  0 = /dev/pcilynx/aux0	 AUX space of first PCILynx card
		    ...
		 15 = /dev/pcilynx/aux15 AUX space of 16th PCILynx card
		 16 = /dev/pcilynx/rom0	 ROM space of first PCILynx card
		    ...
		 31 = /dev/pcilynx/rom15 ROM space of 16th PCILynx card
		 32 = /dev/pcilynx/ram0	 RAM space of first PCILynx card
		    ...
		 47 = /dev/pcilynx/ram15 RAM space of 16th PCILynx card

2491
 178 char	Giganet cLAN1xxx virtual interface adapter
L
Linus Torvalds 已提交
2492 2493 2494 2495
		  0 = /dev/clanvi0	First cLAN adapter
		  1 = /dev/clanvi1	Second cLAN adapter
		    ...

2496
 179 block       MMC block devices
2497 2498 2499 2500 2501
		  0 = /dev/mmcblk0      First SD/MMC card
		  1 = /dev/mmcblk0p1    First partition on first MMC card
		  8 = /dev/mmcblk1      Second SD/MMC card
		    ...

2502 2503 2504 2505 2506 2507
		The start of next SD/MMC card can be configured with
		CONFIG_MMC_BLOCK_MINORS, or overridden at boot/modprobe
		time using the mmcblk.perdev_minors option. That would
		bump the offset between each card to be the configured
		value instead of the default 8.

2508
 179 char	CCube DVXChip-based PCI products
L
Linus Torvalds 已提交
2509 2510 2511 2512
		  0 = /dev/dvxirq0	First DVX device
		  1 = /dev/dvxirq1	Second DVX device
		    ...

2513
 180 char	USB devices
L
Linus Torvalds 已提交
2514 2515 2516 2517 2518 2519 2520 2521 2522
		  0 = /dev/usb/lp0	First USB printer
		    ...
		 15 = /dev/usb/lp15	16th USB printer
		 48 = /dev/usb/scanner0	First USB scanner
		    ...
		 63 = /dev/usb/scanner15 16th USB scanner
		 64 = /dev/usb/rio500	Diamond Rio 500
		 65 = /dev/usb/usblcd	USBLCD Interface (info@usblcd.de)
		 66 = /dev/usb/cpad0	Synaptics cPad (mouse/LCD)
J
Jan Engelhardt 已提交
2523 2524 2525
		 96 = /dev/usb/hiddev0	1st USB HID device
		    ...
		111 = /dev/usb/hiddev15	16th USB HID device
2526 2527 2528
		112 = /dev/usb/auer0	1st auerswald ISDN device
		    ...
		127 = /dev/usb/auer15	16th auerswald ISDN device
J
Jan Engelhardt 已提交
2529 2530 2531 2532 2533 2534
		128 = /dev/usb/brlvgr0	First Braille Voyager device
		    ...
		131 = /dev/usb/brlvgr3	Fourth Braille Voyager device
		132 = /dev/usb/idmouse	ID Mouse (fingerprint scanner) device
		133 = /dev/usb/sisusbvga1	First SiSUSB VGA device
		    ...
2535
		140 = /dev/usb/sisusbvga8	Eighth SISUSB VGA device
J
Jan Engelhardt 已提交
2536 2537 2538 2539
		144 = /dev/usb/lcd	USB LCD device
		160 = /dev/usb/legousbtower0	1st USB Legotower device
		    ...
		175 = /dev/usb/legousbtower15	16th USB Legotower device
2540 2541
		176 = /dev/usb/usbtmc1	First USB TMC device
		   ...
2542 2543 2544 2545
		191 = /dev/usb/usbtmc16	16th USB TMC device
		192 = /dev/usb/yurex1	First USB Yurex device
		   ...
		209 = /dev/usb/yurex16	16th USB Yurex device
L
Linus Torvalds 已提交
2546

2547
 180 block	USB block devices
2548 2549 2550
		  0 = /dev/uba		First USB block device
		  8 = /dev/ubb		Second USB block device
		 16 = /dev/ubc		Third USB block device
2551
		    ...
L
Linus Torvalds 已提交
2552

2553
 181 char	Conrad Electronic parallel port radio clocks
L
Linus Torvalds 已提交
2554 2555 2556 2557
		  0 = /dev/pcfclock0	First Conrad radio clock
		  1 = /dev/pcfclock1	Second Conrad radio clock
		    ...

2558
 182 char	Picture Elements THR2 binarizer
L
Linus Torvalds 已提交
2559 2560 2561 2562
		  0 = /dev/pethr0	First THR2 board
		  1 = /dev/pethr1	Second THR2 board
		    ...

2563
 183 char	SST 5136-DN DeviceNet interface
L
Linus Torvalds 已提交
2564 2565 2566 2567 2568 2569 2570
		  0 = /dev/ss5136dn0	First DeviceNet interface
		  1 = /dev/ss5136dn1	Second DeviceNet interface
		    ...

		This device used to be assigned to major number 144.
		It had to be moved due to an unfortunate conflict.

2571
 184 char	Picture Elements' video simulator/sender
L
Linus Torvalds 已提交
2572 2573 2574 2575
		  0 = /dev/pevss0	First sender board
		  1 = /dev/pevss1	Second sender board
		    ...

2576
 185 char	InterMezzo high availability file system
L
Linus Torvalds 已提交
2577 2578 2579 2580
		  0 = /dev/intermezzo0	First cache manager
		  1 = /dev/intermezzo1	Second cache manager
		    ...

2581 2582
		See http://web.archive.org/web/20080115195241/
		http://inter-mezzo.org/index.html
L
Linus Torvalds 已提交
2583

2584
 186 char	Object-based storage control device
L
Linus Torvalds 已提交
2585 2586 2587 2588 2589 2590
		  0 = /dev/obd0		First obd control device
		  1 = /dev/obd1		Second obd control device
		    ...

		See ftp://ftp.lustre.org/pub/obd for code and information.

2591
 187 char	DESkey hardware encryption device
L
Linus Torvalds 已提交
2592 2593 2594 2595
		  0 = /dev/deskey0	First DES key
		  1 = /dev/deskey1	Second DES key
		    ...

2596
 188 char	USB serial converters
L
Linus Torvalds 已提交
2597 2598 2599 2600
		  0 = /dev/ttyUSB0	First USB serial converter
		  1 = /dev/ttyUSB1	Second USB serial converter
		    ...

2601
 189 char	USB serial converters - alternate devices
L
Linus Torvalds 已提交
2602 2603 2604 2605
		  0 = /dev/cuusb0	Callout device for ttyUSB0
		  1 = /dev/cuusb1	Callout device for ttyUSB1
		    ...

2606
 190 char	Kansas City tracker/tuner card
L
Linus Torvalds 已提交
2607 2608 2609 2610
		  0 = /dev/kctt0	First KCT/T card
		  1 = /dev/kctt1	Second KCT/T card
		    ...

2611
 191 char	Reserved for PCMCIA
L
Linus Torvalds 已提交
2612

2613
 192 char	Kernel profiling interface
L
Linus Torvalds 已提交
2614 2615 2616 2617 2618
		  0 = /dev/profile	Profiling control device
		  1 = /dev/profile0	Profiling device for CPU 0
		  2 = /dev/profile1	Profiling device for CPU 1
		    ...

2619
 193 char	Kernel event-tracing interface
L
Linus Torvalds 已提交
2620 2621 2622 2623 2624
		  0 = /dev/trace	Tracing control device
		  1 = /dev/trace0	Tracing device for CPU 0
		  2 = /dev/trace1	Tracing device for CPU 1
		    ...

2625
 194 char	linVideoStreams (LINVS)
L
Linus Torvalds 已提交
2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637
		  0 = /dev/mvideo/status0	Video compression status
		  1 = /dev/mvideo/stream0	Video stream
		  2 = /dev/mvideo/frame0	Single compressed frame
		  3 = /dev/mvideo/rawframe0	Raw uncompressed frame
		  4 = /dev/mvideo/codec0	Direct codec access
		  5 = /dev/mvideo/video4linux0	Video4Linux compatibility

		 16 = /dev/mvideo/status1	Second device
		    ...
		 32 = /dev/mvideo/status2	Third device
		    ...
		    ...
2638
		240 = /dev/mvideo/status15	16th device
L
Linus Torvalds 已提交
2639 2640
		    ...

2641
 195 char	Nvidia graphics devices
L
Linus Torvalds 已提交
2642 2643 2644 2645 2646
		  0 = /dev/nvidia0		First Nvidia card
		  1 = /dev/nvidia1		Second Nvidia card
		    ...
		255 = /dev/nvidiactl		Nvidia card control device

2647
 196 char	Tormenta T1 card
L
Linus Torvalds 已提交
2648 2649 2650 2651 2652 2653 2654 2655 2656
		  0 = /dev/tor/0		Master control channel for all cards
		  1 = /dev/tor/1		First DS0
		  2 = /dev/tor/2		Second DS0
		    ...
		 48 = /dev/tor/48		48th DS0
		 49 = /dev/tor/49		First pseudo-channel
		 50 = /dev/tor/50		Second pseudo-channel
		    ...

2657
 197 char	OpenTNF tracing facility
L
Linus Torvalds 已提交
2658 2659 2660 2661 2662 2663
		  0 = /dev/tnf/t0		Trace 0 data extraction
		  1 = /dev/tnf/t1		Trace 1 data extraction
		    ...
		128 = /dev/tnf/status		Tracing facility status
		130 = /dev/tnf/trace		Tracing device

2664
 198 char	Total Impact TPMP2 quad coprocessor PCI card
L
Linus Torvalds 已提交
2665 2666 2667 2668
		  0 = /dev/tpmp2/0		First card
		  1 = /dev/tpmp2/1		Second card
		    ...

2669
 199 char	Veritas volume manager (VxVM) volumes
L
Linus Torvalds 已提交
2670 2671 2672 2673
		  0 = /dev/vx/rdsk/*/*		First volume
		  1 = /dev/vx/rdsk/*/*		Second volume
		    ...

2674
 199 block	Veritas volume manager (VxVM) volumes
L
Linus Torvalds 已提交
2675 2676 2677 2678 2679 2680 2681
		  0 = /dev/vx/dsk/*/*		First volume
		  1 = /dev/vx/dsk/*/*		Second volume
		    ...

		The namespace in these directories is maintained by
		the user space VxVM software.

2682 2683 2684 2685 2686 2687 2688
 200 char	Veritas VxVM configuration interface
		   0 = /dev/vx/config		Configuration access node
		   1 = /dev/vx/trace		Volume i/o trace access node
		   2 = /dev/vx/iod		Volume i/o daemon access node
		   3 = /dev/vx/info		Volume information access node
		   4 = /dev/vx/task		Volume tasks access node
		   5 = /dev/vx/taskmon		Volume tasks monitor daemon
L
Linus Torvalds 已提交
2689

2690
 201 char	Veritas VxVM dynamic multipathing driver
L
Linus Torvalds 已提交
2691 2692 2693
		  0 = /dev/vx/rdmp/*		First multipath device
		  1 = /dev/vx/rdmp/*		Second multipath device
		    ...
2694
 201 block	Veritas VxVM dynamic multipathing driver
L
Linus Torvalds 已提交
2695 2696 2697 2698 2699 2700 2701
		  0 = /dev/vx/dmp/*		First multipath device
		  1 = /dev/vx/dmp/*		Second multipath device
		    ...

		The namespace in these directories is maintained by
		the user space VxVM software.

2702
 202 char	CPU model-specific registers
L
Linus Torvalds 已提交
2703 2704 2705 2706
		  0 = /dev/cpu/0/msr		MSRs on CPU 0
		  1 = /dev/cpu/1/msr		MSRs on CPU 1
		    ...

2707
 202 block	Xen Virtual Block Device
J
Jan Engelhardt 已提交
2708 2709 2710 2711 2712 2713
		  0 = /dev/xvda       First Xen VBD whole disk
		  16 = /dev/xvdb      Second Xen VBD whole disk
		  32 = /dev/xvdc      Third Xen VBD whole disk
		    ...
		  240 = /dev/xvdp     Sixteenth Xen VBD whole disk

2714 2715 2716
		Partitions are handled in the same way as for IDE
		disks (see major number 3) except that the limit on
		partitions is 15.
J
Jan Engelhardt 已提交
2717

2718
 203 char	CPU CPUID information
L
Linus Torvalds 已提交
2719 2720 2721 2722
		  0 = /dev/cpu/0/cpuid		CPUID on CPU 0
		  1 = /dev/cpu/1/cpuid		CPUID on CPU 1
		    ...

2723
 204 char	Low-density serial ports
L
Linus Torvalds 已提交
2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754
		  0 = /dev/ttyLU0		LinkUp Systems L72xx UART - port 0
		  1 = /dev/ttyLU1		LinkUp Systems L72xx UART - port 1
		  2 = /dev/ttyLU2		LinkUp Systems L72xx UART - port 2
		  3 = /dev/ttyLU3		LinkUp Systems L72xx UART - port 3
		  4 = /dev/ttyFB0		Intel Footbridge (ARM)
		  5 = /dev/ttySA0		StrongARM builtin serial port 0
		  6 = /dev/ttySA1		StrongARM builtin serial port 1
		  7 = /dev/ttySA2		StrongARM builtin serial port 2
		  8 = /dev/ttySC0		SCI serial port (SuperH) - port 0
		  9 = /dev/ttySC1		SCI serial port (SuperH) - port 1
		 10 = /dev/ttySC2		SCI serial port (SuperH) - port 2
		 11 = /dev/ttySC3		SCI serial port (SuperH) - port 3
		 12 = /dev/ttyFW0		Firmware console - port 0
		 13 = /dev/ttyFW1		Firmware console - port 1
		 14 = /dev/ttyFW2		Firmware console - port 2
		 15 = /dev/ttyFW3		Firmware console - port 3
		 16 = /dev/ttyAM0		ARM "AMBA" serial port 0
		    ...
		 31 = /dev/ttyAM15		ARM "AMBA" serial port 15
		 32 = /dev/ttyDB0		DataBooster serial port 0
		    ...
		 39 = /dev/ttyDB7		DataBooster serial port 7
		 40 = /dev/ttySG0		SGI Altix console port
		 41 = /dev/ttySMX0		Motorola i.MX - port 0
		 42 = /dev/ttySMX1		Motorola i.MX - port 1
		 43 = /dev/ttySMX2		Motorola i.MX - port 2
		 44 = /dev/ttyMM0		Marvell MPSC - port 0
		 45 = /dev/ttyMM1		Marvell MPSC - port 1
		 46 = /dev/ttyCPM0		PPC CPM (SCC or SMC) - port 0
		    ...
		 47 = /dev/ttyCPM5		PPC CPM (SCC or SMC) - port 5
J
Jan Engelhardt 已提交
2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769
		 50 = /dev/ttyIOC0		Altix serial card
		    ...
		 81 = /dev/ttyIOC31		Altix serial card
		 82 = /dev/ttyVR0		NEC VR4100 series SIU
		 83 = /dev/ttyVR1		NEC VR4100 series DSIU
		 84 = /dev/ttyIOC84		Altix ioc4 serial card
		    ...
		 115 = /dev/ttyIOC115		Altix ioc4 serial card
		 116 = /dev/ttySIOC0		Altix ioc3 serial card
		    ...
		 147 = /dev/ttySIOC31		Altix ioc3 serial card
		 148 = /dev/ttyPSC0		PPC PSC - port 0
		    ...
		 153 = /dev/ttyPSC5		PPC PSC - port 5
		 154 = /dev/ttyAT0		ATMEL serial port 0
L
Linus Torvalds 已提交
2770
		    ...
J
Jan Engelhardt 已提交
2771 2772 2773 2774
		 169 = /dev/ttyAT15		ATMEL serial port 15
		 170 = /dev/ttyNX0		Hilscher netX serial port 0
		    ...
		 185 = /dev/ttyNX15		Hilscher netX serial port 15
J
Jan Engelhardt 已提交
2775
		 186 = /dev/ttyJ0		JTAG1 DCC protocol based serial port emulation
2776 2777 2778 2779
		 187 = /dev/ttyUL0		Xilinx uartlite - port 0
		    ...
		 190 = /dev/ttyUL3		Xilinx uartlite - port 3
		 191 = /dev/xvc0		Xen virtual console - port 0
2780 2781 2782 2783 2784 2785 2786 2787 2788 2789
		 192 = /dev/ttyPZ0		pmac_zilog - port 0
		    ...
		 195 = /dev/ttyPZ3		pmac_zilog - port 3
		 196 = /dev/ttyTX0		TX39/49 serial port 0
		    ...
		 204 = /dev/ttyTX7		TX39/49 serial port 7
		 205 = /dev/ttySC0		SC26xx serial port 0
		 206 = /dev/ttySC1		SC26xx serial port 1
		 207 = /dev/ttySC2		SC26xx serial port 2
		 208 = /dev/ttySC3		SC26xx serial port 3
2790 2791 2792 2793
		 209 = /dev/ttyMAX0		MAX3100 serial port 0
		 210 = /dev/ttyMAX1		MAX3100 serial port 1
		 211 = /dev/ttyMAX2		MAX3100 serial port 2
		 212 = /dev/ttyMAX3		MAX3100 serial port 3
L
Linus Torvalds 已提交
2794

2795
 205 char	Low-density serial ports (alternate device)
L
Linus Torvalds 已提交
2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827
		  0 = /dev/culu0		Callout device for ttyLU0
		  1 = /dev/culu1		Callout device for ttyLU1
		  2 = /dev/culu2		Callout device for ttyLU2
		  3 = /dev/culu3		Callout device for ttyLU3
		  4 = /dev/cufb0		Callout device for ttyFB0
		  5 = /dev/cusa0		Callout device for ttySA0
		  6 = /dev/cusa1		Callout device for ttySA1
		  7 = /dev/cusa2		Callout device for ttySA2
		  8 = /dev/cusc0		Callout device for ttySC0
		  9 = /dev/cusc1		Callout device for ttySC1
		 10 = /dev/cusc2		Callout device for ttySC2
		 11 = /dev/cusc3		Callout device for ttySC3
		 12 = /dev/cufw0		Callout device for ttyFW0
		 13 = /dev/cufw1		Callout device for ttyFW1
		 14 = /dev/cufw2		Callout device for ttyFW2
		 15 = /dev/cufw3		Callout device for ttyFW3
		 16 = /dev/cuam0		Callout device for ttyAM0
		    ...
		 31 = /dev/cuam15		Callout device for ttyAM15
		 32 = /dev/cudb0		Callout device for ttyDB0
		    ...
		 39 = /dev/cudb7		Callout device for ttyDB7
		 40 = /dev/cusg0		Callout device for ttySG0
		 41 = /dev/ttycusmx0		Callout device for ttySMX0
		 42 = /dev/ttycusmx1		Callout device for ttySMX1
		 43 = /dev/ttycusmx2		Callout device for ttySMX2
		 46 = /dev/cucpm0		Callout device for ttyCPM0
		    ...
		 49 = /dev/cucpm5		Callout device for ttyCPM5
		 50 = /dev/cuioc40		Callout device for ttyIOC40
		    ...
		 81 = /dev/cuioc431		Callout device for ttyIOC431
J
Jan Engelhardt 已提交
2828 2829
		 82 = /dev/cuvr0		Callout device for ttyVR0
		 83 = /dev/cuvr1		Callout device for ttyVR1
L
Linus Torvalds 已提交
2830

2831
 206 char	OnStream SC-x0 tape devices
L
Linus Torvalds 已提交
2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864
		  0 = /dev/osst0		First OnStream SCSI tape, mode 0
		  1 = /dev/osst1		Second OnStream SCSI tape, mode 0
		    ...
		 32 = /dev/osst0l		First OnStream SCSI tape, mode 1
		 33 = /dev/osst1l		Second OnStream SCSI tape, mode 1
		    ...
		 64 = /dev/osst0m		First OnStream SCSI tape, mode 2
		 65 = /dev/osst1m		Second OnStream SCSI tape, mode 2
		    ...
		 96 = /dev/osst0a		First OnStream SCSI tape, mode 3
		 97 = /dev/osst1a		Second OnStream SCSI tape, mode 3
		    ...
		128 = /dev/nosst0		No rewind version of /dev/osst0
		129 = /dev/nosst1		No rewind version of /dev/osst1
		    ...
		160 = /dev/nosst0l		No rewind version of /dev/osst0l
		161 = /dev/nosst1l		No rewind version of /dev/osst1l
		    ...
		192 = /dev/nosst0m		No rewind version of /dev/osst0m
		193 = /dev/nosst1m		No rewind version of /dev/osst1m
		    ...
		224 = /dev/nosst0a		No rewind version of /dev/osst0a
		225 = /dev/nosst1a		No rewind version of /dev/osst1a
		    ...

		The OnStream SC-x0 SCSI tapes do not support the
		standard SCSI SASD command set and therefore need
		their own driver "osst". Note that the IDE, USB (and
		maybe ParPort) versions may be driven via ide-scsi or
		usb-storage SCSI emulation and this osst device and
		driver as well.  The ADR-x0 drives are QIC-157
		compliant and don't need osst.

2865
 207 char	Compaq ProLiant health feature indicate
L
Linus Torvalds 已提交
2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878
		  0 = /dev/cpqhealth/cpqw	Redirector interface
		  1 = /dev/cpqhealth/crom	EISA CROM
		  2 = /dev/cpqhealth/cdt	Data Table
		  3 = /dev/cpqhealth/cevt	Event Log
		  4 = /dev/cpqhealth/casr	Automatic Server Recovery
		  5 = /dev/cpqhealth/cecc	ECC Memory
		  6 = /dev/cpqhealth/cmca	Machine Check Architecture
		  7 = /dev/cpqhealth/ccsm	Deprecated CDT
		  8 = /dev/cpqhealth/cnmi	NMI Handling
		  9 = /dev/cpqhealth/css	Sideshow Management
		 10 = /dev/cpqhealth/cram	CMOS interface
		 11 = /dev/cpqhealth/cpci	PCI IRQ interface

2879
 208 char	User space serial ports
L
Linus Torvalds 已提交
2880 2881 2882 2883
		  0 = /dev/ttyU0		First user space serial port
		  1 = /dev/ttyU1		Second user space serial port
		    ...

2884
 209 char	User space serial ports (alternate devices)
L
Linus Torvalds 已提交
2885 2886 2887 2888
		  0 = /dev/cuu0			Callout device for ttyU0
		  1 = /dev/cuu1			Callout device for ttyU1
		    ...

2889
 210 char	SBE, Inc. sync/async serial card
L
Linus Torvalds 已提交
2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913
		  0 = /dev/sbei/wxcfg0		Configuration device for board 0
		  1 = /dev/sbei/dld0		Download device for board 0
		  2 = /dev/sbei/wan00		WAN device, port 0, board 0
		  3 = /dev/sbei/wan01		WAN device, port 1, board 0
		  4 = /dev/sbei/wan02		WAN device, port 2, board 0
		  5 = /dev/sbei/wan03		WAN device, port 3, board 0
		  6 = /dev/sbei/wanc00		WAN clone device, port 0, board 0
		  7 = /dev/sbei/wanc01		WAN clone device, port 1, board 0
		  8 = /dev/sbei/wanc02		WAN clone device, port 2, board 0
		  9 = /dev/sbei/wanc03		WAN clone device, port 3, board 0
		 10 = /dev/sbei/wxcfg1		Configuration device for board 1
		 11 = /dev/sbei/dld1		Download device for board 1
		 12 = /dev/sbei/wan10		WAN device, port 0, board 1
		 13 = /dev/sbei/wan11		WAN device, port 1, board 1
		 14 = /dev/sbei/wan12		WAN device, port 2, board 1
		 15 = /dev/sbei/wan13		WAN device, port 3, board 1
		 16 = /dev/sbei/wanc10		WAN clone device, port 0, board 1
		 17 = /dev/sbei/wanc11		WAN clone device, port 1, board 1
		 18 = /dev/sbei/wanc12		WAN clone device, port 2, board 1
		 19 = /dev/sbei/wanc13		WAN clone device, port 3, board 1
		    ...

		Yes, each board is really spaced 10 (decimal) apart.

2914
 211 char	Addinum CPCI1500 digital I/O card
L
Linus Torvalds 已提交
2915 2916 2917 2918
		  0 = /dev/addinum/cpci1500/0	First CPCI1500 card
		  1 = /dev/addinum/cpci1500/1	Second CPCI1500 card
		    ...

2919
 212 char	LinuxTV.org DVB driver subsystem
L
Linus Torvalds 已提交
2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936
		  0 = /dev/dvb/adapter0/video0    first video decoder of first card
		  1 = /dev/dvb/adapter0/audio0    first audio decoder of first card
		  2 = /dev/dvb/adapter0/sec0      (obsolete/unused)
		  3 = /dev/dvb/adapter0/frontend0 first frontend device of first card
		  4 = /dev/dvb/adapter0/demux0    first demux device of first card
		  5 = /dev/dvb/adapter0/dvr0      first digital video recoder device of first card
		  6 = /dev/dvb/adapter0/ca0       first common access port of first card
		  7 = /dev/dvb/adapter0/net0      first network device of first card
		  8 = /dev/dvb/adapter0/osd0      first on-screen-display device of first card
		  9 = /dev/dvb/adapter0/video1    second video decoder of first card
		    ...
		 64 = /dev/dvb/adapter1/video0    first video decoder of second card
		    ...
		128 = /dev/dvb/adapter2/video0    first video decoder of third card
		    ...
		196 = /dev/dvb/adapter3/video0    first video decoder of fourth card

2937
 216 char	Bluetooth RFCOMM TTY devices
2938 2939
		  0 = /dev/rfcomm0		First Bluetooth RFCOMM TTY device
		  1 = /dev/rfcomm1		Second Bluetooth RFCOMM TTY device
L
Linus Torvalds 已提交
2940 2941
		    ...

2942
 217 char	Bluetooth RFCOMM TTY devices (alternate devices)
2943 2944
		  0 = /dev/curf0		Callout device for rfcomm0
		  1 = /dev/curf1		Callout device for rfcomm1
L
Linus Torvalds 已提交
2945 2946
		    ...

2947
 218 char	The Logical Company bus Unibus/Qbus adapters
L
Linus Torvalds 已提交
2948 2949 2950 2951
		  0 = /dev/logicalco/bci/0	First bus adapter
		  1 = /dev/logicalco/bci/1	First bus adapter
		    ...

2952
 219 char	The Logical Company DCI-1300 digital I/O card
L
Linus Torvalds 已提交
2953 2954 2955 2956
		  0 = /dev/logicalco/dci1300/0	First DCI-1300 card
		  1 = /dev/logicalco/dci1300/1	Second DCI-1300 card
		    ...

2957
 220 char	Myricom Myrinet "GM" board
L
Linus Torvalds 已提交
2958 2959 2960 2961 2962 2963
		  0 = /dev/myricom/gm0		First Myrinet GM board
		  1 = /dev/myricom/gmp0		First board "root access"
		  2 = /dev/myricom/gm1		Second Myrinet GM board
		  3 = /dev/myricom/gmp1		Second board "root access"
		    ...

2964
 221 char	VME bus
L
Linus Torvalds 已提交
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978
		  0 = /dev/bus/vme/m0		First master image
		  1 = /dev/bus/vme/m1		Second master image
		  2 = /dev/bus/vme/m2		Third master image
		  3 = /dev/bus/vme/m3		Fourth master image
		  4 = /dev/bus/vme/s0		First slave image
		  5 = /dev/bus/vme/s1		Second slave image
		  6 = /dev/bus/vme/s2		Third slave image
		  7 = /dev/bus/vme/s3		Fourth slave image
		  8 = /dev/bus/vme/ctl		Control

		It is expected that all VME bus drivers will use the
		same interface.  For interface documentation see
		http://www.vmelinux.org/.

2979
 224 char	A2232 serial card
L
Linus Torvalds 已提交
2980 2981 2982 2983
		  0 = /dev/ttyY0		First A2232 port
		  1 = /dev/ttyY1		Second A2232 port
		    ...

2984
 225 char	A2232 serial card (alternate devices)
L
Linus Torvalds 已提交
2985 2986 2987 2988
		  0 = /dev/cuy0			Callout device for ttyY0
		  1 = /dev/cuy1			Callout device for ttyY1
		    ...

2989
 226 char	Direct Rendering Infrastructure (DRI)
L
Linus Torvalds 已提交
2990 2991 2992 2993
		  0 = /dev/dri/card0		First graphics card
		  1 = /dev/dri/card1		Second graphics card
		    ...

2994
 227 char	IBM 3270 terminal Unix tty access
L
Linus Torvalds 已提交
2995 2996 2997 2998
		  1 = /dev/3270/tty1		First 3270 terminal
		  2 = /dev/3270/tty2		Seconds 3270 terminal
		    ...

2999
 228 char	IBM 3270 terminal block-mode access
L
Linus Torvalds 已提交
3000 3001 3002 3003 3004
		  0 = /dev/3270/tub		Controlling interface
		  1 = /dev/3270/tub1		First 3270 terminal
		  2 = /dev/3270/tub2		Second 3270 terminal
		    ...

3005
 229 char	IBM iSeries/pSeries virtual console
3006 3007
		  0 = /dev/hvc0			First console port
		  1 = /dev/hvc1			Second console port
L
Linus Torvalds 已提交
3008 3009
		    ...

3010
 230 char	IBM iSeries virtual tape
L
Linus Torvalds 已提交
3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040
		  0 = /dev/iseries/vt0		First virtual tape, mode 0
		  1 = /dev/iseries/vt1		Second virtual tape, mode 0
		    ...
		 32 = /dev/iseries/vt0l		First virtual tape, mode 1
		 33 = /dev/iseries/vt1l		Second virtual tape, mode 1
		    ...
		 64 = /dev/iseries/vt0m		First virtual tape, mode 2
		 65 = /dev/iseries/vt1m		Second virtual tape, mode 2
		    ...
		 96 = /dev/iseries/vt0a		First virtual tape, mode 3
		 97 = /dev/iseries/vt1a		Second virtual tape, mode 3
		      ...
		128 = /dev/iseries/nvt0		First virtual tape, mode 0, no rewind
		129 = /dev/iseries/nvt1		Second virtual tape, mode 0, no rewind
		    ...
		160 = /dev/iseries/nvt0l	First virtual tape, mode 1, no rewind
		161 = /dev/iseries/nvt1l	Second virtual tape, mode 1, no rewind
		    ...
		192 = /dev/iseries/nvt0m	First virtual tape, mode 2, no rewind
		193 = /dev/iseries/nvt1m	Second virtual tape, mode 2, no rewind
		    ...
		224 = /dev/iseries/nvt0a	First virtual tape, mode 3, no rewind
		225 = /dev/iseries/nvt1a	Second virtual tape, mode 3, no rewind
		    ...

		"No rewind" refers to the omission of the default
		automatic rewind on device close.  The MTREW or MTOFFL
		ioctl()'s can be used to rewind the tape regardless of
		the device used to access it.

3041
 231 char	InfiniBand
L
Linus Torvalds 已提交
3042 3043
		0 = /dev/infiniband/umad0
		1 = /dev/infiniband/umad1
J
Jan Engelhardt 已提交
3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054
		  ...
		63 = /dev/infiniband/umad63    63rd InfiniBandMad device
		64 = /dev/infiniband/issm0     First InfiniBand IsSM device
		65 = /dev/infiniband/issm1     Second InfiniBand IsSM device
		  ...
		127 = /dev/infiniband/issm63    63rd InfiniBand IsSM device
		128 = /dev/infiniband/uverbs0   First InfiniBand verbs device
		129 = /dev/infiniband/uverbs1   Second InfiniBand verbs device
		  ...
		159 = /dev/infiniband/uverbs31  31st InfiniBand verbs device

3055
 232 char	Biometric Devices
J
Jan Engelhardt 已提交
3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066
		0 = /dev/biometric/sensor0/fingerprint	first fingerprint sensor on first device
		1 = /dev/biometric/sensor0/iris		first iris sensor on first device
		2 = /dev/biometric/sensor0/retina	first retina sensor on first device
		3 = /dev/biometric/sensor0/voiceprint	first voiceprint sensor on first device
		4 = /dev/biometric/sensor0/facial	first facial sensor on first device
		5 = /dev/biometric/sensor0/hand		first hand sensor on first device
		  ...
		10 = /dev/biometric/sensor1/fingerprint	first fingerprint sensor on second device
		  ...
		20 = /dev/biometric/sensor2/fingerprint	first fingerprint sensor on third device
		  ...
L
Linus Torvalds 已提交
3067

3068
 233 char	PathScale InfiniPath interconnect
J
Jan Engelhardt 已提交
3069 3070 3071 3072 3073 3074 3075 3076
		0 = /dev/ipath        Primary device for programs (any unit)
		1 = /dev/ipath0       Access specifically to unit 0
		2 = /dev/ipath1       Access specifically to unit 1
		  ...
		4 = /dev/ipath3       Access specifically to unit 3
		129 = /dev/ipath_sma    Device used by Subnet Management Agent
		130 = /dev/ipath_diag   Device used by diagnostics programs

3077
 234-254	char	RESERVED FOR DYNAMIC ASSIGNMENT
3078 3079
		Character devices that request a dynamic allocation of major number will
		take numbers starting from 254 and downward.
3080

3081
 240-254 block	LOCAL/EXPERIMENTAL USE
L
Linus Torvalds 已提交
3082 3083 3084 3085
		Allocated for local/experimental use.  For devices not
		assigned official numbers, these ranges should be
		used in order to avoid conflicting with future assignments.

3086
 255 char	RESERVED
3087

3088
 255 block	RESERVED
L
Linus Torvalds 已提交
3089 3090 3091 3092

		This major is reserved to assist the expansion to a
		larger number space.  No device nodes with this major
		should ever be created on the filesystem.
3093
		(This is probably not true anymore, but I'll leave it
J
Jan Engelhardt 已提交
3094 3095
		for now /Torben)

3096
 ---LARGE MAJORS!!!!!---
J
Jan Engelhardt 已提交
3097

3098
 256 char	Equinox SST multi-port serial boards
J
Jan Engelhardt 已提交
3099 3100 3101 3102 3103 3104
		   0 = /dev/ttyEQ0	First serial port on first Equinox SST board
		 127 = /dev/ttyEQ127	Last serial port on first Equinox SST board
		 128 = /dev/ttyEQ128	First serial port on second Equinox SST board
		  ...
		1027 = /dev/ttyEQ1027	Last serial port on eighth Equinox SST board

3105
 256 block	Resident Flash Disk Flash Translation Layer
J
Jan Engelhardt 已提交
3106 3107 3108 3109 3110
		  0 = /dev/rfda		First RFD FTL layer
		 16 = /dev/rfdb		Second RFD FTL layer
		  ...
		240 = /dev/rfdp		16th RFD FTL layer

3111
 257 char	Phoenix Technologies Cryptographic Services Driver
J
Jan Engelhardt 已提交
3112 3113
		  0 = /dev/ptlsec	Crypto Services Driver

3114
 257 block	SSFDC Flash Translation Layer filesystem
3115 3116 3117 3118 3119 3120 3121 3122 3123
		  0 = /dev/ssfdca	First SSFDC layer
		  8 = /dev/ssfdcb	Second SSFDC layer
		 16 = /dev/ssfdcc	Third SSFDC layer
		 24 = /dev/ssfdcd	4th SSFDC layer
		 32 = /dev/ssfdce	5th SSFDC layer
		 40 = /dev/ssfdcf	6th SSFDC layer
		 48 = /dev/ssfdcg	7th SSFDC layer
		 56 = /dev/ssfdch	8th SSFDC layer

3124
 258 block	ROM/Flash read-only translation layer
3125 3126 3127
		  0 = /dev/blockrom0	First ROM card's translation layer interface
		  1 = /dev/blockrom1	Second ROM card's translation layer interface
		  ...
L
Linus Torvalds 已提交
3128

3129
 259 block	Block Extended Major
3130 3131 3132
		  Used dynamically to hold additional partition minor
		  numbers and allow large numbers of partitions per device

3133
 259 char	FPGA configuration interfaces
3134 3135 3136
		  0 = /dev/icap0	First Xilinx internal configuration
		  1 = /dev/icap1	Second Xilinx internal configuration

3137
 260 char	OSD (Object-based-device) SCSI Device
3138 3139 3140 3141 3142
		  0 = /dev/osd0		First OSD Device
		  1 = /dev/osd1		Second OSD Device
		  ...
		  255 = /dev/osd255	256th OSD Device

3143 3144 3145

Additional ``/dev/`` directory entries
--------------------------------------
L
Linus Torvalds 已提交
3146 3147 3148 3149 3150 3151 3152

This section details additional entries that should or may exist in
the /dev directory.  It is preferred that symbolic links use the same
form (absolute or relative) as is indicated here.  Links are
classified as "hard" or "symbolic" depending on the preferred type of
link; if possible, the indicated type of link should be used.

3153 3154
Compulsory links
++++++++++++++++
L
Linus Torvalds 已提交
3155 3156 3157

These links should exist on all systems:

3158
=============== =============== =============== ===============================
L
Linus Torvalds 已提交
3159 3160 3161 3162 3163 3164
/dev/fd		/proc/self/fd	symbolic	File descriptors
/dev/stdin	fd/0		symbolic	stdin file descriptor
/dev/stdout	fd/1		symbolic	stdout file descriptor
/dev/stderr	fd/2		symbolic	stderr file descriptor
/dev/nfsd	socksys		symbolic	Required by iBCS-2
/dev/X0R	null		symbolic	Required by iBCS-2
3165
=============== =============== =============== ===============================
L
Linus Torvalds 已提交
3166

3167
Note: ``/dev/X0R`` is <letter X>-<digit 0>-<letter R>.
L
Linus Torvalds 已提交
3168

3169 3170
Recommended links
+++++++++++++++++
L
Linus Torvalds 已提交
3171 3172 3173

It is recommended that these links exist on all systems:

3174 3175

=============== =============== =============== ===============================
L
Linus Torvalds 已提交
3176 3177 3178 3179 3180 3181 3182
/dev/core	/proc/kcore	symbolic	Backward compatibility
/dev/ramdisk	ram0		symbolic	Backward compatibility
/dev/ftape	qft0		symbolic	Backward compatibility
/dev/bttv0	video0		symbolic	Backward compatibility
/dev/radio	radio0		symbolic	Backward compatibility
/dev/i2o*	/dev/i2o/*	symbolic	Backward compatibility
/dev/scd?	sr?		hard		Alternate SCSI CD-ROM name
3183
=============== =============== =============== ===============================
L
Linus Torvalds 已提交
3184

3185 3186
Locally defined links
+++++++++++++++++++++
L
Linus Torvalds 已提交
3187 3188 3189 3190 3191 3192

The following links may be established locally to conform to the
configuration of the system.  This is merely a tabulation of existing
practice, and does not constitute a recommendation.  However, if they
exist, they should have the following uses.

3193
=============== =============== =============== ===============================
L
Linus Torvalds 已提交
3194 3195 3196 3197 3198 3199 3200 3201
/dev/mouse	mouse port	symbolic	Current mouse device
/dev/tape	tape device	symbolic	Current tape device
/dev/cdrom	CD-ROM device	symbolic	Current CD-ROM device
/dev/cdwriter	CD-writer	symbolic	Current CD-writer device
/dev/scanner	scanner		symbolic	Current scanner device
/dev/modem	modem port	symbolic	Current dialout device
/dev/root	root device	symbolic	Current root filesystem
/dev/swap	swap device	symbolic	Current swap device
3202
=============== =============== =============== ===============================
L
Linus Torvalds 已提交
3203

3204
``/dev/modem`` should not be used for a modem which supports dialin as
L
Linus Torvalds 已提交
3205
well as dialout, as it tends to cause lock file problems.  If it
3206
exists, ``/dev/modem`` should point to the appropriate primary TTY device
L
Linus Torvalds 已提交
3207 3208
(the use of the alternate callout devices is deprecated).

3209 3210 3211
For SCSI devices, ``/dev/tape`` and ``/dev/cdrom`` should point to the
*cooked* devices (``/dev/st*`` and ``/dev/sr*``, respectively), whereas
``/dev/cdwriter`` and /dev/scanner should point to the appropriate generic
L
Linus Torvalds 已提交
3212 3213
SCSI devices (/dev/sg*).

3214 3215
``/dev/mouse`` may point to a primary serial TTY device, a hardware mouse
device, or a socket for a mouse driver program (e.g. ``/dev/gpmdata``).
L
Linus Torvalds 已提交
3216

3217 3218
Sockets and pipes
+++++++++++++++++
L
Linus Torvalds 已提交
3219 3220 3221

Non-transient sockets and named pipes may exist in /dev.  Common entries are:

3222
=============== =============== ===============================================
L
Linus Torvalds 已提交
3223 3224 3225
/dev/printer	socket		lpd local socket
/dev/log	socket		syslog local socket
/dev/gpmdata	socket		gpm mouse multiplexer
3226
=============== =============== ===============================================
L
Linus Torvalds 已提交
3227

3228 3229
Mount points
++++++++++++
L
Linus Torvalds 已提交
3230 3231 3232 3233 3234

The following names are reserved for mounting special filesystems
under /dev.  These special filesystems provide kernel interfaces that
cannot be provided with standard device nodes.

3235
=============== =============== ===============================================
L
Linus Torvalds 已提交
3236 3237
/dev/pts	devpts		PTY slave filesystem
/dev/shm	tmpfs		POSIX shared memory maintenance access
3238
=============== =============== ===============================================
L
Linus Torvalds 已提交
3239

3240 3241
Terminal devices
----------------
L
Linus Torvalds 已提交
3242 3243 3244 3245 3246 3247 3248

Terminal, or TTY devices are a special class of character devices.  A
terminal device is any device that could act as a controlling terminal
for a session; this includes virtual consoles, serial ports, and
pseudoterminals (PTYs).

All terminal devices share a common set of capabilities known as line
3249
disciplines; these include the common terminal line discipline as well
L
Linus Torvalds 已提交
3250 3251 3252 3253 3254 3255 3256 3257
as SLIP and PPP modes.

All terminal devices are named similarly; this section explains the
naming and use of the various types of TTYs.  Note that the naming
conventions include several historical warts; some of these are
Linux-specific, some were inherited from other systems, and some
reflect Linux outgrowing a borrowed convention.

3258
A hash mark (``#``) in a device name is used here to indicate a decimal
L
Linus Torvalds 已提交
3259 3260
number without leading zeroes.

3261 3262
Virtual consoles and the console device
+++++++++++++++++++++++++++++++++++++++
L
Linus Torvalds 已提交
3263 3264

Virtual consoles are full-screen terminal displays on the system video
3265 3266 3267
monitor.  Virtual consoles are named ``/dev/tty#``, with numbering
starting at ``/dev/tty1``; ``/dev/tty0`` is the current virtual console.
``/dev/tty0`` is the device that should be used to access the system video
L
Linus Torvalds 已提交
3268
card on those architectures for which the frame buffer devices
3269
(``/dev/fb*``) are not applicable. Do not use ``/dev/console``
L
Linus Torvalds 已提交
3270 3271
for this purpose.

3272
The console device, ``/dev/console``, is the device to which system
L
Linus Torvalds 已提交
3273
messages should be sent, and on which logins should be permitted in
3274
single-user mode.  Starting with Linux 2.1.71, ``/dev/console`` is managed
L
Linus Torvalds 已提交
3275
by the kernel; for previous versions it should be a symbolic link to
3276 3277
either ``/dev/tty0``, a specific virtual console such as ``/dev/tty1``, or to
a serial port primary (``tty*``, not ``cu*``) device, depending on the
L
Linus Torvalds 已提交
3278 3279
configuration of the system.

3280 3281
Serial ports
++++++++++++
L
Linus Torvalds 已提交
3282 3283 3284 3285 3286 3287

Serial ports are RS-232 serial ports and any device which simulates
one, either in hardware (such as internal modems) or in software (such
as the ISDN driver.)  Under Linux, each serial ports has two device
names, the primary or callin device and the alternate or callout one.
Each kind of device is indicated by a different letter.	 For any
3288 3289 3290
letter X, the names of the devices are ``/dev/ttyX#`` and ``/dev/cux#``,
respectively; for historical reasons, ``/dev/ttyS#`` and ``/dev/ttyC#``
correspond to ``/dev/cua#`` and ``/dev/cub#``. In the future, it should be
L
Linus Torvalds 已提交
3291
expected that multiple letters will be used; all letters will be upper
3292 3293
case for the "tty" device (e.g. ``/dev/ttyDP#``) and lower case for the
"cu" device (e.g. ``/dev/cudp#``).
L
Linus Torvalds 已提交
3294

3295
The names ``/dev/ttyQ#`` and ``/dev/cuq#`` are reserved for local use.
L
Linus Torvalds 已提交
3296 3297 3298 3299 3300 3301 3302 3303

The alternate devices provide for kernel-based exclusion and somewhat
different defaults than the primary devices.  Their main purpose is to
allow the use of serial ports with programs with no inherent or broken
support for serial ports.  Their use is deprecated, and they may be
removed from a future version of Linux.

Arbitration of serial ports is provided by the use of lock files with
3304
the names ``/var/lock/LCK..ttyX#``. The contents of the lock file should
L
Linus Torvalds 已提交
3305 3306 3307 3308 3309 3310 3311 3312 3313 3314
be the PID of the locking process as an ASCII number.

It is common practice to install links such as /dev/modem
which point to serial ports.  In order to ensure proper locking in the
presence of these links, it is recommended that software chase
symlinks and lock all possible names; additionally, it is recommended
that a lock file be installed with the corresponding alternate
device.	 In order to avoid deadlocks, it is recommended that the locks
are acquired in the following order, and released in the reverse:

3315 3316 3317
	1. The symbolic link name, if any (``/var/lock/LCK..modem``)
	2. The "tty" name (``/var/lock/LCK..ttyS2``)
	3. The alternate device name (``/var/lock/LCK..cua2``)
L
Linus Torvalds 已提交
3318 3319 3320 3321 3322 3323 3324 3325 3326 3327

In the case of nested symbolic links, the lock files should be
installed in the order the symlinks are resolved.

Under no circumstances should an application hold a lock while waiting
for another to be released.  In addition, applications which attempt
to create lock files for the corresponding alternate device names
should take into account the possibility of being used on a non-serial
port TTY, for which no alternate device would exist.

3328 3329
Pseudoterminals (PTYs)
++++++++++++++++++++++
L
Linus Torvalds 已提交
3330 3331

Pseudoterminals, or PTYs, are used to create login sessions or provide
3332
other capabilities requiring a TTY line discipline (including SLIP or
L
Linus Torvalds 已提交
3333
PPP capability) to arbitrary data-generation processes.	 Each PTY has
3334 3335
a master side, named ``/dev/pty[p-za-e][0-9a-f]``, and a slave side, named
``/dev/tty[p-za-e][0-9a-f]``.  The kernel arbitrates the use of PTYs by
L
Linus Torvalds 已提交
3336 3337 3338 3339 3340 3341 3342 3343 3344
allowing each master side to be opened only once.

Once the master side has been opened, the corresponding slave device
can be used in the same manner as any TTY device.  The master and
slave devices are connected by the kernel, generating the equivalent
of a bidirectional pipe with TTY capabilities.

Recent versions of the Linux kernels and GNU libc contain support for
the System V/Unix98 naming scheme for PTYs, which assigns a common
3345 3346 3347
device, ``/dev/ptmx``, to all the masters (opening it will automatically
give you a previously unassigned PTY) and a subdirectory, ``/dev/pts``,
for the slaves; the slaves are named with decimal integers (``/dev/pts/#``
L
Linus Torvalds 已提交
3348 3349 3350
in our notation).  This removes the problem of exhausting the
namespace and enables the kernel to automatically create the device
nodes for the slaves on demand using the "devpts" filesystem.