diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2010-05-24 14:12:09 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2010-05-24 14:12:09 +0000 |
commit | 5aeee52087bef62b1257c82a72ef0c930899a2fb (patch) | |
tree | 5596a39cfab3666239106a6ab42d8e7b5b551f62 /perl-install/raid.pm | |
parent | 2b6cfe3f053b6fd881be7ecafa6c05c8d7851d6e (diff) | |
download | drakx-5aeee52087bef62b1257c82a72ef0c930899a2fb.tar drakx-5aeee52087bef62b1257c82a72ef0c930899a2fb.tar.gz drakx-5aeee52087bef62b1257c82a72ef0c930899a2fb.tar.bz2 drakx-5aeee52087bef62b1257c82a72ef0c930899a2fb.tar.xz drakx-5aeee52087bef62b1257c82a72ef0c930899a2fb.zip |
load raid metadata version
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index d9cb6a83d..a70b841fd 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -226,7 +226,12 @@ sub get_existing { } } split(',', $raw_part->{devices}); - my $md_part = new($raids, device => $md, UUID => $raw_part->{UUID}, level => $raw_part->{level}, disks => \@mdparts); + my $md_part = new($raids, + device => $md, + UUID => $raw_part->{UUID}, + level => $raw_part->{level}, + metadata => $raw_part->{metadata}, + disks => \@mdparts); my $type = fs::type::type_subpart_from_magic($md_part); if ($type) { |