summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
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/raid.pm
parent6afc63f173fc2ea3c51e8a88ccb28bc96b554f6e (diff)
downloaddrakx-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar
drakx-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar.gz
drakx-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar.bz2
drakx-7c377cbe86f3b23cbff853381c30cb410fab2b26.tar.xz
drakx-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/raid.pm')
-rw-r--r--perl-install/raid.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 135218344..0475b68ef 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -53,6 +53,7 @@ sub delete {
inactivate_and_dirty($md_part);
delete $_->{raid} foreach @{$md_part->{disks}};
@$raids = grep { $_ != $md_part } @$raids;
+ write_conf($raids) if $::isStandalone;
}
sub change_device {
@@ -77,6 +78,7 @@ sub removeDisk {
} else {
@$raids = grep { $_ != $md_part } @$raids;
}
+ write_conf($raids) if $::isStandalone;
}
sub updateSize {