]> err.no Git - systemd/commitdiff
rules: SUSE update
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 14 Jul 2007 19:01:51 +0000 (21:01 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 14 Jul 2007 19:01:51 +0000 (21:01 +0200)
etc/udev/suse/50-udev-default.rules
etc/udev/suse/80-drivers.rules

index 32e5008e79cdae2faebe04b8beb3b1e82c7fb920..1d57f0a836410a4f77ba010e4dd2810360f7fef4 100644 (file)
@@ -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
index 0351b11d32f3f89839fb1f9c7457840b019a95ea..51c4bf4e90a5bf00a2692cee388efc411eac16be 100644 (file)
@@ -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"