mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
1.1 KiB

  1. diff -pruN udev-068/etc/udev/debian/devfs.rules udev-068-patch/etc/udev/debian/devfs.rules
  2. --- udev-068/etc/udev/debian/devfs.rules 2005-08-18 19:04:49.000000000 +0200
  3. +++ udev-068-patch/etc/udev/debian/devfs.rules 2005-09-13 10:20:27.000000000 +0200
  4. @@ -24,8 +24,10 @@ BUS=="ide", KERNEL=="hd[a-z]*", \
  5. NAME="%c{1}", SYMLINK+="%k %c{2}"
  6. # SCSI devices
  7. -BUS=="scsi", PROGRAM="/etc/udev/scripts/scsi-devfs.sh %k %b %n", \
  8. - NAME="%c{1}", SYMLINK+="%k %c{2}"
  9. +BUS=="scsi", KERNEL=="sd*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh sd %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4} %c{5}"
  10. +BUS=="scsi", KERNEL=="sr*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh sr %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4} %c{5}"
  11. +BUS=="scsi", KERNEL=="st*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh st %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4} %c{5}"
  12. +BUS=="scsi", KERNEL=="sg*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh sg %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4} %c{5}"
  13. # RAID controllers
  14. KERNEL=="cciss!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", \