From: Michael Prokop Date: Fri, 26 Jun 2015 13:01:33 +0000 (+0200) Subject: New patch to ignore "unknown" filesystems in is_supported_fs() X-Git-Tag: debian/5.0_a4-1+grml.1~12 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=a70d21e8afab8f19bd88e36b5e072cdc9d6faf65;p=live-boot-grml.git New patch to ignore "unknown" filesystems in is_supported_fs() --- diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index 4251898..6f7b599 100755 --- a/components/9990-misc-helpers.sh +++ b/components/9990-misc-helpers.sh @@ -443,6 +443,12 @@ is_supported_fs () return 1 fi + # get_fstype might report "unknown" or "swap", ignore it as no such kernel module exists + if [ "${fstype}" = "unknown" ] || [ "${fstype}" = "swap" ] + then + return 1 + fi + # Try to look if it is already supported by the kernel if grep -q ${fstype} /proc/filesystems then