summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-22 13:02:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-22 13:02:08 +0000
commit2e7ee11f9e069cffaf1d4f8f98d98810a20d7e43 (patch)
tree189f74c2266261014873326ca8be6b1bf3519d5f /perl-install/partition_table.pm
parent476375d5d216333e231d796bc3e9dc58befe82d1 (diff)
downloaddrakx-2e7ee11f9e069cffaf1d4f8f98d98810a20d7e43.tar
drakx-2e7ee11f9e069cffaf1d4f8f98d98810a20d7e43.tar.gz
drakx-2e7ee11f9e069cffaf1d4f8f98d98810a20d7e43.tar.bz2
drakx-2e7ee11f9e069cffaf1d4f8f98d98810a20d7e43.tar.xz
drakx-2e7ee11f9e069cffaf1d4f8f98d98810a20d7e43.zip
- bootloader-config, diskdrake:
o look for LVM PV on non partitioned disk before looking for DOS partition_table (esp. for lilo which puts the DOS magic)
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 752fe7088..7fec13559 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -254,7 +254,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', 'lvm', 'bsd', 'sun', 'mac'),
+ arch() =~ /^sparc/ ? ('sun', 'bsd') : ('lvm', 'dos', 'bsd', 'sun', 'mac'),
);
foreach ('empty', @parttype, 'unknown') {
/unknown/ and die "unknown partition table format on disk " . $hd->{file};