summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-08 07:10:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-08 07:10:15 +0000
commit3c6fbfb082361277877a5dd82f7014eff0afaa92 (patch)
tree08abbcab50b6eecbf5f1f4821ccbbf5865f041df /perl-install/diskdrake/hd_gtk.pm
parent98a4be8ec81d7865a4655fc322b52e866e1c64a2 (diff)
downloaddrakx-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar
drakx-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar.gz
drakx-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar.bz2
drakx-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar.xz
drakx-3c6fbfb082361277877a5dd82f7014eff0afaa92.zip
- switch to mdadm (instead of raidtools)
- create mdadm.conf instead of raidtab - internal {raids} is no more indexed by X for mdX, and so don't have holes anymore - internal {chunk-size} is now a number in KiB - internal {raid} is the raid device name, not the number - various cleanup for raid detection
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 4af2a36a1..a9ebdc769 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -244,7 +244,7 @@ sub create_automatic_notebooks {
};
$may_add->(hd2kind($_)) foreach @{$all_hds->{hds}};
$may_add->(lvm2kind($_)) foreach @{$all_hds->{lvms}};
- $may_add->(raid2kind()) if any { $_ } @{$all_hds->{raids}};
+ $may_add->(raid2kind()) if @{$all_hds->{raids}};
$may_add->(loopback2kind()) if @{$all_hds->{loopbacks}};
@notebook = grep_index {