summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/sun.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-08 10:42:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-08 10:42:16 +0000
commit56b573476e2ea63a509ab2f8ec0683397ae7c85e (patch)
tree0b075efca3de395e4165a97c4b314f88a69e8672 /perl-install/partition_table/sun.pm
parent27379879c56c139b61dd3312001b7aab4e8388de (diff)
downloaddrakx-backup-do-not-use-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar
drakx-backup-do-not-use-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar.gz
drakx-backup-do-not-use-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar.bz2
drakx-backup-do-not-use-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar.xz
drakx-backup-do-not-use-56b573476e2ea63a509ab2f8ec0683397ae7c85e.zip
- 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
Diffstat (limited to 'perl-install/partition_table/sun.pm')
-rw-r--r--perl-install/partition_table/sun.pm2
1 files changed, 2 insertions, 0 deletions
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};