X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=components%2F9990-misc-helpers.sh;h=6f7b59955f402e90594ebaca53f9525c31161e48;hb=a70d21e8afab8f19bd88e36b5e072cdc9d6faf65;hp=42518986f3bad4ea6d060ecde22b2306831a3321;hpb=50fed6a7bf39de6018c361e5319b517977c2c50c;p=live-boot-grml.git 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