summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-05-16 14:17:20 +0000
committerThierry Vignaud <tv@mandriva.org>2007-05-16 14:17:20 +0000
commit753a7f99254ef90a29717837114bc738e4d5c5eb (patch)
tree92c620dd8d4bececbad0aafbc783de44391c7751 /perl-install/diskdrake
parentb8b9e1de4185eb1f62f43f61a1eddda9b8bad657 (diff)
downloaddrakx-753a7f99254ef90a29717837114bc738e4d5c5eb.tar
drakx-753a7f99254ef90a29717837114bc738e4d5c5eb.tar.gz
drakx-753a7f99254ef90a29717837114bc738e4d5c5eb.tar.bz2
drakx-753a7f99254ef90a29717837114bc738e4d5c5eb.tar.xz
drakx-753a7f99254ef90a29717837114bc738e4d5c5eb.zip
fix resizing's faillures due to udev's race when writing the partition table
thus deleting then recreating the nodes (thus leaving a race window...)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 3764f6a60..282492c36 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -799,6 +799,9 @@ sub Resize {
partition_table::adjust_local_extended($hd, $part);
partition_table::adjust_main_extended($hd);
write_partitions($in, $hd) or return if $write_partitions && %nice_resize;
+ # fix resizing's faillures due to udev's race when writing the partition table
+ # (deleting then recreating the nodes leaves a race window...)
+ devices::make($part->{device});
}
1;
};