diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-10-01 07:44:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-10-01 07:44:22 +0000 |
commit | 051ccacd30007afbfa6fd2e3a623bd81d6120b8b (patch) | |
tree | b7f94659d6a99ad421a055efec6765e6219e468d /perl-install/fs | |
parent | a4d2b5d78d4c66722c97ad183519ef2261282db8 (diff) | |
download | drakx-051ccacd30007afbfa6fd2e3a623bd81d6120b8b.tar drakx-051ccacd30007afbfa6fd2e3a623bd81d6120b8b.tar.gz drakx-051ccacd30007afbfa6fd2e3a623bd81d6120b8b.tar.bz2 drakx-051ccacd30007afbfa6fd2e3a623bd81d6120b8b.tar.xz drakx-051ccacd30007afbfa6fd2e3a623bd81d6120b8b.zip |
- diskdrake:
o bugfix 10.4.162: allow "LVM" on RAID (#34359)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/type.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm index c0f89266d..610802ac8 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -41,7 +41,7 @@ if_(arch() =~ /ppc/, ), ], - less_important => [ + non_fs_type => [ 0x8e => '', 'Linux Logical Volume Manager', 0xfd => '', 'Linux RAID', ], @@ -181,11 +181,12 @@ if_(arch() !~ /ppc/, sub type_names { my ($expert, $o_hd) = @_; my @l = @{$type_names{important}}; - push @l, @{$type_names{less_important}}, sort @{$type_names{other}} if $expert; + push @l, @{$type_names{non_fs_type}}, sort @{$type_names{other}} if $expert; if ($o_hd && !$o_hd->use_pt_type) { warn "$_ => $type_name2fs_type{$_}\n" foreach @l; @l = grep { $type_name2fs_type{$_} } @l; - uniq_ { $type_name2fs_type{$_[0]} } @l; + @l = uniq_ { $type_name2fs_type{$_[0]} } @l; + (@l, @{$type_names{non_fs_type}}); } else { @l; } |