diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 13:01:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 13:01:30 +0000 |
commit | 89ae8e4d380d98463561887607e5e1b5ec0fb5a7 (patch) | |
tree | c3fb83cbd5552f4de1421c42c28557e7e34eecbe /perl-install/partition_table.pm | |
parent | c6fb4123f141c3feea58fb0430c62172c2ce69a0 (diff) | |
download | drakx-backup-do-not-use-89ae8e4d380d98463561887607e5e1b5ec0fb5a7.tar drakx-backup-do-not-use-89ae8e4d380d98463561887607e5e1b5ec0fb5a7.tar.gz drakx-backup-do-not-use-89ae8e4d380d98463561887607e5e1b5ec0fb5a7.tar.bz2 drakx-backup-do-not-use-89ae8e4d380d98463561887607e5e1b5ec0fb5a7.tar.xz drakx-backup-do-not-use-89ae8e4d380d98463561887607e5e1b5ec0fb5a7.zip |
- 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.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 590365536..b350ad9ae 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -256,7 +256,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}; |