diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-04-20 18:22:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-04-20 18:22:10 +0000 |
commit | 6f733b8a89df9e973657323fc410159774d18241 (patch) | |
tree | d67dc3e98933773a3ad3a12b7ca6c6afcd079462 /perl-install/diskdrake | |
parent | 55389cf8eb3412480bf7f767a7fa3ac297f5916c (diff) | |
download | drakx-backup-do-not-use-6f733b8a89df9e973657323fc410159774d18241.tar drakx-backup-do-not-use-6f733b8a89df9e973657323fc410159774d18241.tar.gz drakx-backup-do-not-use-6f733b8a89df9e973657323fc410159774d18241.tar.bz2 drakx-backup-do-not-use-6f733b8a89df9e973657323fc410159774d18241.tar.xz drakx-backup-do-not-use-6f733b8a89df9e973657323fc410159774d18241.zip |
(raid2real_kind) introduces it
like lvm2kind(), it processes one raid device at a time instead
of returning { type => 'raid, name => 'raid', val => undef }
(which later causes crashes in partioning wizard)
(this obviously was never tested when introducing the later)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index c9eca1cec..70f8a3f57 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -442,6 +442,11 @@ sub raid2kind() { { type => 'raid', name => 'raid', val => $all_hds->{raids} }; } +sub raid2real_kind { + my ($raid) = @_; + { type => 'raid', name => 'raid', val => $raid }; +} + ################################################################################ # loopbacks: helpers ################################################################################ |