From d19e29a2f391ce804e45d7d24c685c275e3296a3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 18 Oct 2005 08:57:22 +0000 Subject: "mdadm --detail --brief" doesn't contain "devices=..." anymore (since mdadm 1.12.0), it needs option "-v" to keep previous behaviour --- perl-install/raid.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 4c0b6ca2c..3d39a9e3f 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -242,7 +242,7 @@ sub write_conf { sub get_md_info { my ($dev) = @_; - my $conf = parse_mdadm_conf(scalar run_program::get_stdout('mdadm', '--detail', '--brief', $dev)); + my $conf = parse_mdadm_conf(scalar run_program::get_stdout('mdadm', '--detail', '--brief', '-v', $dev)); @{$conf->{ARRAY}} or return; @{$conf->{ARRAY}} == 1 or internal_error("too many answers"); -- cgit v1.2.1