diff options
author | Erwan Velu <erwan@mandriva.org> | 2003-06-11 17:49:11 +0000 |
---|---|---|
committer | Erwan Velu <erwan@mandriva.org> | 2003-06-11 17:49:11 +0000 |
commit | be7374ff042aa6fe72e82e0913885821dfbe4375 (patch) | |
tree | b6a6a92017d31effb9383b6e0bcf1ddd6f303afe | |
parent | 24c8797e821ad9938eea6e4728b0ba972fe01928 (diff) | |
download | drakx-be7374ff042aa6fe72e82e0913885821dfbe4375.tar drakx-be7374ff042aa6fe72e82e0913885821dfbe4375.tar.gz drakx-be7374ff042aa6fe72e82e0913885821dfbe4375.tar.bz2 drakx-be7374ff042aa6fe72e82e0913885821dfbe4375.tar.xz drakx-be7374ff042aa6fe72e82e0913885821dfbe4375.zip |
Adding custom partitioning for clic
-rw-r--r-- | perl-install/fsedit.pm | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 4c2c43316..7999415a8 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -21,31 +21,25 @@ use fs; __("simple") => [ { mntpoint => "/", size => 300 << 11, type =>0x483, ratio => 5, maxsize =>5500 << 11 }, { mntpoint => "swap", size => 64 << 11, type => 0x82, ratio => 1, maxsize => 250 << 11 }, - { mntpoint => "/home", size => 300 << 11, type =>0x483, ratio => 3 }, - ], __("with /usr") => [ - { mntpoint => "/", size => 150 << 11, type =>0x483, ratio => 1, maxsize =>1000 << 11 }, + { mntpoint => "/var", size => 300 << 11, type =>0x483, ratio => 3 }, + ], __("clic server") => [ + { mntpoint => "/", size => 750 << 11, type =>0x483, ratio => 1, maxsize => 3500 << 11 }, { mntpoint => "swap", size => 64 << 11, type => 0x82, ratio => 1, maxsize => 250 << 11 }, - { mntpoint => "/usr", size => 300 << 11, type =>0x483, ratio => 4, maxsize =>4000 << 11 }, - { mntpoint => "/home", size => 100 << 11, type =>0x483, ratio => 3 }, - ], __("server") => [ - { mntpoint => "/", size => 150 << 11, type =>0x483, ratio => 1, maxsize => 250 << 11 }, - { mntpoint => "swap", size => 64 << 11, type => 0x82, ratio => 2, maxsize => 400 << 11 }, - { mntpoint => "/usr", size => 300 << 11, type =>0x483, ratio => 4, maxsize =>4000 << 11 }, - { mntpoint => "/var", size => 150 << 11, type =>0x483, ratio => 3 }, - { mntpoint => "/home", size => 150 << 11, type =>0x483, ratio => 3 }, - { mntpoint => "/tmp", size => 150 << 11, type =>0x483, ratio => 2, maxsize => 500 << 11 }, + { mntpoint => "/var/install", size => 1000 << 11, type =>0x483, ratio => 4, maxsize =>1200 << 11 }, + { mntpoint => "/var", size => 100 << 11, type =>0x483, ratio => 4 }, + { mntpoint => "/home", size => 100 << 11, type =>0x483, ratio => 5 }, ], ); foreach (values %suggestions) { if (arch() =~ /ia64/) { - @$_ = ({ mntpoint => "/boot/efi", size => 50 << 11, type => 0xb, ratio => 1, maxsize => 150 << 11 }, @$_); + @$_ = ({ mntpoint => "/boot/efi", size => 50 << 11, type => 0xb, ratio => 1, maxsize => 150 << 11 }, @$_); } } my @suggestions_mntpoints = ( - "/var/ftp", "/var/www", "/boot", + "/var/ftp", "/var/www", "/boot", "/var/install", arch() =~ /sparc/ ? "/mnt/sunos" : arch() =~ /ppc/ ? "/mnt/macos" : "/mnt/windows", - #- RedHat also has /usr/local and /opt + ); my @partitions_signatures = ( |