summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-26 18:00:25 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-26 18:00:25 +0000
commitd4da5171d9af2bc62eecc0014dc180d6677711ff (patch)
tree957120173a80bb9bf6235c8b70fd1943d8a0610e
parent710ac397953bead2e3c1b9723283ee53771efdbd (diff)
downloaddrakx-d4da5171d9af2bc62eecc0014dc180d6677711ff.tar
drakx-d4da5171d9af2bc62eecc0014dc180d6677711ff.tar.gz
drakx-d4da5171d9af2bc62eecc0014dc180d6677711ff.tar.bz2
drakx-d4da5171d9af2bc62eecc0014dc180d6677711ff.tar.xz
drakx-d4da5171d9af2bc62eecc0014dc180d6677711ff.zip
*** empty log message ***
-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);
}
}