1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 18_support_mtdblock_as_device_name.dpatch by Michael Prokop <mika@grml.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Support /dev/mtdblock0 as valid device name (for memdisk boot).
9 @@ -471,6 +471,9 @@ is_nice_device ()
10 elif echo ${sysfs_path} | grep -q "^/block/dm-"
13 + elif echo ${sysfs_path} | grep -q "^/block/mtdblock"