diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-04-10 21:39:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-04-10 21:39:26 +0000 |
commit | de19160a9fc5d7021ce5b9ab516e5af72b3f394e (patch) | |
tree | c7ffe589cd6fee23cd298737ff9cbccdaaef5c88 /perl-install/fsedit.pm | |
parent | f8ce98a9ff2c26b6b7e613e4c994382c509aa630 (diff) | |
download | drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar.gz drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar.bz2 drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.tar.xz drakx-de19160a9fc5d7021ce5b9ab516e5af72b3f394e.zip |
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 6cf4bd17b..7dc79e6d9 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -74,6 +74,11 @@ sub hds($$) { cdie($@) unless $flags->{eraseBadPartitions}; partition_table_raw::zero_MBR($hd); } + #- special case for type overloading (eg: reiserfs is 0x183) + foreach (grep { isExt2($_) } partition_table::get_normal_parts($hd)) { + my $type = typeOfPart($_->{device}); + $_->{type} = $type if $type > 0x100; + } push @hds, $hd; } [ @hds ]; |