From 6ce11f3f7d689f0677eff494b993a9f2e045b5a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Tue, 20 Nov 2001 18:34:47 +0000 Subject: - Add isEfi() to isOtherAvailableFS() test so that install doesn't suggest to format /boot/efi by default. That way, we could preserve (shame on us) EFI boot partition generated by Windows XP 64 bits... --- perl-install/partition_table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index c598af786..aea51b3f6 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -242,7 +242,7 @@ sub isHiddenMacPart { defined $_[0]{isMap} } sub isThisFs { type2fs($_[1]) eq $_[0] } sub isTrueFS { member(type2fs($_[0]), qw(ext2 reiserfs xfs jfs ext3)) } -sub isOtherAvailableFS { isFat($_[0]) || isSunOS($_[0]) || isThisFs('hfs', $_[0]) } #- other OS that linux can access its filesystem +sub isOtherAvailableFS { isEfi($_[0]) || isFat($_[0]) || isSunOS($_[0]) || isThisFs('hfs', $_[0]) } #- other OS that linux can access its filesystem sub isMountableRW { isTrueFS($_[0]) || isOtherAvailableFS($_[0]) } sub isNonMountable { isRawRAID($_[0]) || isRawLVM($_[0]) } -- cgit v1.2.1