summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-16 20:55:34 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-16 20:55:34 +0000
commitbb9aa2bfb3eb697ac43d9be3646a4a30b8a7bf44 (patch)
treedde4c5b44cd6b849b4c046195ad1b2f90d82ef36 /perl-install/fs.pm
parentef214ebfe0278d941e8905f984a1baaca528707b (diff)
downloaddrakx-backup-do-not-use-bb9aa2bfb3eb697ac43d9be3646a4a30b8a7bf44.tar
drakx-backup-do-not-use-bb9aa2bfb3eb697ac43d9be3646a4a30b8a7bf44.tar.gz
drakx-backup-do-not-use-bb9aa2bfb3eb697ac43d9be3646a4a30b8a7bf44.tar.bz2
drakx-backup-do-not-use-bb9aa2bfb3eb697ac43d9be3646a4a30b8a7bf44.tar.xz
drakx-backup-do-not-use-bb9aa2bfb3eb697ac43d9be3646a4a30b8a7bf44.zip
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 1a81a238a..1bf3293a1 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -186,8 +186,9 @@ sub umount_all($;$) {
}
#- do some stuff before calling write_fstab
-sub write($$) {
- my ($prefix, $fstab) = @_;
+sub write($$$) {
+ my ($prefix, $fstab, $manualFstab) = @_;
+ $fstab = [ @{$fstab||[]}, @{$manualFstab||[]} ];
log::l("resetting /etc/mtab");
local *F;
@@ -228,7 +229,7 @@ sub write_fstab($;$$) {
$options ||= $_->{options};
isExt2($_) and ($freq, $passno) = (1, ($_->{mntpoint} eq '/') ? 1 : 2);
- isNfs($_) and ($dir, $options) = ('', 'ro');
+ isNfs($_) and $dir = '', $options ||= 'ro,rsize=8192,wsize=8192';
#- keep in mind the new line for fstab.
@new{($_->{mntpoint}, $_->{"$dir$_->{device}"})} = undef;