diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-18 16:25:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-18 16:25:24 +0000 |
commit | b419083ebecca691bdd92cc9c035e96affd62a72 (patch) | |
tree | e92d353ec4e2289b51f3398a15ce36576ab4bae7 /perl-install/partition_table.pm | |
parent | c0ebed8e0168510eeb852447b4e659f516afe366 (diff) | |
download | drakx-backup-do-not-use-b419083ebecca691bdd92cc9c035e96affd62a72.tar drakx-backup-do-not-use-b419083ebecca691bdd92cc9c035e96affd62a72.tar.gz drakx-backup-do-not-use-b419083ebecca691bdd92cc9c035e96affd62a72.tar.bz2 drakx-backup-do-not-use-b419083ebecca691bdd92cc9c035e96affd62a72.tar.xz drakx-backup-do-not-use-b419083ebecca691bdd92cc9c035e96affd62a72.zip |
type 0x17 *can* be ntfs, assuming it is when we don't care much, and check if it is ntfs otherwise
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 6d7e519ae..0a01cfdea 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -398,11 +398,11 @@ sub assign_device_numbers { #- isFat_or_NTFS isn't true for 0x7 partitions, only for 0x107. #- alas 0x107 is not set correctly at this stage #- solution: don't bother with 0x7 vs 0x107 here - my ($c, @others) = grep { isFat_or_NTFS($_) || $_->{type} == 0x7 } @{$hd->{primary}{normal}}; + my ($c, @others) = grep { isFat_or_NTFS($_) || $_->{type} == 0x7 || $_->{type} == 0x17 } @{$hd->{primary}{normal}}; $i = ord 'C'; $c->{device_windobe} = chr($i++) if $c; - $_->{device_windobe} = chr($i++) foreach grep { isFat_or_NTFS($_) || $_->{type} == 0x7 } map { $_->{normal} } @{$hd->{extended}}; + $_->{device_windobe} = chr($i++) foreach grep { isFat_or_NTFS($_) || $_->{type} == 0x7 || $_->{type} == 0x17 } map { $_->{normal} } @{$hd->{extended}}; $_->{device_windobe} = chr($i++) foreach @others; } |