diff options
Diffstat (limited to 'udev-bugs/sys-fs/udev/files/udev.rules-103-r1')
-rw-r--r-- | udev-bugs/sys-fs/udev/files/udev.rules-103-r1 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/udev-bugs/sys-fs/udev/files/udev.rules-103-r1 b/udev-bugs/sys-fs/udev/files/udev.rules-103-r1 index bc1c84d..612fb51 100644 --- a/udev-bugs/sys-fs/udev/files/udev.rules-103-r1 +++ b/udev-bugs/sys-fs/udev/files/udev.rules-103-r1 @@ -33,14 +33,10 @@ KERNEL=="ircomm*", NAME="%k", GROUP="tty" SUBSYSTEM=="block", GROUP="disk" # cdrom symlinks and other good cdrom naming -BUS=="ide", KERNEL=="hd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode" -BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", IMPORT="cdrom_id --export $tempnode" -BUS=="scsi", KERNEL=="scd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode" +KERNEL=="sr[0-9]*|hd[a-z]|pcd[0-9]*", IMPORT{program}="cdrom_id --export $tempnode" + +ENV{ID_CDROM}=="?*", GROUP="cdrom" BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVERS=="sr", GROUP="cdrom" -ENV{ID_CDROM}=="?*", PROGRAM="seq_node.sh %r %k cdrom", SYMLINK+="%c", GROUP="cdrom" -ENV{ID_CDROM_CD_RW}=="?*", PROGRAM="seq_node.sh %r %k cdrw", SYMLINK+="%c" -ENV{ID_CDROM_DVD}=="?*", PROGRAM="seq_node.sh %r %k dvd", SYMLINK+="%c" -ENV{ID_CDROM_DVD_R}=="?*", PROGRAM="seq_node.sh %r %k dvdrw", SYMLINK+="%c" # disk devices KERNEL=="sd*", NAME="%k", GROUP="disk" |