summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/mount.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-20 20:32:11 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-20 20:32:11 +0000
commit346c0a0130a7c5a7b30e1c18aa96c1537000a21f (patch)
treeaa42826e5564b0f3a07c4510936b354ae15ca83e /perl-install/fs/mount.pm
parent6a01bfbae9fd79d744002b479c47086edd2d7562 (diff)
downloaddrakx-346c0a0130a7c5a7b30e1c18aa96c1537000a21f.tar
drakx-346c0a0130a7c5a7b30e1c18aa96c1537000a21f.tar.gz
drakx-346c0a0130a7c5a7b30e1c18aa96c1537000a21f.tar.bz2
drakx-346c0a0130a7c5a7b30e1c18aa96c1537000a21f.tar.xz
drakx-346c0a0130a7c5a7b30e1c18aa96c1537000a21f.zip
load fuse module automatically when trying to mount NTFS-3G (mga#5685)
Diffstat (limited to 'perl-install/fs/mount.pm')
-rw-r--r--perl-install/fs/mount.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/mount.pm b/perl-install/fs/mount.pm
index d929a4ecf..aee0ea97a 100644
--- a/perl-install/fs/mount.pm
+++ b/perl-install/fs/mount.pm
@@ -83,6 +83,7 @@ sub mount {
push @mount_opt, 'ro' if $b_rdonly;
$o_wait_message->(N("Mounting partition %s", $dev)) if $o_wait_message;
+ modules::load("fuse") if $::isInstall && $fs eq 'ntfs-3g' && ! -e '/dev/fuse';
run_program::run('mount', '-t', $fs, $dev, $where, if_(@mount_opt, '-o', join(',', @mount_opt))) or die N("mounting partition %s in directory %s failed", $dev, $where);
}