summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs/type.pm9
1 files changed, 3 insertions, 6 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 55592d6f1..435fe7392 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -25,6 +25,9 @@ my (%type_name2pt_type, %type_name2fs_type, %fs_type2pt_type, %pt_type2fs_type,
0x83 => 'ext4', 'Journalised FS: ext4',
0x83 => 'btrfs', 'Journalised FS: Btrfs',
0x83 => 'reiserfs', 'Journalised FS: ReiserFS',
+if_( is_uefi(),
+ 0xef => 'vfat', 'EFI System Partition',
+),
if_(arch() =~ /i.86|x86_64/,
0x83 => 'xfs', 'Journalised FS: XFS',
0x83 => 'jfs', 'Journalised FS: JFS',
@@ -32,9 +35,6 @@ 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 => [
@@ -131,9 +131,6 @@ if_( is_uefi(),
0xe4 => '', 'SpeedStor (FAT-16)',
0xeb => 'befs', 'BeOS fs',
0xee => '', 'EFI GPT',
-if_( ! is_uefi(),
- 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)',
-),
0xf0 => '', 'Linux/PA-RISC boot',
0xf4 => '', 'SpeedStor (large part.)',
0xf2 => '', 'DOS secondary',