diff options
-rw-r--r-- | perl-install/NEWS | 4 | ||||
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index ba7aea921..f760d8a10 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- diskdrake: + o fix resizing's faillures due to udev race when writing the + partition table + Version 10.4.130 - 16 May 2007, by Thierry Vignaud - bootloader-config: do create /boot/initrd-xxx.img when there is no 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; }; |