Commit da50dd40 authored by Michael Prokop's avatar Michael Prokop Committed by Evgeni Golov

ignore "unknown" filesystems in is_supported_fs()

parent e3cbd824
......@@ -420,6 +420,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment