summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-01-21 20:23:18 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-02-25 11:31:16 +0000
commit0d79e34dad3062575746f97c613f0e643a2d8b29 (patch)
tree16d66903829db5b2df091368809e10633775d78d /perl-install/fs
parent75445cb236238e0203eb3e162c0f7ebcddcceba2 (diff)
downloaddrakx-0d79e34dad3062575746f97c613f0e643a2d8b29.tar
drakx-0d79e34dad3062575746f97c613f0e643a2d8b29.tar.gz
drakx-0d79e34dad3062575746f97c613f0e643a2d8b29.tar.bz2
drakx-0d79e34dad3062575746f97c613f0e643a2d8b29.tar.xz
drakx-0d79e34dad3062575746f97c613f0e643a2d8b29.zip
Preserve DOS "Empty" partitions instead of treating them as free space (mga#20074).
To minimise the changes this close to mga6 release (and until we fix the bug in partition auto-allocation that mistakenly creates BIOS boot partitions non-GPT disks), reuse the BIOS_GRUB flag for flagging Empty partitions, as the real partition ID (0x00) is used to flag free space.
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/type.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index ad84738f7..a6a53c83e 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -26,7 +26,7 @@ my (%type_name2pt_type, %type_name2fs_type, %fs_type2pt_type, %pt_type2fs_type,
0x83 => 'btrfs', 'Journalised FS: Btrfs',
(is_uefi() ?
(0xef => 'vfat', 'EFI System Partition') :
- ('BIOS_GRUB' => 'BIOS_GRUB', 'BIOS boot partition'),
+ ('BIOS_GRUB' => 'BIOS_GRUB', 'BIOS boot or Empty partition')
),
if_(arch() =~ /i.86|x86_64/,
0x83 => 'xfs', 'Journalised FS: XFS',