From f699804e6f9f0e28c39f6ef258e5a0e16d6a0580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 2 Feb 2015 13:00:13 +0100 Subject: New default "simple" partitioning scheme libDrakX/fsedit.pm: new "simple" partitioning scheme - create separate /home only when more than 50G are available - in such case, / is 6/19th of the available space up to 50G, swap is 1/19th up to 4G and /home is the rest (12/19th) --- perl-install/NEWS | 5 +++++ perl-install/fsedit.pm | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index aca0464f9..802d30a49 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,8 @@ +- libDrakX/fsedit.pm: new "simple" partitioning scheme + o create separate /home only when more than 50G are available + o in such case, / is 6/19th of the available space up to 50G, + swap is 1/19th up to 4G and /home is the rest (12/19th) + o https://ml.mageia.org/l/arc/dev/2014-12/msg00330.html - recognize new kernel-3.19 drivers Version 16.50 - 9 January 2015 diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 99a13f0ef..c99d4127d 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -22,9 +22,9 @@ 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 => defaultFS(), ratio => 10, maxsize => MB(12300) }, - { mntpoint => "swap", size => MB(128), fs_type => 'swap', ratio => 1, maxsize => MB(4000) }, - { mntpoint => "/home", size => MB(300), fs_type => defaultFS(), ratio => 8, min_hd_size => MB(12000) }, + { mntpoint => "/", size => MB(300), fs_type => defaultFS(), ratio => 6, maxsize => MB(51500) }, + { mntpoint => "swap", size => MB(256), fs_type => 'swap', ratio => 1, maxsize => MB(4096) }, + { mntpoint => "/home", size => MB(300), fs_type => defaultFS(), ratio => 12, min_hd_size => MB(51200) }, ], N_("with /usr") => [ { mntpoint => "/", size => MB(250), fs_type => defaultFS(), ratio => 1, maxsize => MB(8000) }, { mntpoint => "swap", size => MB(64), fs_type => 'swap', ratio => 1, maxsize => MB(4000) }, -- cgit v1.2.1