summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-06 14:03:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-06 14:03:03 +0000
commit133d12cd26e10868cf1bd86e0c2dde2dfe505c54 (patch)
tree8f68479e26a4da5c02b24e19855a2e74d4b4d6f0 /perl-install
parent39ee6bc128a1599118411de65100a856c64cff22 (diff)
downloaddrakx-backup-do-not-use-133d12cd26e10868cf1bd86e0c2dde2dfe505c54.tar
drakx-backup-do-not-use-133d12cd26e10868cf1bd86e0c2dde2dfe505c54.tar.gz
drakx-backup-do-not-use-133d12cd26e10868cf1bd86e0c2dde2dfe505c54.tar.bz2
drakx-backup-do-not-use-133d12cd26e10868cf1bd86e0c2dde2dfe505c54.tar.xz
drakx-backup-do-not-use-133d12cd26e10868cf1bd86e0c2dde2dfe505c54.zip
(add): max number of parts for rd, ida and cciss
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index eb134ffc6..5a849d5bf 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -608,7 +608,7 @@ The only solution is to move your primary partitions to have the hole next to th
sub add($$;$$) {
my ($hd, $part, $primaryOrExtended, $forceNoAdjust) = @_;
- get_normal_parts($hd) >= ($hd->{device} =~ /^sd/ ? 15 : 63) and cdie "maximum number of partitions handled by linux reached";
+ get_normal_parts($hd) >= ($hd->{device} =~ /^rd/ ? 7 : $hd->{device} =~ /^(sd|ida|cciss)/ ? 15 : 63) and cdie "maximum number of partitions handled by linux reached";
$part->{notFormatted} = 1;
$part->{isFormatted} = 0;