summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-24 19:00:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-24 19:00:12 +0000
commit73c851144720e28b21a491b6250385170db9d752 (patch)
treedcc9fae4302b3d083ad7cc7a808e5d17f970bb8c /perl-install/raid.pm
parent0dc3338257439d2265c1eb13c3a66c9431c88cb5 (diff)
downloaddrakx-backup-do-not-use-73c851144720e28b21a491b6250385170db9d752.tar
drakx-backup-do-not-use-73c851144720e28b21a491b6250385170db9d752.tar.gz
drakx-backup-do-not-use-73c851144720e28b21a491b6250385170db9d752.tar.bz2
drakx-backup-do-not-use-73c851144720e28b21a491b6250385170db9d752.tar.xz
drakx-backup-do-not-use-73c851144720e28b21a491b6250385170db9d752.zip
perl_checker adaptations + fixes
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 82fb4e0db..df2cb6cde 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -13,7 +13,7 @@ use devices;
use modules;
use fs;
-sub max_nb { 31 }
+sub max_nb() { 31 }
sub nb {
my ($nb) = @_;
@@ -174,7 +174,7 @@ sub inactivate_and_dirty {
$part->{notFormatted} = 1; $part->{isFormatted} = 0;
}
-sub active_mds {
+sub active_mds() {
map { if_(/^(md\d+) /, $1) } cat_("/proc/mdstat");
}