summaryrefslogtreecommitdiff
path: root/etc/udev/debian/persistent.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/debian/persistent.rules')
-rw-r--r--etc/udev/debian/persistent.rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/udev/debian/persistent.rules b/etc/udev/debian/persistent.rules
index a6467fa319..7bd44da36c 100644
--- a/etc/udev/debian/persistent.rules
+++ b/etc/udev/debian/persistent.rules
@@ -8,14 +8,14 @@ ACTION!="add", GOTO="no_volume_id"
KERNEL=="ram*|loop*|fd*|nbd*", GOTO="no_volume_id"
# skip removable ide devices, because open(2) on them causes an events loop
-BUS=="ide", SYSFS{removable}=="1", GOTO="no_volume_id"
-BUS=="ide", SYSFS{../removable}=="1", GOTO="no_volume_id"
+BUS=="ide", SYSFS{removable}=="1", DRIVER!="ide-cdrom", GOTO="no_volume_id"
+BUS=="ide", SYSFS{../removable}=="1", GOTO="no_volume_id"
# disk id
KERNEL=="hd*[!0-9]", \
IMPORT{program}="/sbin/ata_id --export $tempnode"
-KERNEL=="sd*[!0-9]|sr*", SYSFS{ieee1394_id}=="*", \
+KERNEL=="sd*[!0-9]|sr*", SYSFS{ieee1394_id}=="?*", \
IMPORT{program}="/bin/echo -e 'ID_SERIAL=$sysfs{ieee1394_id}\nID_BUS=ieee1394'"
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", \
IMPORT{program}="/sbin/usb_id -x"
@@ -39,7 +39,7 @@ KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", \
# path
KERNEL=="*[!0-9]|sr*", ENV{ID_TYPE}=="?*", \
- IMPORT{program}="/sbin/path_id %p",
+ IMPORT{program}="/sbin/path_id %p"
KERNEL=="*[0-9]", IMPORT{parent}="ID_*"
KERNEL=="*[!0-9]|sr*", ENV{ID_PATH}=="?*", \