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.

20 lines
1.2 KiB

  1. diff -pruN udev-068-orig/etc/udev/debian/devfs.rules udev-068/etc/udev/debian/devfs.rules
  2. --- udev-068-orig/etc/udev/debian/devfs.rules 2005-10-11 17:33:26.000000000 +0200
  3. +++ udev-068/etc/udev/debian/devfs.rules 2005-10-11 17:33:42.000000000 +0200
  4. @@ -21,11 +21,13 @@ BUS=="ide", KERNEL=="hd[a-z]", SYSFS{rem
  5. # IDE devices
  6. BUS=="ide", KERNEL=="hd[a-z]*", \
  7. PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", \
  8. - NAME="%c{1}", SYMLINK+="%k %c{2}"
  9. + NAME="%c{1}", SYMLINK+="%k %c{2} %c{3}"
  10. # SCSI devices
  11. -BUS=="scsi", PROGRAM="/etc/udev/scripts/scsi-devfs.sh %k %b %n", \
  12. - NAME="%c{1}", SYMLINK+="%k %c{2}"
  13. +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}"
  14. +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}"
  15. +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}"
  16. +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}"
  17. # RAID controllers
  18. KERNEL=="cciss!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", \