summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2009-03-23 21:03:00 +0100
committerKay Sievers <kay@poy.(none)>2009-03-23 21:03:00 +0100
commit684028b5be855502abdb07661c8b66aeb8064f0f (patch)
tree24766fe3e3e5dddc40cae90ba475f410390c93e4 /rules
parentc51446e8936cb37ada9113d0e2905a1e4e0e68d1 (diff)
rules: exclude mtd* from persistent disk links
Diffstat (limited to 'rules')
-rw-r--r--rules/rules.d/60-persistent-storage.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/60-persistent-storage.rules b/rules/rules.d/60-persistent-storage.rules
index 5032663352..adf6a11561 100644
--- a/rules/rules.d/60-persistent-storage.rules
+++ b/rules/rules.d/60-persistent-storage.rules
@@ -10,7 +10,7 @@ ACTION!="add|change", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
-KERNEL=="ram*|fd*|nbd*|gnbd*|dm-*|md*|btibm*", GOTO="persistent_storage_end"
+KERNEL=="ram*|fd*|mtd*|nbd*|gnbd*|dm-*|md*|btibm*", GOTO="persistent_storage_end"
# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-gd", GOTO="persistent_storage_end"