diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-10-18 08:57:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-10-18 08:57:22 +0000 |
commit | d19e29a2f391ce804e45d7d24c685c275e3296a3 (patch) | |
tree | 4aa4f604c54215d43626405fd84ee958b7aedf7a /perl-install/raid.pm | |
parent | a29dd61571d4724bea32eb6dc7422f98f516156c (diff) | |
download | drakx-d19e29a2f391ce804e45d7d24c685c275e3296a3.tar drakx-d19e29a2f391ce804e45d7d24c685c275e3296a3.tar.gz drakx-d19e29a2f391ce804e45d7d24c685c275e3296a3.tar.bz2 drakx-d19e29a2f391ce804e45d7d24c685c275e3296a3.tar.xz drakx-d19e29a2f391ce804e45d7d24c685c275e3296a3.zip |
"mdadm --detail --brief" doesn't contain "devices=..." anymore (since mdadm 1.12.0),
it needs option "-v" to keep previous behaviour
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |