From af0e7294864d848be588f3dc46807a4c66dbdb19 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 28 Jul 2004 03:48:47 +0000 Subject: don't set mount point /mnt/windows for removable devices --- perl-install/install_any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index fdfe55111..49dd76a57 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -1120,7 +1120,7 @@ sub getHds { $o->{fstab} = [ fsedit::get_really_all_fstab($all_hds) ]; fs::merge_info_from_mtab($o->{fstab}); - my @win = grep { isFat_or_NTFS($_) && maybeFormatted($_) } @{$o->{fstab}}; + my @win = grep { isFat_or_NTFS($_) && maybeFormatted($_) && !$_->{is_removable} } @{$o->{fstab}}; log::l("win parts: ", join ",", map { $_->{device} } @win) if @win; if (@win == 1) { #- Suggest /boot/efi on ia64. -- cgit v1.2.1