summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-10-18 08:57:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-10-18 08:57:22 +0000
commitd19e29a2f391ce804e45d7d24c685c275e3296a3 (patch)
tree4aa4f604c54215d43626405fd84ee958b7aedf7a /perl-install/raid.pm
parenta29dd61571d4724bea32eb6dc7422f98f516156c (diff)
downloaddrakx-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.pm2
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");