From: Daniel Baumann Date: Mon, 20 Dec 2010 18:01:54 +0000 (+0100) Subject: Supporting /dev/mtdblock0 as valid device name (for memdisk boot), thanks to Michael... X-Git-Tag: debian/3.0_a15-1~10 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=5147f855aa1d24fdc13498b47d621d065673d6e7;p=live-boot-grml.git Supporting /dev/mtdblock0 as valid device name (for memdisk boot), thanks to Michael Prokop . --- diff --git a/scripts/live b/scripts/live index 66f0db0..ef87d3c 100755 --- a/scripts/live +++ b/scripts/live @@ -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