From 84654a89135a0044f1abc380b1bd5f8c29637120 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 14 Jul 2007 21:01:51 +0200 Subject: rules: SUSE update --- etc/udev/suse/50-udev-default.rules | 1 + etc/udev/suse/80-drivers.rules | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'etc/udev') 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" -- cgit v1.2.3-54-g00ecf