summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning_wizard.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2015-04-16 21:55:56 +0000
committerPascal Terjan <pterjan@gmail.com>2015-04-16 21:55:56 +0000
commit03d2d56c4799fe2b9095e82206e228a9fb48f153 (patch)
tree95fad4d08fa2018b204caf1dde1257a881f6ee29 /perl-install/fs/partitioning_wizard.pm
parent7e854d297a8d033bacae45e61fe53a5afd0c7eaf (diff)
downloaddrakx-03d2d56c4799fe2b9095e82206e228a9fb48f153.tar
drakx-03d2d56c4799fe2b9095e82206e228a9fb48f153.tar.gz
drakx-03d2d56c4799fe2b9095e82206e228a9fb48f153.tar.bz2
drakx-03d2d56c4799fe2b9095e82206e228a9fb48f153.tar.xz
drakx-03d2d56c4799fe2b9095e82206e228a9fb48f153.zip
suggest max (20G,20%) of the windows partition, previously max (6G,10%)
Diffstat (limited to 'perl-install/fs/partitioning_wizard.pm')
-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 3cfa80148..df8688bef 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -153,12 +153,12 @@ sub partitionWizardSolutions {
$part->{min_win} = $min_win;
$part->{min_linux} = $min_linux_all;
#- try to keep at least 1GB free for Windows
- #- try to use from 6GB to 10% free space for Linux
+ #- try to use from 20GB to 20% free space for Linux
my $suggested_size = max(
$part->{min_win} + 1 * MB(1024),
min(
- $part->{size} - int(0.1 * ($part->{size} - $part->{min_win})),
- $part->{size} - 6 * MB(1024),
+ $part->{size} - int(0.2 * ($part->{size} - $part->{min_win})),
+ $part->{size} - 20 * MB(1024),
),
);
$part->{req_size} = max(min($suggested_size, $part->{size} - $part->{min_linux}), $part->{min_win});