diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-20 20:32:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-20 20:32:11 +0000 |
commit | 82723b2452c61edd5a300307d7728474a2373f08 (patch) | |
tree | aa42826e5564b0f3a07c4510936b354ae15ca83e /perl-install/fs | |
parent | af090be27d05d3bfa64883b1bedd9ec35406e3af (diff) | |
download | drakx-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)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/mount.pm | 1 |
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); } |