From 133d12cd26e10868cf1bd86e0c2dde2dfe505c54 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 6 Mar 2001 14:03:03 +0000 Subject: (add): max number of parts for rd, ida and cciss --- perl-install/partition_table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table.pm') 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; -- cgit v1.2.1