summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-21 14:49:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-21 14:49:12 +0000
commit7c377cbe86f3b23cbff853381c30cb410fab2b26 (patch)
tree2f89deaa01014a523d1a7c423ea782bfa2108d2b /perl-install/diskdrake
parent6afc63f173fc2ea3c51e8a88ccb28bc96b554f6e (diff)
downloaddrakx-backup-do-not-use-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar
drakx-backup-do-not-use-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar.gz
drakx-backup-do-not-use-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar.bz2
drakx-backup-do-not-use-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar.xz
drakx-backup-do-not-use-7c377cbe86f3b23cbff853381c30cb410fab2b26.zip
- diskdrake:
o write mdadm.conf when it is modified (#32360) (a nicer fix would be to write it when needed, not so soon, but it's harder)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index aac735029..9f3413dae 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -845,6 +845,7 @@ sub Add2RAID {
if (ref($md_part)) {
raid::add($md_part, $part);
+ raid::write_conf($raids) if $::isStandalone;
} else {
raid::check_prog($in) or return;
my $md_part = raid::new($raids, disks => [ $part ]);
@@ -1048,6 +1049,7 @@ sub modifyRAID {
) or return;
raid::change_device($md_part, $new_device);
raid::updateSize($md_part); # changing the raid level changes the size available
+ raid::write_conf($raids) if $::isStandalone;
1;
}