chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c51446e
)
rules: exclude mtd* from persistent disk links
author
David Brownell
<david-b@pacbell.net>
Mon, 23 Mar 2009 20:03:00 +0000
(21:03 +0100)
committer
Kay Sievers
<kay@poy.(none)>
Mon, 23 Mar 2009 20:03:00 +0000
(21:03 +0100)
rules/rules.d/60-persistent-storage.rules
patch
|
blob
|
history
diff --git
a/rules/rules.d/60-persistent-storage.rules
b/rules/rules.d/60-persistent-storage.rules
index 503266335264c9671a99c9cb80ecb7524bd7c799..adf6a1156188d477cace2a69112790c2bf0bfc3d 100644
(file)
--- 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
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"
# 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"