home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / docs / kernel-2.0 / devices.txt < prev    next >
Encoding:
Text File  |  1996-07-11  |  28.6 KB  |  830 lines

  1.                LINUX ALLOCATED DEVICES
  2.  
  3.          Maintained by H. Peter Anvin <hpa@zytor.com>
  4.  
  5.               Last revised: May 12, 1996
  6.  
  7. This list is the successor to Rick Miller's Linux Device List, which
  8. he stopped maintaining when he got busy with other things in 1993.  It
  9. is a registry of allocated major device numbers, as well as the
  10. recommended /dev directory nodes for these devices.
  11.  
  12. The latest version of this list is included with the Linux kernel
  13. sources in LaTeX and ASCII form.  In case of discrepancy, the LaTeX
  14. version is authoritative.
  15.  
  16. This document is included by reference into the Linux Filesystem
  17. Standard (FSSTND).  The FSSTND is available via FTP from
  18. tsx-11.mit.edu in the directory /pub/linux/docs/linux-standards/fsstnd.
  19.  
  20. To have a major number allocated, or a minor number in situations
  21. where that applies (e.g. busmice), please contact me with the
  22. appropriate device information.  Also, if you have additional
  23. information regarding any of the devices listed below, or if I have
  24. made a mistake, I would greatly appreciate a note.
  25.  
  26. Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga
  27. platform only.  Allocations marked (68k/Atari) apply to Linux/68k on
  28. the Atari platform only.
  29.  
  30. This document is in the public domain.  The author requests, however,
  31. that semantically altered versions are not distributed without
  32. permission of the author, assuming the author can be contacted without
  33. an unreasonable effort.
  34.  
  35. In particular, please don't sent patches for this list to Linus, at
  36. least not without contacting me first.
  37.  
  38.   0         Unnamed devices (e.g. non-device mounts)
  39.           0 = reserved as null device number
  40.  
  41.   1 char    Memory devices
  42.               1 = /dev/mem        Physical memory access
  43.           2 = /dev/kmem        Kernel virtual memory access
  44.           3 = /dev/null        Null device
  45.           4 = /dev/port        I/O port access
  46.           5 = /dev/zero        Null byte source
  47.           6 = /dev/core        OBSOLETE - replaced by /proc/kcore
  48.           7 = /dev/full        Returns ENOSPC on write
  49.           8 = /dev/random    Nondeterministic random number gen.
  50.           9 = /dev/urandom    Faster, less secure random number gen.
  51.     block    RAM disk
  52.           0 = /dev/ram0        First RAM disk
  53.             ...
  54.           7 = /dev/ram7        Eighth RAM disk
  55.         250 = /dev/initrd    Initial RAM disk
  56.  
  57.         Older kernels had /dev/ramdisk (1, 1) here.
  58.         /dev/initrd refers to a RAM disk which was preloaded
  59.         by the boot loader.
  60.             
  61.   2 char    Pseudo-TTY masters
  62.           0 = /dev/ptyp0    First PTY master
  63.           1 = /dev/ptyp1    Second PTY master
  64.             ...
  65.         255 = /dev/ptyef    256th PTY master
  66.  
  67.         Pseudo-tty's are named as follows:
  68.         * Masters are "pty", slaves are "tty";
  69.         * the fourth letter is one of pqrstuvwxyzabcde indicating
  70.           the 1st through 16th series of 16 pseudo-ttys each, and
  71.         * the fifth letter is one of 0123456789abcdef indicating
  72.           the position within the series.
  73.   
  74.     block    Floppy disks
  75.           0 = /dev/fd0        First floppy disk autodetect
  76.           1 = /dev/fd1        Second floppy disk autodetect
  77.           2 = /dev/fd2        Third floppy disk autodetect
  78.           3 = /dev/fd3        Fourth floppy disk autodetect
  79.  
  80.         To specify format, add to the autodetect device number:
  81.           0 = /dev/fd?        Autodetect format
  82.           4 = /dev/fd?d360    5.25"  360K in a 360K  drive(1)
  83.          20 = /dev/fd?h360    5.25"  360K in a 1200K drive(1)
  84.          48 = /dev/fd?h410    5.25"  410K in a 1200K drive
  85.          64 = /dev/fd?h420    5.25"  420K in a 1200K drive
  86.          24 = /dev/fd?h720    5.25"  720K in a 1200K drive
  87.          80 = /dev/fd?h880    5.25"  880K in a 1200K drive(1)
  88.           8 = /dev/fd?h1200    5.25" 1200K in a 1200K drive(1)
  89.          40 = /dev/fd?h1440    5.25" 1440K in a 1200K drive(1)
  90.          56 = /dev/fd?h1476    5.25" 1476K in a 1200K drive
  91.            72 = /dev/fd?h1494    5.25" 1494K in a 1200K drive
  92.          92 = /dev/fd?h1600    5.25" 1600K in a 1200K drive(1)
  93.  
  94.          12 = /dev/fd?u360    3.5"   360K Double Density
  95.         120 = /dev/fd?u800    3.5"   800K Double Density(1)
  96.          52 = /dev/fd?u820    3.5"   820K Double Density(2)
  97.          68 = /dev/fd?u830    3.5"   830K Double Density
  98.          84 = /dev/fd?u1040    3.5"  1040K Double Density(1)
  99.          88 = /dev/fd?u1120    3.5"  1120K Double Density(1)
  100.          28 = /dev/fd?u1440    3.5"  1440K High Density(1)
  101.         124 = /dev/fd?u1600    3.5"  1600K High Density(1)
  102.          44 = /dev/fd?u1680    3.5"  1680K High Density(3)
  103.          60 = /dev/fd?u1722    3.5"  1722K High Density
  104.          76 = /dev/fd?u1743    3.5"  1743K High Density
  105.          96 = /dev/fd?u1760    3.5"  1760K High Density
  106.         116 = /dev/fd?u1840    3.5"  1840K High Density(3)
  107.         100 = /dev/fd?u1920    3.5"  1920K High Density(1)
  108.          32 = /dev/fd?u2880    3.5"  2880K Extra Density(1)
  109.         104 = /dev/fd?u3200    3.5"  3200K Extra Density
  110.         108 = /dev/fd?u3520    3.5"  3520K Extra Density
  111.         112 = /dev/fd?u3840    3.5"  3840K Extra Density(1)
  112.  
  113.          36 = /dev/fd?CompaQ    Compaq 2880K drive; obsolete?
  114.  
  115.         (1) Autodetectable format
  116.         (2) Autodetectable format in a Double Density (720K) drive only
  117.         (3) Autodetectable format in a High Density (1440K) drive only
  118.  
  119.         NOTE: The letter in the device name (d, q, h or u)
  120.         signifies the type of drive: 5.25" Double Density (d),
  121.         5.25" Quad Density (q), 5.25" High Density (h) or 3.5"
  122.         (any model, u).  The use of the capital letters D, H
  123.         and E for the 3.5" models have been deprecated, since
  124.         the drive type is insignificant for these devices.
  125.  
  126.   3 char    Pseudo-TTY slaves
  127.           0 = /dev/ttyp0    First PTY slave
  128.           1 = /dev/ttyp1    Second PTY slave
  129.             ...
  130.         256 = /dev/ttyef    256th PTY slave
  131.  
  132.     block    First MFM, RLL and IDE hard disk/CD-ROM interface
  133.               0 = /dev/hda        Master: whole disk (or CD-ROM)
  134.          64 = /dev/hdb        Slave: whole disk (or CD-ROM)
  135.         
  136.         For partitions, add to the whole disk device number:
  137.           0 = /dev/hd?        Whole disk
  138.           1 = /dev/hd?1        First partition
  139.           2 = /dev/hd?2        Second partition
  140.             ...
  141.          63 = /dev/hd?63    63rd partition
  142.  
  143.         For Linux/i386, partitions 1-4 are the primary
  144.         partitions, and 5 and above are logical partitions.
  145.         Other versions of Linux use partitioning schemes
  146.         appropriate to their respective architectures.
  147.         
  148.   4 char    TTY devices
  149.               0 = /dev/console    Console device
  150.  
  151.           1 = /dev/tty1        First virtual console
  152.               ...
  153.          63 = /dev/tty63    63rd virtual console
  154.          64 = /dev/ttyS0    First serial port
  155.               ...
  156.         127 = /dev/ttyS63    64th serial port
  157.         128 = /dev/ptyp0    First pseudo-tty master
  158.               ...
  159.         191 = /dev/ptysf    64th pseudo-tty master
  160.         192 = /dev/ttyp0    First pseudo-tty slave
  161.               ...
  162.         255 = /dev/ttysf    64th pseudo-tty slave
  163.  
  164.         For compatibility with previous versions of Linux, the
  165.         first 64 PTYs are replicated under this device
  166.         number.  This use will be obsolescent with the release
  167.         of Linux 1.4 and may be removed in a future version of
  168.         Linux.
  169.  
  170.   5 char    Alternate TTY devices
  171.               0 = /dev/tty        Current TTY device
  172.          64 = /dev/cua0        Callout device corresponding to ttyS0
  173.               ...
  174.         127 = /dev/cua63    Callout device corresponding to ttyS63
  175.  
  176.   6 char    Parallel printer devices
  177.               0 = /dev/lp0        First parallel printer (0x3bc)
  178.           1 = /dev/lp1        Second parallel printer (0x378)
  179.           2 = /dev/lp2        Third parallel printer (0x278)
  180.  
  181.         Not all computers have the 0x3bc parallel port; hence
  182.         the "first" printer may be either /dev/lp0 or
  183.         /dev/lp1.
  184.  
  185.   7 char    Virtual console capture devices
  186.               0 = /dev/vcs        Current vc text contents
  187.           1 = /dev/vcs1        tty1 text contents
  188.               ...
  189.          63 = /dev/vcs63    tty63 text contents
  190.         128 = /dev/vcsa        Current vc text/attribute contents
  191.         129 = /dev/vcsa1    tty1 text/attribute contents
  192.               ...
  193.         191 = /dev/vcsa63    tty63 text/attribute contents
  194.     
  195.         NOTE: These devices permit both read and write access.
  196.  
  197.     block    Loopback devices
  198.           0 = /dev/loop0    First loopback device
  199.           1 = /dev/loop1    Second loopback device
  200.               ...
  201.  
  202.         The loopback devices are used to mount filesystems not
  203.         associated with block devices.  The binding to the
  204.         loopback devices is usually handled by mount(8).
  205.  
  206.   8 block    SCSI disk devices
  207.               0 = /dev/sda        First SCSI disk whole disk
  208.          16 = /dev/sdb        Second SCSI disk whole disk
  209.          32 = /dev/sdc        Third SCSI disk whole disk
  210.                 ...
  211.         240 = /dev/sdp        Sixteenth SCSI disk whole disk
  212.  
  213.         Partitions are handled in the same way as for IDE
  214.         disks (see major number 3) except that the limit on
  215.         partitions is 15.
  216.  
  217.   9 char    SCSI tape devices
  218.               0 = /dev/st0        First SCSI tape, mode 0
  219.           1 = /dev/st1        Second SCSI tape, mode 0
  220.               ...
  221.              32 = /dev/st0l        First SCSI tape, mode 1
  222.          33 = /dev/st1l        Second SCSI tape, mode 1
  223.               ...
  224.              64 = /dev/st0m        First SCSI tape, mode 2
  225.          65 = /dev/st1m        Second SCSI tape, mode 2
  226.               ...
  227.              96 = /dev/st0a        First SCSI tape, mode 3
  228.          97 = /dev/st1a        Second SCSI tape, mode 3
  229.               ...
  230.         128 = /dev/nst0        First SCSI tape, mode 0, no rewind
  231.         129 = /dev/nst1        Second SCSI tape, mode 0, no rewind
  232.               ...
  233.         160 = /dev/nst0l    First SCSI tape, mode 1, no rewind
  234.         161 = /dev/nst1l    Second SCSI tape, mode 1, no rewind
  235.               ...
  236.         192 = /dev/nst0m    First SCSI tape, mode 2, no rewind
  237.         193 = /dev/nst1m    Second SCSI tape, mode 2, no rewind
  238.               ...
  239.         224 = /dev/nst0a    First SCSI tape, mode 3, no rewind
  240.         225 = /dev/nst1a    Second SCSI tape, mode 3, no rewind
  241.               ...
  242.  
  243.         "No rewind" refers to the omission of the default
  244.         automatic rewind on device close.  The MTREW or MTOFFL
  245.         ioctl()'s can be used to rewind the tape regardless of
  246.         the device used to access it.
  247.  
  248.     block    Metadisk (RAID) devices
  249.           0 = /dev/md0        First metadisk group
  250.           1 = /dev/md1        Second metadisk group
  251.               ...
  252.  
  253.         The metadisk driver is used to span a
  254.         filesystem across multiple physical disks.
  255.  
  256.  10 char    Non-serial mice, misc features
  257.           0 = /dev/logibm    Logitech bus mouse
  258.           1 = /dev/psaux    PS/2-style mouse port
  259.           2 = /dev/inportbm    Microsoft Inport bus mouse
  260.           3 = /dev/atibm    ATI XL bus mouse
  261.           4 = /dev/jbm        J-mouse
  262.           4 = /dev/amigamouse    Amiga mouse (68k/Amiga)
  263.           5 = /dev/atarimouse    Atari mouse
  264.           6 = /dev/sunmouse    Sun mouse
  265.           7 = /dev/amigamouse1    Second Amiga mouse
  266.         128 = /dev/beep        Fancy beep device
  267.         129 = /dev/modreq    Kernel module load request
  268.         130 = /dev/watchdog    Watchdog timer port
  269.         131 = /dev/temperature    Machine internal temperature
  270.         132 = /dev/hwtrap    Hardware fault trap
  271.         133 = /dev/exttrp    External device trap
  272.         134 = /dev/apm_bios    Advanced Power Management BIOS
  273.         135 = /dev/rtc        Real Time Clock
  274.         136 = /dev/qcam0    QuickCam on lp0
  275.         137 = /dev/qcam1    QuickCam on lp1
  276.         138 = /dev/qcam2    QuickCam on lp2
  277.  
  278.  11 char    Raw keyboard device
  279.           0 = /dev/kbd        Raw keyboard device
  280.  
  281.         The raw keyboard device is used on Linux/SPARC only.
  282.  
  283.     block    SCSI CD-ROM devices
  284.               0 = /dev/sr0        First SCSI CD-ROM
  285.           1 = /dev/sr1        Second SCSI CD-ROM
  286.               ...
  287.  
  288.         The prefix /dev/scd instead of /dev/sr has been used
  289.         as well, and might make more sense.
  290.  
  291.  12 char    QIC-02 tape
  292.           2 = /dev/ntpqic11    QIC-11, no rewind-on-close
  293.           3 = /dev/tpqic11    QIC-11, rewind-on-close
  294.           4 = /dev/ntpqic24    QIC-24, no rewind-on-close
  295.           5 = /dev/tpqic24    QIC-24, rewind-on-close
  296.           6 = /dev/ntpqic120    QIC-120, no rewind-on-close
  297.           7 = /dev/tpqic120    QIC-120, rewind-on-close
  298.           8 = /dev/ntpqic150    QIC-150, no rewind-on-close
  299.           9 = /dev/tpqic150    QIC-150, rewind-on-close
  300.  
  301.         The device names specified are proposed -- if there
  302.         are "standard" names for these devices, please let me know.
  303.  
  304.     block    MSCDEX CD-ROM callback support
  305.           0 = /dev/dos_cd0    First MSCDEX CD-ROM
  306.           1 = /dev/dos_cd1    Second MSCDEX CD-ROM
  307.               ...
  308.  
  309.  13 char    PC speaker
  310.           0 = /dev/pcmixer    Emulates /dev/mixer
  311.           1 = /dev/pcsp        Emulates /dev/dsp (8-bit)
  312.           4 = /dev/pcaudio    Emulates /dev/audio
  313.           5 = /dev/pcsp16    Emulates /dev/dsp (16-bit)
  314.     block    8-bit MFM/RLL/IDE controller
  315.           0 = /dev/xda        First XT disk whole disk
  316.          64 = /dev/xdb        Second XT disk whole disk
  317.  
  318.         Partitions are handled in the same way as IDE disks
  319.         (see major number 3).
  320.  
  321.  14 char    Sound card
  322.           0 = /dev/mixer    Mixer control
  323.           1 = /dev/sequencer    Audio sequencer
  324.           2 = /dev/midi00    First MIDI port
  325.           3 = /dev/dsp        Digital audio
  326.           4 = /dev/audio    Sun-compatible digital audio
  327.           6 = /dev/sndstat    Sound card status information
  328.           8 = /dev/sequencer2    Sequencer -- alternate device
  329.          16 = /dev/mixer1    Second soundcard mixer control
  330.          17 = /dev/patmgr0    Sequencer patch manager
  331.          18 = /dev/midi01    Second MIDI port
  332.          19 = /dev/dsp1        Second soundcard digital audio
  333.          20 = /dev/audio1    Second soundcard Sun digital audio
  334.          33 = /dev/patmgr1    Sequencer patch manager
  335.          34 = /dev/midi02    Third MIDI port
  336.          50 = /dev/midi03    Fourth MIDI port
  337.     block    BIOS harddrive callback support
  338.           0 = /dev/dos_hda    First BIOS harddrive whole disk
  339.          64 = /dev/dos_hdb    Second BIOS harddrive whole disk
  340.         128 = /dev/dos_hdc    Third BIOS harddrive whole disk
  341.         192 = /dev/dos_hdd    Fourth BIOS harddrive whole disk
  342.  
  343.         Partitions are handled in the same way as IDE disks
  344.         (see major number 3).
  345.  
  346.  15 char    Joystick
  347.           0 = /dev/js0        First analog joystick
  348.           1 = /dev/js1        Second analog joystick
  349.             ...
  350.         128 = /dev/djs0        First digital joystick
  351.         129 = /dev/djs1        Second digital joystick
  352.             ...
  353.     block    Sony CDU-31A/CDU-33A CD-ROM
  354.           0 = /dev/sonycd    Sony CDU-31a CD-ROM
  355.  
  356.  16 char    Non-SCSI scanners
  357.           0 = /dev/gs4500    Genius 4500 handheld scanner
  358.     block    GoldStar CD-ROM
  359.           0 = /dev/gscd        GoldStar CD-ROM
  360.  
  361.  17 char    Chase serial card
  362.           0 = /dev/ttyH0    First Chase port
  363.           1 = /dev/ttyH1    Second Chase port
  364.               ...
  365.     block    Optics Storage CD-ROM
  366.           0 = /dev/optcd    Optics Storage CD-ROM
  367.  
  368.  18 char    Chase serial card - alternate devices
  369.           0 = /dev/cuh0        Callout device corresponding to ttyH0
  370.           1 = /dev/cuh1        Callout device corresponding to ttyH1
  371.               ...
  372.     block    Sanyo CD-ROM
  373.           0 = /dev/sjcd        Sanyo CD-ROM
  374.  
  375.  19 char    Cyclades serial card
  376.           0 = /dev/ttyC0    First Cyclades port
  377.               ...
  378.          31 = /dev/ttyC31    32nd Cyclades port
  379.     block    "Double" compressed disk
  380.           0 = /dev/double0    First compressed disk
  381.               ...
  382.           7 = /dev/double7    Eighth compressed disk
  383.         128 = /dev/cdouble0    Mirror of first compressed disk
  384.               ...
  385.         135 = /dev/cdouble7    Mirror of eighth compressed disk
  386.  
  387.         See the Double documentation for the meaning of the
  388.         mirror devices.
  389.  
  390.  20 char    Cyclades serial card - alternate devices
  391.           0 = /dev/cub0        Callout device corresponding to ttyC0
  392.               ...
  393.          31 = /dev/cub31    Callout device corresponding to ttyC31
  394.     block    Hitachi CD-ROM (under development)
  395.           0 = /dev/hitcd    Hitachi CD-ROM
  396.  
  397.  21 char    Generic SCSI access
  398.           0 = /dev/sg0        First generic SCSI device
  399.           1 = /dev/sg1        Second generic SCSI device
  400.               ...
  401.  
  402.  22 char    Digiboard serial card
  403.           0 = /dev/ttyD0    First Digiboard port
  404.           1 = /dev/ttyD1    Second Digiboard port
  405.               ...
  406.     block    Second IDE hard disk/CD-ROM interface
  407.               0 = /dev/hdc        Master: whole disk (or CD-ROM)
  408.          64 = /dev/hdd        Slave: whole disk (or CD-ROM)
  409.         
  410.         Partitions are handled the same way as for the first
  411.         interface (see major number 3).
  412.  
  413.  23 char    Digiboard serial card - alternate devices
  414.           0 = /dev/cud0        Callout device corresponding to ttyD0
  415.           1 = /dev/cud1        Callout device corresponding to ttyD1
  416.               ...
  417.     block    Mitsumi proprietary CD-ROM
  418.           0 = /dev/mcd        Mitsumi CD-ROM
  419.  
  420.  24 char    Stallion serial card
  421.           0 = /dev/ttyE0    Stallion port 0 card 0
  422.           1 = /dev/ttyE1    Stallion port 1 card 0
  423.               ...
  424.          64 = /dev/ttyE64    Stallion port 0 card 1
  425.          65 = /dev/ttyE65    Stallion port 1 card 1
  426.               ...
  427.         128 = /dev/ttyE128    Stallion port 0 card 2
  428.         129 = /dev/ttyE129    Stallion port 1 card 2
  429.               ...
  430.         192 = /dev/ttyE192    Stallion port 0 card 3
  431.         193 = /dev/ttyE193    Stallion port 1 card 3
  432.               ...
  433.     block    Sony CDU-535 CD-ROM
  434.           0 = /dev/cdu535    Sony CDU-535 CD-ROM
  435.  
  436.  25 char    Stallion serial card - alternate devices
  437.           0 = /dev/cue0        Callout device corresponding to ttyE0
  438.           1 = /dev/cue1        Callout device corresponding to ttyE1
  439.               ...
  440.          64 = /dev/cue64    Callout device corresponding to ttyE64
  441.          65 = /dev/cue65    Callout device corresponding to ttyE65
  442.               ...
  443.         128 = /dev/cue128    Callout device corresponding to ttyE128
  444.         129 = /dev/cue129    Callout device corresponding to ttyE129
  445.               ...
  446.         192 = /dev/cue192    Callout device corresponding to ttyE192
  447.         193 = /dev/cue193    Callout device corresponding to ttyE193
  448.               ...
  449.     block    First Matsushita (Panasonic/SoundBlaster) CD-ROM
  450.           0 = /dev/sbpcd0    Panasonic CD-ROM controller 0 unit 0
  451.           1 = /dev/sbpcd1    Panasonic CD-ROM controller 0 unit 1
  452.           2 = /dev/sbpcd2    Panasonic CD-ROM controller 0 unit 2
  453.           3 = /dev/sbpcd3    Panasonic CD-ROM controller 0 unit 3
  454.  
  455.  26 char    Quanta WinVision frame grabber
  456.           0 = /dev/wvisfgrab    Quanta WinVision frame grabber
  457.     block    Second Matsushita (Panasonic/SoundBlaster) CD-ROM
  458.           0 = /dev/sbpcd4    Panasonic CD-ROM controller 1 unit 0
  459.           1 = /dev/sbpcd5    Panasonic CD-ROM controller 1 unit 1
  460.           2 = /dev/sbpcd6    Panasonic CD-ROM controller 1 unit 2
  461.           3 = /dev/sbpcd7    Panasonic CD-ROM controller 1 unit 3
  462.  
  463.  27 char    QIC-117 tape
  464.           0 = /dev/ftape    QIC-117 tape
  465.     block    Third Matsushita (Panasonic/SoundBlaster) CD-ROM
  466.           0 = /dev/sbpcd8    Panasonic CD-ROM controller 2 unit 0
  467.           1 = /dev/sbpcd9    Panasonic CD-ROM controller 2 unit 1
  468.           2 = /dev/sbpcd10    Panasonic CD-ROM controller 2 unit 2
  469.           3 = /dev/sbpcd11    Panasonic CD-ROM controller 2 unit 3
  470.  
  471.  28 char    Stallion serial card - card programming
  472.           0 = /dev/staliomem0    First Stallion card I/O memory
  473.           1 = /dev/staliomem1    Second Stallion card I/O memory
  474.           2 = /dev/staliomem2    Third Stallion card I/O memory
  475.           3 = /dev/staliomem3    Fourth Stallion card I/O memory
  476.     char    Atari SLM ACSI laser printer (68k/Atari)
  477.           0 = /dev/slm0        First SLM laser printer
  478.           1 = /dev/slm1        Second SLM laser printer
  479.               ...
  480.     block    Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
  481.           0 = /dev/sbpcd12    Panasonic CD-ROM controller 3 unit 0
  482.           1 = /dev/sbpcd13    Panasonic CD-ROM controller 3 unit 1
  483.           2 = /dev/sbpcd14    Panasonic CD-ROM controller 3 unit 2
  484.           3 = /dev/sbpcd15    Panasonic CD-ROM controller 3 unit 3
  485.     block    ACSI disk (68k/Atari)
  486.           0 = /dev/ada        First ACSI disk whole disk
  487.          16 = /dev/adb        Second ACSI disk whole disk
  488.          32 = /dev/adc        Third ACSI disk whole disk
  489.               ...
  490.         240 = /dev/adp        16th ACSI disk whole disk
  491.  
  492.         Partitions are handled in the same way as for IDE
  493.         disks (see major number 3) except that the limit on
  494.         partitions is 15, like SCSI.
  495.  
  496.  29 char    Universal frame buffer
  497.           0 = /dev/fb0        First frame buffer
  498.           1 = /dev/fb0autodetect
  499.          24 = /dev/fb0user0
  500.                   ...
  501.          31 = /dev/fb0user7
  502.          32 = /dev/fb1        Second frame buffer
  503.          33 = /dev/fb1autodetect
  504.          56 = /dev/fb1user0
  505.               ...
  506.          63 = /dev/fb1user7
  507.  
  508.         The universal frame buffer device is currently only
  509.         supported on Linux/68k and Linux/SPARC.  The plain
  510.         device accesses the frame buffer at current resolution
  511.         (Linux/68k calls this device "current",
  512.         e.g. /dev/fb0current); the "autodetect" one at bootup
  513.         (default) resolution.  Minor numbers 2-23 within each
  514.         frame buffer assignment are used for specific
  515.         device-dependent resolutions.  There appears to be no
  516.         standard naming for these devices.  Finally, 2-31
  517.         within each device are reserved for user-selected
  518.         modes, usually entered at boot time.  Currently only
  519.         Linux/68k uses the mode-specific devices.
  520.  
  521.     block    Aztech/Orchid/Okano/Wearnes CD-ROM
  522.           0 = /dev/aztcd    Aztech CD-ROM
  523.  
  524.  30 char    iBCS-2 compatibility devices
  525.           0 = /dev/socksys    Socket access
  526.           1 = /dev/spx        SVR3 local X interface
  527.           2 = /dev/inet/arp    Network access
  528.           2 = /dev/inet/icmp    Network access
  529.           2 = /dev/inet/ip    Network access
  530.           2 = /dev/inet/udp    Network access
  531.           2 = /dev/inet/tcp    Network access
  532.  
  533.         iBCS-2 requires /dev/nfsd to be a link to
  534.         /dev/socksys, and /dev/X0R to be a link to /dev/null.
  535.  
  536.     block    Philips LMS CM-205 CD-ROM
  537.           0 = /dev/cm205cd    Philips LMS CM-205 CD-ROM
  538.  
  539.         /dev/lmscd is an older name for this device.  This
  540.         driver does not work with the CM-205MS CD-ROM.
  541.  
  542.  31 char    MPU-401 MIDI
  543.           0 = /dev/mpu401data    MPU-401 data port
  544.           1 = /dev/mpu401stat    MPU-401 status port
  545.     block    ROM/flash memory card
  546.           0 = /dev/rom0        First ROM card (rw)
  547.               ...
  548.           7 = /dev/rom7        Eighth ROM card (rw)
  549.           8 = /dev/rrom0    First ROM card (ro)
  550.               ...
  551.          15 = /dev/rrom7    Eighth ROM card (ro)
  552.          16 = /dev/flash0    First flash memory card (rw)
  553.               ...
  554.          23 = /dev/flash7    Eighth flash memory card (rw)
  555.          24 = /dev/rflash0    First flash memory card (ro)
  556.               ...
  557.          31 = /dev/rflash7    Eighth flash memory card (ro)
  558.  
  559.         The read-write (rw) devices support back-caching
  560.         written data in RAM, as well as writing to flash RAM
  561.         devices.  The read-only devices (ro) support reading
  562.         only.
  563.  
  564.  32 char    Specialix serial card
  565.           0 = /dev/ttyX0    First Specialix port
  566.           1 = /dev/ttyX1    Second Specialix port
  567.               ...
  568.     block    Philips LMS CM-206 CD-ROM
  569.           0 = /dev/cm206cd    Philips LMS CM-206 CD-ROM
  570.  
  571.  33 char    Specialix serial card - alternate devices
  572.           0 = /dev/cux0        Callout device corresponding to ttyX0
  573.           1 = /dev/cux1        Callout device corresponding to ttyX1
  574.               ...
  575.     block    Third IDE hard disk/CD-ROM interface
  576.               0 = /dev/hde        Master: whole disk (or CD-ROM)
  577.          64 = /dev/hdf        Slave: whole disk (or CD-ROM)
  578.  
  579.         Partitions are handled the same way as for the first
  580.         interface (see major number 3).
  581.  
  582.  34 char    Z8530 HDLC driver
  583.           0 = /dev/scc0        First Z8530, first port
  584.           1 = /dev/scc1        First Z8530, second port
  585.           2 = /dev/scc2        Second Z8530, first port
  586.           3 = /dev/scc3        Second Z8530, second port
  587.               ...
  588.  
  589.         In a previous version these devices were named
  590.         /dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so
  591.         on.
  592.  
  593.     block    Fourth IDE hard disk/CD-ROM interface
  594.               0 = /dev/hdg        Master: whole disk (or CD-ROM)
  595.          64 = /dev/hdh        Slave: whole disk (or CD-ROM)
  596.         
  597.         Partitions are handled the same way as for the first
  598.         interface (see major number 3).
  599.  
  600.  35 char    tclmidi MIDI driver
  601.           0 = /dev/midi0    First MIDI port, kernel timed
  602.           1 = /dev/midi1    Second MIDI port, kernel timed
  603.           2 = /dev/midi2    Third MIDI port, kernel timed
  604.           3 = /dev/midi3    Fourth MIDI port, kernel timed
  605.              64 = /dev/rmidi0    First MIDI port, untimed
  606.              65 = /dev/rmidi1    Second MIDI port, untimed
  607.              66 = /dev/rmidi2    Third MIDI port, untimed
  608.              67 = /dev/rmidi3    Fourth MIDI port, untimed
  609.         128 = /dev/smpte0    First MIDI port, SMPTE timed
  610.         129 = /dev/smpte1    Second MIDI port, SMPTE timed
  611.         130 = /dev/smpte2    Third MIDI port, SMPTE timed
  612.         131 = /dev/smpte3    Fourth MIDI port, SMPTE timed
  613.     block    Modular RAM disk device
  614.  
  615.         This device number is provided for older kernels which
  616.         did not have the modular RAM disk in the standard
  617.         distribution.  See major number 1.  This assignment
  618.         will be removed when the 2.0 kernel is released.
  619.  
  620.  36 char    Netlink support
  621.           0 = /dev/route    Routing, device updates, kernel to user
  622.           1 = /dev/skip        enSKIP security cache control
  623.     block    MCA ESDI hard disk
  624.           0 = /dev/eda        First ESDI disk whole disk
  625.          64 = /dev/edb        Second ESDI disk whole disk
  626.               ...
  627.  
  628.         Partitions are handled in the same way as IDE disks
  629.         (see major number 3).
  630.  
  631.  37 char    IDE tape
  632.           0 = /dev/ht0        First IDE tape
  633.         128 = /dev/nht0        First IDE tape, no rewind-on-close
  634.  
  635.         Currently, only one IDE tape drive is supported.
  636.  
  637.     block    Zorro II ramdisk
  638.           0 = /dev/z2ram    Zorro II ramdisk
  639.  
  640.  38 char    Myricom PCI Myrinet board
  641.           0 = /dev/mlanai0    First Myrinet board
  642.           1 = /dev/mlanai1    Second Myrinet board
  643.               ...
  644.  
  645.         This device is used for status query, board control
  646.         and "user level packet I/O."  This board is also
  647.         accessible as a standard networking "eth" device.
  648.  
  649.     block    Reserved for Linux/AP+
  650.  
  651.  39 char    ML-16P experimental I/O board
  652.           0 = /dev/ml16pa-a0    First card, first analog channel
  653.           1 = /dev/ml16pa-a1    First card, second analog channel
  654.               ...
  655.          15 = /dev/ml16pa-a15    First card, 16th analog channel
  656.          16 = /dev/ml16pa-d    First card, digital lines
  657.          17 = /dev/ml16pa-c0    First card, first counter/timer
  658.          18 = /dev/ml16pa-c1    First card, second counter/timer
  659.          19 = /dev/ml16pa-c2    First card, third counter/timer
  660.          32 = /dev/ml16pb-a0    Second card, first analog channel
  661.          33 = /dev/ml16pb-a1    Second card, second analog channel
  662.               ...
  663.          47 = /dev/ml16pb-a15    Second card, 16th analog channel
  664.          48 = /dev/ml16pb-d    Second card, digital lines
  665.          49 = /dev/ml16pb-c0    Second card, first counter/timer
  666.          50 = /dev/ml16pb-c1    Second card, second counter/timer
  667.          51 = /dev/ml16pb-c2    Second card, third counter/timer
  668.               ...
  669.     block    Reserved for Linux/AP+
  670.  
  671.  40 char    Matrox Meteor frame grabber
  672.           0 = /dev/mmetfgrab    Matrox Meteor frame grabber
  673.     block    Syquest EZ135 removable drive
  674.           0 = /dev/eza        First EZ135 drive, whole disk
  675.  
  676.         Partitions are handled in the same way as IDE disks
  677.         (see major number 3).
  678.  
  679.  41 char    Yet Another Micro Monitor
  680.           0 = /dev/yamm        Yet Another Micro Monitor
  681.  
  682.  42        Demo/sample use
  683.  
  684.         This number is intended for use in sample code, as
  685.         well as a general "example" device number.  It
  686.         should never be used for a device driver that is being
  687.         distributed; either obtain an official number or use
  688.         the local/experimental range.  The sudden addition or
  689.         removal of a driver with this number should not cause
  690.         ill effects to the system (bugs excepted.)
  691.  
  692.  43 char    isdn4linux virtual modem
  693.           0 = /dev/ttyI0    First virtual modem
  694.               ...
  695.          63 = /dev/ttyI63    64th virtual modem
  696.  
  697.  44 char    isdn4linux virtual modem - alternate devices
  698.           0 = /dev/cui0        Callout device corresponding to ttyI0
  699.               ...
  700.          63 = /dev/cui63    Callout device corresponding to ttyI63
  701.  
  702.  45 char    isdn4linux ISDN BRI driver
  703.           0 = /dev/isdn0    First virtual B channel raw data
  704.               ...
  705.          63 = /dev/isdn63    64th virtual B channel raw data
  706.          64 = /dev/isdnctrl0    First channel control/debug
  707.               ...
  708.         127 = /dev/isdnctrl63    64th channel control/debug
  709.  
  710.         128 = /dev/ippp0    First SyncPPP device
  711.               ...
  712.         191 = /dev/ippp63    64th SyncPPP device
  713.  
  714.         255 = /dev/isdninfo    ISDN monitor interface
  715.  
  716.  46 char    Comtrol Rocketport serial card
  717.           0 = /dev/ttyR0    First Rocketport port
  718.           1 = /dev/ttyR1    Second Rocketport port
  719.               ...
  720.  
  721.  47 char    Comtrol Rocketport serial card - alternate devices
  722.           0 = /dev/cur0        Callout device corresponding to ttyR0
  723.           1 = /dev/cur1        Callout device corresponding to ttyR1
  724.               ...
  725.  
  726.  48 char    SDL RISCom serial card
  727.           0 = /dev/ttyL0    First RISCom port
  728.           1 = /dev/ttyL1    Second RISCom port
  729.               ...
  730.  
  731.  49 char    SDL RISCom serial card - alternate devices
  732.           0 = /dev/cul0        Callout device corresponding to ttyL0
  733.           1 = /dev/cul1        Callout device corresponding to ttyL1
  734.               ...
  735.  
  736.  50 char    Reserved for GLINT
  737.  
  738.  51 char    Baycom radio modem
  739.           0 = /dev/bc0        First Baycom radio modem
  740.           1 = /dev/bc1        Second Baycom radio modem
  741.               ...
  742.  
  743.  52-59        UNALLOCATED
  744.  
  745.  60-63        LOCAL/EXPERIMENTAL USE
  746.         Allocated for local/experimental use.  For devices not
  747.         assigned official numbers, these ranges should be
  748.         used, in order to avoid conflicting with future assignments.
  749.  
  750.  64-119        UNALLOCATED
  751.  
  752. 120-127        LOCAL/EXPERIMENTAL USE
  753.  
  754. 128-239        UNALLOCATED
  755.  
  756. 240-254        LOCAL/EXPERIMENTAL USE
  757.  
  758. 255        RESERVED
  759.  
  760.  
  761.  
  762.  
  763.     ADDITIONAL /dev DIRECTORY ENTRIES
  764.  
  765. This section details additional entries that should or may exist in
  766. the /dev directory.  It is preferred that symbolic links use the same
  767. form (absolute or relative) as is indicated here.  Links are
  768. classified as "hard" or "symbolic" depending on the preferred type of
  769. link; if possible, the indicated type of link should be used.
  770.  
  771.  
  772.     Compulsory links
  773.  
  774. These links should exist on all systems:
  775.  
  776. /dev/fd        /proc/self/fd    symbolic    File descriptors
  777. /dev/stdin    fd/0        symbolic    stdin file descriptor
  778. /dev/stdout    fd/1        symbolic    stdout file descriptor
  779. /dev/stderr    fd/2        symbolic    stderr file descriptor
  780. /dev/nfsd    socksys        symbolic    Required by iBCS-2
  781. /dev/X0R    null        symbolic    Required by iBCS-2
  782.  
  783. Note: the last device is letter X-digit 0-letter R.
  784.  
  785.     Recommended links
  786.  
  787. It is recommended that these links exist on all systems:
  788.  
  789. /dev/core    /proc/kcore    symbolic    Backward compatibility
  790. /dev/ramdisk    ram0        symbolic    Backward compatibility
  791. /dev/scd?    sr?        hard        Alternate SCSI CD-ROM name
  792.  
  793.  
  794.     Locally defined links
  795.  
  796. The following links may be established locally to conform to the
  797. configuration of the system.  This is merely a tabulation of existing
  798. practice, and does not constitute a recommendation.  However, if they
  799. exist, they should have the following uses.
  800.  
  801. /dev/mouse    mouse port    symbolic    Current mouse device
  802. /dev/tape    tape device    symbolic    Current tape device
  803. /dev/cdrom    CD-ROM device    symbolic    Current CD-ROM device
  804. /dev/cdwriter    CD-writer    symbolic    Current CD-writer device
  805. /dev/scanner    scanner        symbolic    Current scanner device
  806. /dev/modem    modem port    symbolic    Current dialout device
  807. /dev/root    root device    symbolic    Current root filesystem
  808. /dev/swap    swap device    symbolic    Current swap device
  809.  
  810. /dev/modem should not be used for a modem which supports dialin as
  811. well as dialout, as it tends to cause lock file problems.  If it
  812. exists, /dev/modem should point to the appropriate dialout (alternate)
  813. device.
  814.  
  815. For SCSI devices, /dev/tape and /dev/cdrom should point to the
  816. ``cooked'' devices (/dev/st* and /dev/sr*, respectively), whereas
  817. /dev/cdwriter and /dev/scanner should point to the appropriate generic
  818. SCSI devices (/dev/sg*).
  819.  
  820. /dev/mouse may point to a primary serial TTY device, a hardware mouse
  821. device, or a socket for a mouse driver program (e.g. /dev/gpmdata).
  822.  
  823.     Sockets and pipes
  824.  
  825. Non-transient sockets and named pipes may exist in /dev.  Common entries are:
  826.  
  827. /dev/printer    socket        lpd local socket
  828. /dev/log    socket        syslog local socket
  829. /dev/gpmdata    socket        gpm mouse multiplexer
  830.