summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-22 04:24:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-22 04:24:59 +0000
commit8974ec2c9659a7e55fe1cbb411ce5e8e61bc7f97 (patch)
tree8e62da81e6750fd519590694071a09718feead79 /perl-install/fs.pm
parent9e0ae28741123347b3eec0a365fefdb129fd5445 (diff)
downloaddrakx-backup-do-not-use-8974ec2c9659a7e55fe1cbb411ce5e8e61bc7f97.tar
drakx-backup-do-not-use-8974ec2c9659a7e55fe1cbb411ce5e8e61bc7f97.tar.gz
drakx-backup-do-not-use-8974ec2c9659a7e55fe1cbb411ce5e8e61bc7f97.tar.bz2
drakx-backup-do-not-use-8974ec2c9659a7e55fe1cbb411ce5e8e61bc7f97.tar.xz
drakx-backup-do-not-use-8974ec2c9659a7e55fe1cbb411ce5e8e61bc7f97.zip
silently ignore encrypted filesystems with no encrypt_key
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 8c790cdec..9f6fc68cf 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -548,6 +548,9 @@ sub mount_part {
my $mntpoint = ($o_prefix || '') . $part->{mntpoint};
if (isLoopback($part) || $part->{encrypt_key}) {
set_loop($part);
+ } elsif ($part->{options} =~ /encrypted/) {
+ log::l("skip mounting $part->{device} since we don't have the encrypt_key");
+ return;
} elsif (loopback::carryRootLoopback($part)) {
$mntpoint = "/initrd/loopfs";
}