summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-19 07:55:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-19 07:55:44 +0000
commit6d0c3098f259cd4c19c7cabe66b3d812d65b109b (patch)
tree35d118c1bd7077df7da3c5b278687e0f62a02737 /perl-install/fs
parent4f33ab3c5700ed669d99b70669e451e7b391c573 (diff)
downloaddrakx-6d0c3098f259cd4c19c7cabe66b3d812d65b109b.tar
drakx-6d0c3098f259cd4c19c7cabe66b3d812d65b109b.tar.gz
drakx-6d0c3098f259cd4c19c7cabe66b3d812d65b109b.tar.bz2
drakx-6d0c3098f259cd4c19c7cabe66b3d812d65b109b.tar.xz
drakx-6d0c3098f259cd4c19c7cabe66b3d812d65b109b.zip
- partitioning wizard: ensure existing_part and resize_fat are proposed before
wipe_drive
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 3c4ba602e..0a00466d3 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -81,7 +81,7 @@ sub partitionWizardSolutions {
my @hds_rw = grep { !$_->{readonly} } @$hds;
my @hds_can_add = grep { $_->can_raw_add } @hds_rw;
if (fs::get::hds_free_space(@hds_can_add) > $min_linux) {
- $solutions{free_space} = [ 20, N("Use free space"), sub { fsedit::auto_allocate($all_hds, $partitions); 1 } ];
+ $solutions{free_space} = [ 30, N("Use free space"), sub { fsedit::auto_allocate($all_hds, $partitions); 1 } ];
} else {
push @wizlog, N("Not enough free space to allocate new partitions") . ": " .
(@hds_can_add ?
@@ -91,7 +91,7 @@ sub partitionWizardSolutions {
if (my @truefs = grep { isTrueLocalFS($_) } @$fstab) {
#- value twice the ext2 partitions
- $solutions{existing_part} = [ 6 + @truefs + @$fstab, N("Use existing partitions"), sub { fs::mount_point::ask_mount_points($in, $fstab, $all_hds) } ];
+ $solutions{existing_part} = [ 20 + @truefs + @$fstab, N("Use existing partitions"), sub { fs::mount_point::ask_mount_points($in, $fstab, $all_hds) } ];
} else {
push @wizlog, N("There is no existing partition to use");
}
@@ -123,7 +123,7 @@ sub partitionWizardSolutions {
if (my @ok_for_resize_fat = grep { isFat_or_NTFS($_) && !fs::get::part2hd($_, $all_hds)->{readonly} } @$fstab) {
$solutions{resize_fat} =
- [ 6 - @ok_for_resize_fat, N("Use the free space on the Microsoft Windows® partition"),
+ [ 20 - @ok_for_resize_fat, N("Use the free space on the Microsoft Windows® partition"),
sub {
my $part = $in->ask_from_listf_raw({ messages => N("Which partition do you want to resize?"),
interactive_help_id => 'resizeFATChoose',