|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ddrescue] an issue with reading cd-rom discs on linux |
Date: | Tue, 19 Jun 2012 13:52:05 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Felix, Felix Ehlermann wrote:
if the output file is larger dd_rescue should not complain nor should it truncate the output file?).
Ddrescue does not check the output file size because any size can be valid. From an inexistent file (or one of size 0), to a block device larger than the input device being copied.
Ddrescue never truncates the output file unless the --truncate option is specified.
Of course it's less intuitive, but I think it's a more advanced thing to do so IMO it's OK to require more advanced steps to accomplish.
Merging a partial copy not produced with ddrescue (i.e., without a valid logfile), is not a trivial task. And creating a valid logfile with an editor is probably the least difficult part of doing it.
The Track-at-Once-behavior might be something to be covered in an FAQ anyway.
What do you think about my proposed solution of truncating the logfile when there are no blocks marked as done in the rest of the logfile? (Posibbly showing a warning and asking the user before continuing).
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |