summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-17 13:38:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-17 13:38:30 +0000
commit5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f (patch)
treeef792f6c99760a61a36696d6818928cadf37c948 /perl-install
parent988de04e23567af4c12a74b07b9d393efbf14c51 (diff)
downloaddrakx-5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f.tar
drakx-5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f.tar.gz
drakx-5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f.tar.bz2
drakx-5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f.tar.xz
drakx-5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f.zip
(mount): do not hand update /etc/mtab for nfs mounts, already done by mount(8)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 03397d80f..13bcf8471 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -567,6 +567,7 @@ sub mount {
if (member($fs, 'smb', 'nfs') && $::isStandalone) {
system('mount', $dev, $where) == 0 or die _("mount failed");
+ return; #- do not update mtab, already done by mount(8)
} elsif (member($fs, 'ext2', 'proc', 'usbdevfs', 'iso9660', @fs_modules)) {
$dev = devices::make($dev) if $fs ne 'proc' && $fs ne 'usbdevfs';
$where =~ s|/$||;