summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/bsd.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/bsd.pm
parent27379879c56c139b61dd3312001b7aab4e8388de (diff)
downloaddrakx-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar
drakx-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar.gz
drakx-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar.bz2
drakx-56b573476e2ea63a509ab2f8ec0683397ae7c85e.tar.xz
drakx-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/bsd.pm')
-rw-r--r--perl-install/partition_table/bsd.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/partition_table/bsd.pm b/perl-install/partition_table/bsd.pm
index 0e2421c25..560a75fd9 100644
--- a/perl-install/partition_table/bsd.pm
+++ b/perl-install/partition_table/bsd.pm
@@ -58,6 +58,9 @@ my $magic = 0x82564557;
my $nb_primary = 8;
my $offset = 0x40;
+
+sub use_pt_type { 1 }
+
sub read($$) {
my ($hd, $sector) = @_;
my $tmp;