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
commit82723b2452c61edd5a300307d7728474a2373f08 (patch)
treeaa42826e5564b0f3a07c4510936b354ae15ca83e
parentaf090be27d05d3bfa64883b1bedd9ec35406e3af (diff)
downloaddrakx-backup-do-not-use-82723b2452c61edd5a300307d7728474a2373f08.tar
drakx-backup-do-not-use-82723b2452c61edd5a300307d7728474a2373f08.tar.gz
drakx-backup-do-not-use-82723b2452c61edd5a300307d7728474a2373f08.tar.bz2
drakx-backup-do-not-use-82723b2452c61edd5a300307d7728474a2373f08.tar.xz
drakx-backup-do-not-use-82723b2452c61edd5a300307d7728474a2373f08.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