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/fsedit.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/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 5997bcd0d..fee66e427 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -20,11 +20,16 @@ use log; #- Globals #-##################################################################################### my @suggestions = ( +arch() =~ /^sparc/ ? ( + { mntpoint => "/", size => 50 << 11, type => 0x83, ratio => 1, maxsize => 1000 << 11 }, + { mntpoint => "swap", size => 30 << 11, type => 0x82, ratio => 1, maxsize => 500 << 11 }, +) : ( arch() =~ /^i386/ ? ( { mntpoint => "/boot", size => 16 << 11, type => 0x83, maxsize => 30 << 11 }, ) : (), { mntpoint => "/", size => 50 << 11, type => 0x83, ratio => 1, maxsize => 300 << 11 }, { mntpoint => "swap", size => 30 << 11, type => 0x82, ratio => 1, maxsize => 250 << 11 }, +), { mntpoint => "/usr", size => 200 << 11, type => 0x83, ratio => 6, maxsize =>1500 << 11 }, { mntpoint => "/home", size => 50 << 11, type => 0x83, ratio => 3 }, { mntpoint => "/var", size => 200 << 11, type => 0x83, ratio => 1, maxsize =>1000 << 11 }, @@ -38,7 +43,9 @@ my @partitions_signatures = ( [ 0x83, 0x438, "\x53\xEF" ], [ 0x82, 4086, "SWAP-SPACE" ], [ 0xc, 0x1FE, "\x55\xAA", 0x52, "FAT32" ], +arch() !~ /^sparc/ ? ( [ 0x6, 0x1FE, "\x55\xAA", 0x36, "FAT" ], +) : (), ); sub typeOfPart($) { typeFromMagic(devices::make($_[0]), @partitions_signatures) } |