diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-18 17:00:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-18 17:00:11 +0000 |
commit | 562c8c525f7b9bf005c56e589623817a19e23438 (patch) | |
tree | 86a8d5a18b187918d962eb78bed852c75f0cded3 /perl-install/partition_table.pm | |
parent | 8d97f13366221db1ec0b8400dac8fb9c26180621 (diff) | |
download | drakx-backup-do-not-use-562c8c525f7b9bf005c56e589623817a19e23438.tar drakx-backup-do-not-use-562c8c525f7b9bf005c56e589623817a19e23438.tar.gz drakx-backup-do-not-use-562c8c525f7b9bf005c56e589623817a19e23438.tar.bz2 drakx-backup-do-not-use-562c8c525f7b9bf005c56e589623817a19e23438.tar.xz drakx-backup-do-not-use-562c8c525f7b9bf005c56e589623817a19e23438.zip |
- diskdrake:
o handle partitions encrypted with cryptsetup
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index d26a14e31..1ff4936db 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -260,7 +260,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') : ('lvm', 'dos', 'bsd', 'sun', 'mac'), + arch() =~ /^sparc/ ? ('sun', 'bsd') : ('lvm', 'dmcrypt', 'dos', 'bsd', 'sun', 'mac'), ); foreach ('empty', @parttype, 'unknown') { /unknown/ and die "unknown partition table format on disk " . $hd->{file}; @@ -268,6 +268,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::dmcrypt # perl_checker: require partition_table::lvm # perl_checker: require partition_table::gpt # perl_checker: require partition_table::mac |