summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table.pm')
-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;