home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / udev / rules.d / 60-symlinks.rules < prev    next >
Encoding:
Text File  |  2007-04-10  |  769 b   |  20 lines

  1. # This file establishes user-friendly symlinks to devices according to
  2. # Ubuntu policy.  See udev(7) for syntax.
  3. #
  4. # The names of the actual devices themselves must not be set here, but
  5. # in 20-names.rules; the permissions and ownership of those devices
  6. # should be set in 40-permissions.rules.
  7.  
  8. # Compatibility symlinks for /dev/scd* devices
  9. SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*",    SYMLINK+="%k"
  10.  
  11. # Create /dev/cdrom* symlinks for CD-ROM devices
  12. ENV{ID_CDROM}=="?*",            SYMLINK+="cdrom"
  13. ENV{ID_CDROM_CD_RW}=="?*",        SYMLINK+="cdrw"
  14. ENV{ID_CDROM_DVD}=="?*",        SYMLINK+="dvd"
  15. ENV{ID_CDROM_DVD_R}=="?*",        SYMLINK+="dvdrw"
  16.  
  17. # Create /dev/pilot symlink for Palm Pilots
  18. KERNEL=="ttyUSB*", ATTRS{product}=="Palm Handheld*|Handspring *|palmOne Handheld", \
  19.                     SYMLINK+="pilot"
  20.