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/partition_table/sun.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/partition_table/sun.pm') diff --git a/perl-install/partition_table/sun.pm b/perl-install/partition_table/sun.pm index 54e734ca8..49228d0f8 100644 --- a/perl-install/partition_table/sun.pm +++ b/perl-install/partition_table/sun.pm @@ -39,6 +39,8 @@ my $magic = 0xDABE; my $nb_primary = 8; my $offset = 0; +sub use_pt_type { 1 } + sub adjustStart($$) { my ($hd, $part) = @_; my $end = $part->{start} + $part->{size}; -- cgit v1.2.1