The root of the problem is that there are actually two different fill-modes: fill the input or output file of rescue operation.

# ddrescue -i ... -o ... bad_disk file.img file.log


- Input file fill mode, e.g. force reallocation of disk bad blocks:

# ddrescue -F - /dev/zero bad_disk file.log

This always works as expected. The logfile contains the correct positions for the input file, regardless of -i/-o settings during rescue.


- Output file fill mode, e.g. mark bad block in image file:

# ddrescue -F - fill_file file.img file.log

This only works if -i/-o setting were identical during rescue. Otherwise the logfile does not contain correct positions.

Regards,
   Christian



_______________________________________________
Bug-ddrescue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to