diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-02-02 13:00:13 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-02-02 13:00:13 +0100 |
commit | f699804e6f9f0e28c39f6ef258e5a0e16d6a0580 (patch) | |
tree | 86fdfc9c9abab936a06206f22965d88016f48028 /perl-install | |
parent | 0ac0744e33992d3917aaeaa5559ce366c741d861 (diff) | |
download | drakx-f699804e6f9f0e28c39f6ef258e5a0e16d6a0580.tar drakx-f699804e6f9f0e28c39f6ef258e5a0e16d6a0580.tar.gz drakx-f699804e6f9f0e28c39f6ef258e5a0e16d6a0580.tar.bz2 drakx-f699804e6f9f0e28c39f6ef258e5a0e16d6a0580.tar.xz drakx-f699804e6f9f0e28c39f6ef258e5a0e16d6a0580.zip |
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)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 5 | ||||
-rw-r--r-- | 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) }, |