summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-24 16:09:32 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-24 16:09:32 +0000
commit5f55acfa92bdb9cad5bd76a45725d9c202033acb (patch)
tree1cbca7cebf924315e1c5a54d4fda07a8c725893a
parentd00ebe0b5f3c59d1132927a059d0f80dac7aea52 (diff)
downloaddrakx-5f55acfa92bdb9cad5bd76a45725d9c202033acb.tar
drakx-5f55acfa92bdb9cad5bd76a45725d9c202033acb.tar.gz
drakx-5f55acfa92bdb9cad5bd76a45725d9c202033acb.tar.bz2
drakx-5f55acfa92bdb9cad5bd76a45725d9c202033acb.tar.xz
drakx-5f55acfa92bdb9cad5bd76a45725d9c202033acb.zip
unmount swap too when unmounting all partitions
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/fs/mount.pm2
-rw-r--r--perl-install/install/NEWS2
3 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index b3cde6acb..8a56ce931 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- devices detection:
o fix reading USB details (#55690)
o fix SCSI driver module name
+- partitioning wizard:
+ o unmount swap too when unmounting all partitions
Version 12.78 - 18 November 2009
diff --git a/perl-install/fs/mount.pm b/perl-install/fs/mount.pm
index f7bea2ae4..59e3e8bbb 100644
--- a/perl-install/fs/mount.pm
+++ b/perl-install/fs/mount.pm
@@ -222,7 +222,7 @@ sub umount_all {
log::l("unmounting all filesystems");
foreach (sort { $b->{mntpoint} cmp $a->{mntpoint} }
- grep { $_->{mntpoint} && !$_->{real_mntpoint} } @$fstab) {
+ grep { $_->{mntpoint} && !$_->{real_mntpoint} || isSwap($_) } @$fstab) {
umount_part($_);
}
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index edd946eeb..525115f87 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -5,6 +5,8 @@
- devices detection:
o fix reading USB details (#55690)
o fix SCSI driver module name
+- partitioning wizard:
+ o unmount swap too when unmounting all partitions
Version 12.77 - 30 October 2009