summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2001-11-20 18:34:47 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2001-11-20 18:34:47 +0000
commit6ce11f3f7d689f0677eff494b993a9f2e045b5a0 (patch)
treef0f570412f9853e6f5a71d9c1bd25814574b8153
parenta45b2f1b459b4046d3a73ce0a46d8c386ae6c60b (diff)
downloaddrakx-6ce11f3f7d689f0677eff494b993a9f2e045b5a0.tar
drakx-6ce11f3f7d689f0677eff494b993a9f2e045b5a0.tar.gz
drakx-6ce11f3f7d689f0677eff494b993a9f2e045b5a0.tar.bz2
drakx-6ce11f3f7d689f0677eff494b993a9f2e045b5a0.tar.xz
drakx-6ce11f3f7d689f0677eff494b993a9f2e045b5a0.zip
- 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...
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
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]) }