From 3b9b604eb1802c5f546bd444dae32e179bbb7d20 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 16 Jan 2000 23:08:46 +0000 Subject: no_comment --- perl-install/partition_table_raw.pm | 4 ++++ 1 file changed, 4 insertions(+) (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 9aa790aee..35287e965 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -54,6 +54,10 @@ sub kernel_read($) { sub zero_MBR($) { my ($hd) = @_; +# unless (ref($hd) =~ /partition_table/) { + my $type = arch() eq "alpha" ? "bsd" : "dos"; + bless $hd, "partition_table_$type"; +# } $hd->{isDirty} = $hd->{needKernelReread} = 1; $hd->{primary} = $hd->clear_raw(); delete $hd->{extended}; -- cgit v1.2.1