summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-05-29 11:17:21 +0200
committerKay Sievers <kay.sievers@suse.de>2006-05-29 11:17:21 +0200
commitcecd7f9a758fd498ae267dcb64e65e167ffef810 (patch)
tree4eae19d5885f5b754fc18876061ec8c1086d8439 /etc/udev
parent1388c830117d68bb623043d9e1803b34ddade8e5 (diff)
skip device mapper devices for persistent links
It conflicts with snapshot creation. It will move to its own rule file after kernel provides needed additional events.
Diffstat (limited to 'etc/udev')
-rw-r--r--etc/udev/60-persistent-storage.rules4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/udev/60-persistent-storage.rules b/etc/udev/60-persistent-storage.rules
index 099d09477e..5a63a4fa70 100644
--- a/etc/udev/60-persistent-storage.rules
+++ b/etc/udev/60-persistent-storage.rules
@@ -5,7 +5,7 @@ ACTION!="add", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
-KERNEL=="ram*|loop*|fd*|nbd*", GOTO="persistent_storage_end"
+KERNEL=="ram*|loop*|fd*|nbd*|dm-*", GOTO="persistent_storage_end"
# never access removable ide devices, the drivers are causing event loops on open()
KERNEL=="hd*[!0-9]", SYSFS{removable}=="1", DRIVER=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
@@ -45,6 +45,4 @@ KERNEL=="*[!0-9]", IMPORT{program}="edd_id --export $tempnode"
KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"
-KERNEL=="dm-[0-9]*", ACTION=="add", PROGRAM="/sbin/dmsetup info -c --noopencount --noheadings -o name -j %M -m %m", SYMLINK+="disk/by-name/%c"
-
LABEL="persistent_storage_end"