summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_raw.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-18 12:26:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-18 12:26:54 +0000
commit5c418b40c0ac75beb326399b31b3533271bcf48d (patch)
tree770b5d300b3bb24398ab06127519cc99e4418206 /perl-install/partition_table_raw.pm
parent4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21 (diff)
downloaddrakx-5c418b40c0ac75beb326399b31b3533271bcf48d.tar
drakx-5c418b40c0ac75beb326399b31b3533271bcf48d.tar.gz
drakx-5c418b40c0ac75beb326399b31b3533271bcf48d.tar.bz2
drakx-5c418b40c0ac75beb326399b31b3533271bcf48d.tar.xz
drakx-5c418b40c0ac75beb326399b31b3533271bcf48d.zip
no_comment
Diffstat (limited to 'perl-install/partition_table_raw.pm')
-rw-r--r--perl-install/partition_table_raw.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm
index 131b34688..aae6f843c 100644
--- a/perl-install/partition_table_raw.pm
+++ b/perl-install/partition_table_raw.pm
@@ -120,6 +120,7 @@ sub zero_MBR {
my ($hd) = @_;
#- force the standard partition type for the architecture
my $type = arch() eq "alpha" ? "bsd" : arch() =~ /^sparc/ ? "sun" : arch() eq "ppc" ? "mac" : "dos";
+ require("partition_table_$type.pm");
bless $hd, "partition_table_$type";
$hd->{primary} = $hd->clear_raw();
delete $hd->{extended};