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 | 346c0a0130a7c5a7b30e1c18aa96c1537000a21f (patch) | |
tree | aa42826e5564b0f3a07c4510936b354ae15ca83e /perl-install/fs/mount.pm | |
parent | 6a01bfbae9fd79d744002b479c47086edd2d7562 (diff) | |
download | drakx-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.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); } |