summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-16 16:08:07 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-16 16:08:07 +0000
commit53a31b48bbf39123509951793de489209c68a63e (patch)
tree6f30fc2243b316a6f94cec7cbdfe7f659c2d2e7b /rescue/guessmounts
parent5e0c8768d1d3fd0e5434e265c386e154f65b6ebc (diff)
downloaddrakx-53a31b48bbf39123509951793de489209c68a63e.tar
drakx-53a31b48bbf39123509951793de489209c68a63e.tar.gz
drakx-53a31b48bbf39123509951793de489209c68a63e.tar.bz2
drakx-53a31b48bbf39123509951793de489209c68a63e.tar.xz
drakx-53a31b48bbf39123509951793de489209c68a63e.zip
use lvm::detect_during_install
Diffstat (limited to 'rescue/guessmounts')
-rwxr-xr-xrescue/guessmounts3
1 files changed, 1 insertions, 2 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index dddeaed26..33530ef8c 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -35,8 +35,7 @@ print STDERR "\nPlease wait, trying to find your root device...\n";
mkdir_p($target);
-run_program::run('lvm2', 'vgscan');
-run_program::run('lvm2', 'vgchange', '-a', 'y');
+lvm::detect_during_install();
my @parts = map {
$_->{device} = delete $_->{dev};