From 82723b2452c61edd5a300307d7728474a2373f08 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 20 Sep 2012 20:32:11 +0000 Subject: load fuse module automatically when trying to mount NTFS-3G (mga#5685) --- perl-install/fs/mount.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/fs/mount.pm') 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); } -- cgit v1.2.1