summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-03-08 23:09:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-03-08 23:09:32 +0000
commit15cde5c25f4ec7b5b8121d8a13ab9fe7c105e4b3 (patch)
tree5fa84300a4af2638286890e21751c3090c6d2d4b /perl-install/raid.pm
parentcbb0bae07578f66abc44d3adb26f9e90cf6c8581 (diff)
downloaddrakx-backup-do-not-use-15cde5c25f4ec7b5b8121d8a13ab9fe7c105e4b3.tar
drakx-backup-do-not-use-15cde5c25f4ec7b5b8121d8a13ab9fe7c105e4b3.tar.gz
drakx-backup-do-not-use-15cde5c25f4ec7b5b8121d8a13ab9fe7c105e4b3.tar.bz2
drakx-backup-do-not-use-15cde5c25f4ec7b5b8121d8a13ab9fe7c105e4b3.tar.xz
drakx-backup-do-not-use-15cde5c25f4ec7b5b8121d8a13ab9fe7c105e4b3.zip
no_comment
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index b59b2002b..5fcedf3b5 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -132,11 +132,9 @@ sub make {
sub format_part($$) {
my ($raid, $part) = @_;
- make($raid->{raid}, $part) if is($part);
- fs::format_part($part, $part->{toFormatCheck} ? "-c" : ());
- if (is($part)) {
- $_->{isFormatted} = 1 foreach @{$part->{disks}};
- }
+ make($raid->{raid}, $part);
+ fs::real_format_part($part);
+ $_->{isFormatted} = 1 foreach @{$part->{disks}};
}
sub verify($) {