summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-18 11:21:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-18 11:21:43 +0000
commit7adbdf7b9f2bccda2dbac6ebea515a815e849bf2 (patch)
tree8b3a9f797a768d1cc14f0d64fbdf7f8d65c57b69 /perl-install/partition_table.pm
parent07083a16b1e8ea933cb8b6f7f53cc6beca11ccc4 (diff)
downloaddrakx-7adbdf7b9f2bccda2dbac6ebea515a815e849bf2.tar
drakx-7adbdf7b9f2bccda2dbac6ebea515a815e849bf2.tar.gz
drakx-7adbdf7b9f2bccda2dbac6ebea515a815e849bf2.tar.bz2
drakx-7adbdf7b9f2bccda2dbac6ebea515a815e849bf2.tar.xz
drakx-7adbdf7b9f2bccda2dbac6ebea515a815e849bf2.zip
handle "LVM on full disk" like other partition tables
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index a18dc0bb9..9a66afc50 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -230,7 +230,7 @@ sub read_primary {
#- but other sectors (typically for extended partition ones) have to match this type!
my @parttype = (
if_(arch() =~ /^ia64/, 'gpt'),
- arch() =~ /^sparc/ ? ('sun', 'bsd') : ('dos', 'bsd', 'sun', 'mac'),
+ arch() =~ /^sparc/ ? ('sun', 'bsd') : ('dos', 'lvm', 'bsd', 'sun', 'mac'),
);
foreach ('empty', @parttype, 'unknown') {
/unknown/ and die "unknown partition table format on disk " . $hd->{file};
@@ -238,6 +238,7 @@ sub read_primary {
# perl_checker: require partition_table::bsd
# perl_checker: require partition_table::dos
# perl_checker: require partition_table::empty
+ # perl_checker: require partition_table::lvm
# perl_checker: require partition_table::gpt
# perl_checker: require partition_table::mac
# perl_checker: require partition_table::sun