summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-07-14 21:01:51 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-14 21:01:51 +0200
commit84654a89135a0044f1abc380b1bd5f8c29637120 (patch)
tree6abdcb8ecac302a744f70cdd2849edb642e1d67c /etc/udev
parente2ecb34ffd4fd8b0d31a65ec0c59dc4f8023ad6d (diff)
rules: SUSE update
Diffstat (limited to 'etc/udev')
-rw-r--r--etc/udev/suse/50-udev-default.rules1
-rw-r--r--etc/udev/suse/80-drivers.rules4
2 files changed, 3 insertions, 2 deletions
diff --git a/etc/udev/suse/50-udev-default.rules b/etc/udev/suse/50-udev-default.rules
index 32e5008e79..1d57f0a836 100644
--- a/etc/udev/suse/50-udev-default.rules
+++ b/etc/udev/suse/50-udev-default.rules
@@ -90,6 +90,7 @@ KERNEL=="fd[0-9]*", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_device
# block devices
SUBSYSTEM=="block", GROUP="disk", MODE="0640"
+SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n"
# sd: 0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
# sr: 4 TYPE_WORM, 5 TYPE_ROM
diff --git a/etc/udev/suse/80-drivers.rules b/etc/udev/suse/80-drivers.rules
index 0351b11d32..51c4bf4e90 100644
--- a/etc/udev/suse/80-drivers.rules
+++ b/etc/udev/suse/80-drivers.rules
@@ -1,8 +1,8 @@
ACTION!="add", GOTO="drivers_end"
-DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe --quiet $env{MODALIAS}"
+DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}"
-SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe --quiet pnp:d$$id; done < /sys$devpath/id'"
+SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", RUN{ignore_error}+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'"
SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --quiet -all tifm_sd tifm_ms"
SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"