diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-05-16 14:17:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-05-16 14:17:20 +0000 |
commit | 753a7f99254ef90a29717837114bc738e4d5c5eb (patch) | |
tree | 92c620dd8d4bececbad0aafbc783de44391c7751 /perl-install/diskdrake/interactive.pm | |
parent | b8b9e1de4185eb1f62f43f61a1eddda9b8bad657 (diff) | |
download | drakx-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/interactive.pm')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 3 |
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; }; |