summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ChangeLog2
-rw-r--r--perl-install/fs.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/ChangeLog b/perl-install/ChangeLog
index db5988a0e..d5f23a29c 100644
--- a/perl-install/ChangeLog
+++ b/perl-install/ChangeLog
@@ -1,5 +1,7 @@
2000-09-26 François Pons <fpons@mandrakesoft.com>
+ * fs.pm: added mounting of swap partition when mounting them
+ all (this can help :-)
* pkgs.pm: fixed correction size code to make (really) a true
bijection between corrected and rpm size.
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 638ffe5e7..d29d9d095 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -285,7 +285,7 @@ sub mount_all($;$$) {
log::l("mounting all filesystems");
#- order mount by alphabetical ordre, that way / < /home < /home/httpd...
- foreach (sort { $a->{mntpoint} cmp $b->{mntpoint} } grep { $_->{mntpoint} && isTrueFS($_) } @$fstab) {
+ foreach (sort { $a->{mntpoint} cmp $b->{mntpoint} } grep { isSwap($_) || $_->{mntpoint} && isTrueFS($_) } @$fstab) {
mount_part($_, $prefix);
}
}