#797 PR merged: call partprobe in a backward compatible and fail safe way

Labels: enhancement, fixed / solved / done

jsmeix opened issue at 2016-03-11 14:45:

in 10_include_partition_code.sh call partprobe in a backward compatible and fail safe way, see https://github.com/rear/rear/issues/793

Tested on SLES12-SP1 where it still works for me.

After recovery I have in the recovered system in /var/log/rear/recover/rear-f197.log (excerpts):

++ . /var/lib/rear/layout/diskrestore.sh
...
+++ udevadm settle
+++ sleep 1
+++ partprobe -s /dev/sda
/dev/sda: msdos partitions 1 2
+++ my_udevtrigger

I.e. for me partprobe "just works" (as it always did) so that I cannot actually verify if my fail safe way really works (but at least it seems
it is still really backward compatible).


[Export of Github issue for rear/rear.]