summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs/type.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index e4071e35c..81673b01f 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -32,6 +32,9 @@ if_(arch() =~ /i.86|x86_64/,
0x07 => 'ntfs-3g', 'NTFS-3G',
0x07 => 'ntfs', 'NTFS',
),
+if_( is_uefi(),
+ 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)',
+),
],
non_fs_type => [
@@ -128,7 +131,9 @@ if_(arch() =~ /i.86|x86_64/,
0xe4 => '', 'SpeedStor (FAT-16)',
0xeb => 'befs', 'BeOS fs',
0xee => '', 'EFI GPT',
- 0xef => 'vfat', 'EFI (FAT-12/16/32)',
+if_( ! is_uefi(),
+ 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)',
+),
0xf0 => '', 'Linux/PA-RISC boot',
0xf4 => '', 'SpeedStor (large part.)',
0xf2 => '', 'DOS secondary',