diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-07-24 10:26:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-07-24 10:26:06 +0000 |
commit | 3cf3e2f2afd279dad95082ee81f3f83516024b27 (patch) | |
tree | 1d73d53ac3deaae5ae2f8c12f5d501e8ffa7f28e /perl-install/partition_table_raw.pm | |
parent | d97b226e3049c136401416aaceaba39587cd0605 (diff) | |
download | drakx-backup-do-not-use-3cf3e2f2afd279dad95082ee81f3f83516024b27.tar drakx-backup-do-not-use-3cf3e2f2afd279dad95082ee81f3f83516024b27.tar.gz drakx-backup-do-not-use-3cf3e2f2afd279dad95082ee81f3f83516024b27.tar.bz2 drakx-backup-do-not-use-3cf3e2f2afd279dad95082ee81f3f83516024b27.tar.xz drakx-backup-do-not-use-3cf3e2f2afd279dad95082ee81f3f83516024b27.zip |
no_comment
Diffstat (limited to 'perl-install/partition_table_raw.pm')
-rw-r--r-- | perl-install/partition_table_raw.pm | 7 |
1 files changed, 3 insertions, 4 deletions
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}; |