diff options
author | Francois Pons <fpons@mandriva.com> | 2000-02-04 14:22:17 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-02-04 14:22:17 +0000 |
commit | 60ac60d8a763ff2c8ae64b8d4243b01a54b498ee (patch) | |
tree | 5600494716d0d1212047faa56e88610d1800a263 /perl-install/install2.pm | |
parent | 108a6e5c4434c59ee81091df06b752af4a0e9fe7 (diff) | |
download | drakx-backup-do-not-use-60ac60d8a763ff2c8ae64b8d4243b01a54b498ee.tar drakx-backup-do-not-use-60ac60d8a763ff2c8ae64b8d4243b01a54b498ee.tar.gz drakx-backup-do-not-use-60ac60d8a763ff2c8ae64b8d4243b01a54b498ee.tar.bz2 drakx-backup-do-not-use-60ac60d8a763ff2c8ae64b8d4243b01a54b498ee.tar.xz drakx-backup-do-not-use-60ac60d8a763ff2c8ae64b8d4243b01a54b498ee.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 5d3a0945d..2bcd3ba97 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -89,6 +89,27 @@ my @install_classes = (__("beginner"), __("developer"), __("server"), __("expert #-##################################################################################### #- partition layout my %suggestedPartitions = ( +arch() =~ /^sparc/ ? ( + normal => [ + { mntpoint => "/", size => 600 << 11, type => 0x83, ratio => 5, maxsize =>1000 << 11 }, + { mntpoint => "swap", size => 128 << 11, type => 0x82, ratio => 1, maxsize => 400 << 11 }, + { mntpoint => "/usr", size => 300 << 11, type => 0x83, ratio => 4, maxsize =>1500 << 11 }, + { mntpoint => "/home", size => 300 << 11, type => 0x83, ratio => 2 }, + ], + developer => [ + { mntpoint => "/", size => 300 << 11, type => 0x83, ratio => 1, maxsize =>1000 << 11 }, + { mntpoint => "swap", size => 128 << 11, type => 0x82, ratio => 1, maxsize => 400 << 11 }, + { mntpoint => "/usr", size => 300 << 11, type => 0x83, ratio => 4, maxsize =>1500 << 11 }, + { mntpoint => "/home", size => 100 << 11, type => 0x83, ratio => 5 }, + ], + server => [ + { mntpoint => "/", size => 300 << 11, type => 0x83, ratio => 1, maxsize =>1000 << 11 }, + { mntpoint => "swap", size => 128 << 11, type => 0x82, ratio => 2, maxsize => 800 << 11 }, + { mntpoint => "/usr", size => 300 << 11, type => 0x83, ratio => 3, maxsize =>1500 << 11 }, + { mntpoint => "/var", size => 100 << 11, type => 0x83, ratio => 4 }, + { mntpoint => "/home", size => 100 << 11, type => 0x83, ratio => 5 }, + ], +) : ( normal => [ { mntpoint => "/boot", size => 10 << 11, type => 0x83, maxsize => 30 << 11 }, { mntpoint => "/", size => 300 << 11, type => 0x83, ratio => 5, maxsize => 2500 << 11 }, @@ -110,6 +131,7 @@ my %suggestedPartitions = ( { mntpoint => "/var", size => 100 << 11, type => 0x83, ratio => 4 }, { mntpoint => "/home", size => 100 << 11, type => 0x83, ratio => 5 }, ], +), ); #-####################################################################################### @@ -643,7 +665,7 @@ sub main { sync(); sync(); log::l("installation complete, leaving"); - print "\n" x 30; + print "\n" x 80; } #-###################################################################################### |