summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-10-18 08:57:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-10-18 08:57:03 +0000
commit2f78cbdc5d1ee3bb439fc8968c36a19175909dfa (patch)
tree364f065332a267ac6658c98ca635165c8be6c601 /perl-install/raid.pm
parent8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694 (diff)
downloaddrakx-2f78cbdc5d1ee3bb439fc8968c36a19175909dfa.tar
drakx-2f78cbdc5d1ee3bb439fc8968c36a19175909dfa.tar.gz
drakx-2f78cbdc5d1ee3bb439fc8968c36a19175909dfa.tar.bz2
drakx-2f78cbdc5d1ee3bb439fc8968c36a19175909dfa.tar.xz
drakx-2f78cbdc5d1ee3bb439fc8968c36a19175909dfa.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");