|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ddrescue] Fill mode does not work if input_position is greater than file size |
Date: | Fri, 04 Jan 2008 23:46:51 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Christian,Of course ddrescue cannot work if input_position is greater than input file size. Just remember that in fill mode the input file is the file from which the fill data is read.
Try this: # ddrescue -i 10000000b -s 2000000b -o 0 bad_disk file.img file.log # ddrescue -F - fill_file file.img file.log
The -i is necessary, because ddrescue records the original physical offsets in the logfile.
The -i is needed only if you want to read the fill file from a given position.
Hmm...would it make sense the store the input/output_position offset in the logfile also?
And what is ddrescue supposed to do with them? Regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |