summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning_wizard.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-06-02 08:39:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-06-02 08:39:28 +0000
commit98a649e12397c16d9a3999e8fd88be2e86a6bddf (patch)
tree5470401728b79f25273b39fef5fd902cff39bd67 /perl-install/fs/partitioning_wizard.pm
parentca518976a35c196d12952034c6b6ec0397598bad (diff)
downloaddrakx-98a649e12397c16d9a3999e8fd88be2e86a6bddf.tar
drakx-98a649e12397c16d9a3999e8fd88be2e86a6bddf.tar.gz
drakx-98a649e12397c16d9a3999e8fd88be2e86a6bddf.tar.bz2
drakx-98a649e12397c16d9a3999e8fd88be2e86a6bddf.tar.xz
drakx-98a649e12397c16d9a3999e8fd88be2e86a6bddf.zip
- partitioning wizard:
o do not propose to resize "hidden" fat partitions o do not say "the Windows partition" when there can be more than one
Diffstat (limited to 'perl-install/fs/partitioning_wizard.pm')
-rw-r--r--perl-install/fs/partitioning_wizard.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 1ccca8ff5..56e620b47 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -121,9 +121,10 @@ sub partitionWizardSolutions {
}
- if (my @ok_for_resize_fat = grep { isFat_or_NTFS($_) && !fs::get::part2hd($_, $all_hds)->{readonly} } @$fstab) {
+ if (my @ok_for_resize_fat = grep { isFat_or_NTFS($_) && !fs::get::part2hd($_, $all_hds)->{readonly}
+ && fs::type::part2type_name($_) !~ /^Hidden/ } @$fstab) {
$solutions{resize_fat} =
- [ 20 - @ok_for_resize_fat, N("Use the free space on the Microsoft Windows® partition"),
+ [ 20 - @ok_for_resize_fat, N("Use the free space on a Microsoft Windows® partition"),
sub {
my $part = $in->ask_from_listf_raw({ messages => N("Which partition do you want to resize?"),
interactive_help_id => 'resizeFATChoose',