summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-25 02:21:17 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-25 02:21:17 +0000
commit7a08dbc23f114bf6b6eae275e21e63b6667a1b37 (patch)
treec99d2cf8a7c5e28215d574b7164de0a387004016 /perl-install/partition_table.pm
parent949ab0f0941e3266d8ab79380399dfe6a0020aea (diff)
downloaddrakx-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar
drakx-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar.gz
drakx-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar.bz2
drakx-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.tar.xz
drakx-7a08dbc23f114bf6b6eae275e21e63b6667a1b37.zip
no_comment
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 7bc22ada5..83831d28f 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -229,6 +229,7 @@ sub verifyParts($) {
}
sub verifyPrimary($) {
my ($pt) = @_;
+ $_->{start} > 0 || die "partition must NOT start at sector 0" foreach @{$pt->{normal}};
verifyParts_(@{$pt->{normal}}, $pt->{extended});
}