From 56b573476e2ea63a509ab2f8ec0683397ae7c85e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 8 Aug 2007 10:42:16 +0000 Subject: - diskdrake: o do not show partition types which have no associated filesystem for LVM LV (#32326) nb: we still would need to have pt_type per partition_table types --- perl-install/lvm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/lvm.pm') diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index 018811ea1..2c51b2768 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -19,6 +19,7 @@ sub new { $name = substr($name, 0, 63); # max length must be < NAME_LEN / 2 where NAME_LEN is 128 bless { disks => [], VG_name => $name }, $class; } +sub use_pt_type { 0 } sub hasExtended { 0 } sub adjustStart {} sub adjustEnd {} -- cgit v1.2.1