summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-03-26 13:22:32 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-03-26 13:22:32 +0000
commitd4272f295498a09395c9b00964489f346d89f7ea (patch)
treebcb5998f0bd7be49c1a14791f15a2e82270ce1a0 /perl-install/fsedit.pm
parentc24b6fa43e011ffe18a057e6dc2385fefffe965d (diff)
downloaddrakx-d4272f295498a09395c9b00964489f346d89f7ea.tar
drakx-d4272f295498a09395c9b00964489f346d89f7ea.tar.gz
drakx-d4272f295498a09395c9b00964489f346d89f7ea.tar.bz2
drakx-d4272f295498a09395c9b00964489f346d89f7ea.tar.xz
drakx-d4272f295498a09395c9b00964489f346d89f7ea.zip
adjust partition size suggestion
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 25d6ce9e5..92aaacf7b 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -19,11 +19,12 @@ use devices;
use log;
use fs;
+# min_hd_size: only suggest this partition if the hd size is bigger than that
%suggestions = (
N_("simple") => [
- { mntpoint => "/", size => MB(300), fs_type => 'ext3', ratio => 20, maxsize => MB(8000) },
+ { mntpoint => "/", size => MB(300), fs_type => 'ext3', ratio => 20, maxsize => MB(12300) },
{ mntpoint => "swap", size => MB(128), fs_type => 'swap', ratio => 1, maxsize => MB(4000) },
- { mntpoint => "/home", size => MB(300), fs_type => 'ext3', ratio => 3, min_hd_size => MB(7000) },
+ { mntpoint => "/home", size => MB(300), fs_type => 'ext3', ratio => 10, min_hd_size => MB(13000) },
], N_("with /usr") => [
{ mntpoint => "/", size => MB(250), fs_type => 'ext3', ratio => 1, maxsize => MB(8000) },
{ mntpoint => "swap", size => MB(64), fs_type => 'swap', ratio => 1, maxsize => MB(4000) },