From 53a31b48bbf39123509951793de489209c68a63e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 16 Oct 2009 16:08:07 +0000 Subject: use lvm::detect_during_install --- rescue/guessmounts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rescue/guessmounts') 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}; -- cgit v1.2.1