[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] Fill mode does not work if input_position is greater
From: |
Christian Franke |
Subject: |
Re: [Bug-ddrescue] Fill mode does not work if input_position is greater than file size |
Date: |
Sat, 05 Jan 2008 22:32:01 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 |
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