From c79d49c972666a751b17e584c2f246af58b3c73b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 19 Mar 2020 15:54:56 +0100 Subject: 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) --- rescue/bin/guessmounts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.1