summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-19 14:02:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-19 14:02:41 +0000
commitb0b1c6146ae1dab13cc791f521b1634a08bdb2ee (patch)
tree5313c55c7f596ef66b3572aaaecc6656a3373dc7 /perl-install/raid.pm
parent03fab8292ca503a2a1382b193bd2c16aa87bf8e9 (diff)
downloaddrakx-backup-do-not-use-b0b1c6146ae1dab13cc791f521b1634a08bdb2ee.tar
drakx-backup-do-not-use-b0b1c6146ae1dab13cc791f521b1634a08bdb2ee.tar.gz
drakx-backup-do-not-use-b0b1c6146ae1dab13cc791f521b1634a08bdb2ee.tar.bz2
drakx-backup-do-not-use-b0b1c6146ae1dab13cc791f521b1634a08bdb2ee.tar.xz
drakx-backup-do-not-use-b0b1c6146ae1dab13cc791f521b1634a08bdb2ee.zip
mkraid wants all the md devices written in raidtab to exist, even if asking to
create a specific md
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 93e491e4a..701ad1a3d 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -109,8 +109,8 @@ sub write {
output($file,
map {
- my $s = sprintf(<<EOF, $_->{device}, $_->{level}, $_->{'chunk-size'}, int @{$_->{disks}});
-raiddev /dev/%s
+ my $s = sprintf(<<EOF, devices::make($_->{device}), $_->{level}, $_->{'chunk-size'}, int @{$_->{disks}});
+raiddev %s
raid-level %s
chunk-size %s
persistent-superblock 1