diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-09 10:08:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-09 10:08:40 +0000 |
commit | 83ffacb9b029344f14f7d92dc00e8bfed331faea (patch) | |
tree | df2ce7b68b8d83ea9fae897d22b7353fbf6bb35e | |
parent | 8857971e7740fa4a909297a112430deaef6466c7 (diff) | |
download | drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar.gz drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar.bz2 drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar.xz drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.zip |
(get_normal_parts_and_holes): remove only small holes, not small partitions
-rw-r--r-- | perl-install/partition_table.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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($$) { |