From 98a649e12397c16d9a3999e8fd88be2e86a6bddf Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 2 Jun 2008 08:39:28 +0000 Subject: - 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 --- perl-install/fs/partitioning_wizard.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/fs') 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', -- cgit v1.2.1