From 83ffacb9b029344f14f7d92dc00e8bfed331faea Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 9 Sep 2001 10:08:40 +0000 Subject: (get_normal_parts_and_holes): remove only small holes, not small partitions --- 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 81ea32cf1..9b23ff709 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -423,7 +423,7 @@ sub get_normal_parts_and_holes { } sort { $a->{start} <=> $b->{start} } grep { !isWholedisk($_) } get_normal_parts($hd); push @l, { start => $start, size => $hd->{totalsectors} - $start, type => 0, rootDevice => $hd->{device} }; - grep { $_->{size} >= $hd->cylinder_size } @l; + grep { $_->{type} || $_->{size} >= $hd->cylinder_size } @l; } sub read_one($$) { -- cgit v1.2.1