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
(from parent 1:
50fed6a
)
New patch to 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@debian.org>
Fri, 26 Jun 2015 13:01:33 +0000
(15:01 +0200)
components/9990-misc-helpers.sh
patch
|
blob
|
history
diff --git
a/components/9990-misc-helpers.sh
b/components/9990-misc-helpers.sh
index
4251898
..
6f7b599
100755
(executable)
--- 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