summaryrefslogtreecommitdiff
path: root/etc/udev/redhat
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-10-15 18:40:08 +0200
committerKay Sievers <kay.sievers@suse.de>2006-10-15 18:40:08 +0200
commit69ed35366ffe9aa26f1736dbfc10bf6aaaf2e3d6 (patch)
treeaf5d58fbf11e192edef77ab11a80760808d06f87 /etc/udev/redhat
parent7cc15d93003f427bb092581d575414fe5b268e8b (diff)
update Fedora rules
Diffstat (limited to 'etc/udev/redhat')
-rw-r--r--etc/udev/redhat/50-udev.rules11
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/udev/redhat/50-udev.rules b/etc/udev/redhat/50-udev.rules
index 64c91fc5cb..c5dbb9068f 100644
--- a/etc/udev/redhat/50-udev.rules
+++ b/etc/udev/redhat/50-udev.rules
@@ -150,16 +150,14 @@ KERNEL=="usb/rio500", MODE="0660"
# s390 devices
KERNEL=="z90crypt", MODE="0666"
+KERNEL=="slram[0-9]*", SYMLINK+="xpram%n"
# DVB
KERNEL=="dvb", MODE="0660"
SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", \
NAME="%c", MODE="0660"
-# create a symlink named after the device map name
-# note devmap_name comes with extras/multipath
-#KERNEL=="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK+="%c"
-
+KERNEL=="dm-[0-9]*", OPTIONS+="ignore_device"
# alsa devices
KERNEL=="controlC[0-9]*", NAME="snd/%k"
@@ -264,7 +262,7 @@ ACTION!="add", GOTO="persistent_end"
SUBSYSTEM!="block", GOTO="persistent_end"
# skip rules for inappropriate block devices
-KERNEL=="ram*|loop*|fd*|nbd*", GOTO="persistent_end"
+KERNEL=="ram*|loop*|fd*|nbd*|gnbd*", GOTO="persistent_end"
# never access removable ide devices, the drivers are causing event loops on open()
BUS=="ide", DRIVER!="ide-cdrom", SYSFS{removable}=="1", GOTO="persistent_end"
@@ -347,5 +345,8 @@ ACTION=="add", SUBSYSTEM=="scsi_device", SYSFS{type}=="1", SYSFS{device/vendor}=
ACTION=="add", SUBSYSTEM=="scsi_device", SYSFS{type}=="1", SYSFS{device/vendor}!="On[sS]tream", \
RUN+="/sbin/modprobe st"
+# mmc block devices
+ACTION=="add", SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
+
RUN+="socket:/org/kernel/udev/monitor"