From 3cf3e2f2afd279dad95082ee81f3f83516024b27 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 24 Jul 2000 10:26:06 +0000 Subject: no_comment --- perl-install/partition_table_raw.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'perl-install/partition_table_raw.pm') diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index 7b886a1f8..4fe3fe73b 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -104,10 +104,9 @@ sub kernel_read($) { sub zero_MBR($) { my ($hd) = @_; -# unless (ref($hd) =~ /partition_table/) { - my $type = arch() eq "alpha" ? "bsd" : arch() =~ /^sparc/ ? "sun" : arch() eq "ppc" ? "mac" : "dos"; - bless $hd, "partition_table_$type"; -# } + #- force the standard partition type for the architecture + my $type = arch() eq "alpha" ? "bsd" : arch() =~ /^sparc/ ? "sun" : arch() eq "ppc" ? "mac" : "dos"; + bless $hd, "partition_table_$type"; $hd->{isDirty} = $hd->{needKernelReread} = 1; $hd->{primary} = $hd->clear_raw(); delete $hd->{extended}; -- cgit v1.2.1