From 9de20344a049c623228cc76e564bb7852992698c Mon Sep 17 00:00:00 2001 From: Maxime Petazzoni Date: Tue, 1 Sep 2009 17:20:30 +0200 Subject: udev: exclude mtd* from persistent storage rules Exclude mtd* devices from the persistent storage rules to avoid invalid vol_id invocations on MTD partitions that may not be accessible. Signed-off-by: Maxime Petazzoni --- recipes/udev/udev-124/mtd-exclude-persistent.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes/udev/udev-124/mtd-exclude-persistent.patch (limited to 'recipes/udev/udev-124/mtd-exclude-persistent.patch') diff --git a/recipes/udev/udev-124/mtd-exclude-persistent.patch b/recipes/udev/udev-124/mtd-exclude-persistent.patch new file mode 100644 index 0000000000..204b7b487d --- /dev/null +++ b/recipes/udev/udev-124/mtd-exclude-persistent.patch @@ -0,0 +1,13 @@ +Copyright (c) 2009 MontaVista Software, Inc. All rights reserved. + +--- a/etc/udev/rules.d/60-persistent-storage.rules 2008-06-12 07:24:30.000000000 +0200 ++++ b/etc/udev/rules.d/60-persistent-storage.rules 2009-08-18 11:39:23.595063264 +0200 +@@ -10,7 +10,7 @@ + SUBSYSTEM!="block", GOTO="persistent_storage_end" + + # skip rules for inappropriate block devices +-KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*", GOTO="persistent_storage_end" ++KERNEL=="ram*|loop*|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-floppy", GOTO="persistent_storage_end" -- cgit v1.2.3