summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/fs/mount.pm1
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 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);
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b4fd43f2f..8546405c6 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- load fuse module automatically when trying to mount NTFS-3G (mga#5685)
+
Version 14.44.1 - 16 September 2012
- add spacing between license paragraphs