projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e3cbd82
)
ignore "unknown" filesystems in is_supported_fs()
author
Michael Prokop
<mika@grml.org>
Fri, 26 Jun 2015 13:01:33 +0000
(15:01 +0200)
committer
Evgeni Golov
<evgeni@grml.org>
Fri, 21 Aug 2015 14:44:47 +0000
(16:44 +0200)
components/9990-misc-helpers.sh
patch
|
blob
|
history
diff --git
a/components/9990-misc-helpers.sh
b/components/9990-misc-helpers.sh
index
9318a4b
..
a97615b
100755
(executable)
--- a/
components/9990-misc-helpers.sh
+++ b/
components/9990-misc-helpers.sh
@@
-420,6
+420,12
@@
is_supported_fs ()
return 1
fi
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
# Try to look if it is already supported by the kernel
if grep -q ${fstype} /proc/filesystems
then