summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-25 18:30:22 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-25 18:30:22 +0000
commit9016c050d8c87bbf13b04bbf36fe6e1951119188 (patch)
tree8be38809ec61f75f4226c9c70f9a999d1c845884 /rescue/guessmounts
parenteebcd548640f89b5b6894477609032618e10b909 (diff)
downloaddrakx-9016c050d8c87bbf13b04bbf36fe6e1951119188.tar
drakx-9016c050d8c87bbf13b04bbf36fe6e1951119188.tar.gz
drakx-9016c050d8c87bbf13b04bbf36fe6e1951119188.tar.bz2
drakx-9016c050d8c87bbf13b04bbf36fe6e1951119188.tar.xz
drakx-9016c050d8c87bbf13b04bbf36fe6e1951119188.zip
fix mounting / on soft RAID or crypted LV (mga#3778 & mga#448)
Diffstat (limited to 'rescue/guessmounts')
-rwxr-xr-xrescue/guessmounts2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index 8fa92d427..48d24dbab 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -16,6 +16,7 @@ use lib qw(/usr/lib/libDrakX);
use common;
use devices;
use fs;
+use fs::dmcrypt;
use fs::proc_partitions;
use fs::type;
use lvm;
@@ -38,6 +39,7 @@ mkdir_p($target);
devices::init_device_mapper();
lvm::detect_during_install();
+fs::dmcrypt::init;
my @parts = map {
$_->{device} = delete $_->{dev};