summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-05-24 09:41:20 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-05-24 09:41:20 +0000
commit00a84d74677a56f9101b97ab2a8dc313577ff194 (patch)
treed9851355a7753036c0b72016047bae0cafec1815 /perl-install/raid.pm
parent7828f84659333d3ce663bf36def8795977d48d42 (diff)
downloaddrakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar.gz
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar.bz2
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar.xz
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.zip
allow forcing raid metadata version
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 82905449e..d9cb6a83d 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -140,6 +140,7 @@ sub make {
'--chunk=' . $part->{'chunk-size'},
"--level=$part->{level}",
"--raid-devices=$nb",
+ if_($part->{'metadata'}, "--metadata=$part->{'metadata'}"),
map { devices::make($_->{device}) } @{$part->{disks}});
if (my $raw_part = get_md_info($dev)) {