summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-19 15:54:56 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-19 16:00:14 +0100
commitc79d49c972666a751b17e584c2f246af58b3c73b (patch)
treeb66c09aaf8ef56295f3455ad23201d0b53a0f2f3 /rescue
parent79522b240b58b18b1247f3da2d6353bda82aab0b (diff)
downloaddrakx-c79d49c972666a751b17e584c2f246af58b3c73b.tar
drakx-c79d49c972666a751b17e584c2f246af58b3c73b.tar.gz
drakx-c79d49c972666a751b17e584c2f246af58b3c73b.tar.bz2
drakx-c79d49c972666a751b17e584c2f246af58b3c73b.tar.xz
drakx-c79d49c972666a751b17e584c2f246af58b3c73b.zip
restrict ourselves to true FSes
After commit c2fcfde5b3064845d96f7cb29ddc27689ea6e710, mounting eg: exfat strangely fails as it doesn't automatically load exfat. (I suspect it's a bug either in exfat.ko or in util-linux)
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/bin/guessmounts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/bin/guessmounts b/rescue/bin/guessmounts
index 683e47c70..714d26251 100755
--- a/rescue/bin/guessmounts
+++ b/rescue/bin/guessmounts
@@ -63,7 +63,7 @@ foreach (@$normal_parts) {
my $dev = devices::make($_->{device});
my $fs = $_->{fs_type};
- $fs or next; # no need to display an error if there's no fs...
+ member($fs, fs::type::true_local_fs_types()) or next;
system("mount -t $fs $dev $target 2>/dev/null");
if (my $release_file = common::release_file($target)) {