aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev/udev-100/mtd-exclude-persistent.patch
blob: 2b848810d2816818c9ee7e4fdb0a83f151a0ac8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Copyright (c) 2009 MontaVista Software, Inc.  All rights reserved.

---
 etc/udev/rules.d/60-persistent-storage.rules |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- udev-100.orig/etc/udev/rules.d/60-persistent-storage.rules
+++ udev-100/etc/udev/rules.d/60-persistent-storage.rules
@@ -5,7 +5,7 @@ ACTION!="add", GOTO="persistent_storage_
 SUBSYSTEM!="block", GOTO="persistent_storage_end"
 
 # skip rules for inappropriate block devices
-KERNEL=="ram*|loop*|fd*|nbd*|dm-*", GOTO="persistent_storage_end"
+KERNEL=="ram*|loop*|fd*|mtd*|nbd*|dm-*", GOTO="persistent_storage_end"
 
 # never access non-cdrom removable ide devices, the drivers are causing event loops on open()
 KERNEL=="hd*[!0-9]", ATTRS{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"