summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/mount.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-04 11:16:45 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-04 11:16:45 +0000
commit8a6ffb9eee88fdbaa947590ee92fa95f53cc7b48 (patch)
tree7c71108554d73215400103fde02a28e2416e3311 /perl-install/fs/mount.pm
parentb431f4af3648a41237d875602bc52cf96de1f9a7 (diff)
downloaddrakx-backup-do-not-use-8a6ffb9eee88fdbaa947590ee92fa95f53cc7b48.tar
drakx-backup-do-not-use-8a6ffb9eee88fdbaa947590ee92fa95f53cc7b48.tar.gz
drakx-backup-do-not-use-8a6ffb9eee88fdbaa947590ee92fa95f53cc7b48.tar.bz2
drakx-backup-do-not-use-8a6ffb9eee88fdbaa947590ee92fa95f53cc7b48.tar.xz
drakx-backup-do-not-use-8a6ffb9eee88fdbaa947590ee92fa95f53cc7b48.zip
- partitioning wizard:
o offer to install on dmraid (instead of crashing if no other disk) o offer to install on existing lvm o suggest non-removable disks first o unmount swap too when unmounting all partitions
Diffstat (limited to 'perl-install/fs/mount.pm')
-rw-r--r--perl-install/fs/mount.pm2
1 files changed, 1 insertions, 1 deletions
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($_);
}
}