summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2015-02-03 22:12:26 +0000
committerPascal Terjan <pterjan@gmail.com>2015-02-03 22:16:04 +0000
commit5b898cd75b85c7334fb2f07a56bedbcbc24301d9 (patch)
treeec09e6102239004e3576be6fec6cd89d26bbe7eb /perl-install/partition_table.pm
parenta8d6ea909c2f065114ed58e64449847678359490 (diff)
downloaddrakx-5b898cd75b85c7334fb2f07a56bedbcbc24301d9.tar
drakx-5b898cd75b85c7334fb2f07a56bedbcbc24301d9.tar.gz
drakx-5b898cd75b85c7334fb2f07a56bedbcbc24301d9.tar.bz2
drakx-5b898cd75b85c7334fb2f07a56bedbcbc24301d9.tar.xz
drakx-5b898cd75b85c7334fb2f07a56bedbcbc24301d9.zip
Default to GPT on large disks, not LVM
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 0e493ef6f..d167b6521 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -222,8 +222,8 @@ sub get_normal_parts_and_holes {
sub _default_type {
my ($hd) = @_;
- is_uefi() ? 'gpt' :
- $hd->{totalsectors} > 4 * 1024 * 1024 * 2048 ? 'lvm' : "dos"; #- default to LVM on full disk when >4TB
+ # default to GPT on UEFI systems and disks > 4TB
+ is_uefi() || $hd->{totalsectors} > 4 * 1024 * 1024 * 2048 ? 'gpt' : "dos";
}
sub initialize {