Supporting /dev/mtdblock0 as valid device name (for memdisk boot), thanks to Michael...
authorDaniel Baumann <daniel@debian.org>
Mon, 20 Dec 2010 18:01:54 +0000 (19:01 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:59:21 +0000 (17:59 +0100)
scripts/live

index 66f0db0..ef87d3c 100755 (executable)
@@ -489,6 +489,9 @@ is_nice_device ()
        elif echo ${sysfs_path} | grep -q "^/block/dm-"
        then
                return 0
+       elif echo ${sysfs_path} | grep -q "^/block/mtdblock"
+       then
+               return 0
        fi
 
        return 1