summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-07-21 16:59:18 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-07-21 16:59:18 +0000
commit5a5ec8d18c04f2077622bce50e7024e0749e4da8 (patch)
tree4449a44fc54d7f3e039045a476ecb14522ee5992 /perl-install/partition_table.pm
parentdd40621fa1311c9bce97902e2db57f8b15fab449 (diff)
downloaddrakx-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar
drakx-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar.gz
drakx-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar.bz2
drakx-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar.xz
drakx-5a5ec8d18c04f2077622bce50e7024e0749e4da8.zip
*** empty log message ***
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 3ebd47122..3f46e7ea7 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -286,6 +286,9 @@ sub add($$) {
raw_add($hd->{primary}->{raw}, $part);
@{$hd->{primary}->{normal}} = $part;
} else {
+ $hd->{primary}->{extended} && !verifyInside($part, $hd->{primary}->{extended})
+ and die "sorry, can't add outside the main extended partition";
+
foreach (@{$hd->{extended}}) {
$_->{normal} and next;
raw_add($_->{raw}, $part);