summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-20 03:22:33 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-20 18:34:47 +0200
commitb392299c4d0c391cf5d55479bd1ebca43cbec8c3 (patch)
tree22af2dbc3812398c2936628cc387e0699bba390d
parent072e482acfa92d02045cf90a34c51d4d7b3f85b9 (diff)
downloaddrakx-b392299c4d0c391cf5d55479bd1ebca43cbec8c3.tar
drakx-b392299c4d0c391cf5d55479bd1ebca43cbec8c3.tar.gz
drakx-b392299c4d0c391cf5d55479bd1ebca43cbec8c3.tar.bz2
drakx-b392299c4d0c391cf5d55479bd1ebca43cbec8c3.tar.xz
drakx-b392299c4d0c391cf5d55479bd1ebca43cbec8c3.zip
prefer 'fat32' over 'fat16'
not that important as we do the format/..., we only rely on libparted for writing the partition table & setting the GUID, but just in case...
-rw-r--r--perl-install/partition_table/gpt.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm
index 5c1f53ca0..161ea621a 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -109,6 +109,8 @@ my %parted_mapping = (
'fat32' => 'vfat',
);
my %rev_parted_mapping = reverse %parted_mapping;
+# prefer 'fat32' over 'fat16':
+$rev_parted_mapping{vfat} = 'fat32';
sub read_one {
my ($hd, $_sector) = @_;