diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-01-15 14:00:05 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-01-15 14:00:05 +0000 |
commit | c0c7592589901c24d9440d68004569ee3580935f (patch) | |
tree | 255771ac5a6809ff5ed5354531fb349c5a92cc42 /udev-bugs/sys-fs/udev/files/udev.rules-103-r1 | |
parent | Made own copy of rules-file. (diff) | |
download | zzam-c0c7592589901c24d9440d68004569ee3580935f.tar.gz zzam-c0c7592589901c24d9440d68004569ee3580935f.tar.bz2 zzam-c0c7592589901c24d9440d68004569ee3580935f.zip |
Removed second set of rules for cd-devices, solving Bug #158060.
svn path=/; revision=3
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" |