Florian Sedivy wrote:
Or the syntax check could have a "loose mode" used only for
rescue-domain log files (and maybe also in fill mode?). It would be
enough to only check the lines that will actually be used, and those
by the rule, that they "must be strictly ascending and non-overlapping".
This is an interesting idea. I'll see how to implement it.
I didn't check the internals of treating domain logfiles, so maybe the
answer to the following will be strict no. I'm wondering is it possible
not to have any restrictions on the domain logfile? In my mind domain
logfile is simply a file which defines domains which should be rescued
*separately*. In this sense randomly positioned or even overlapping
ranges are possible, since ddrescue would simply walk through the
domains and would try to copy yet uncopied parts. If some parts are
present is multiple domains, no problem. If these parts are already
copied, nothing to do. If they are not copied, let's try. Treating
domain logfile like this would make it unnecessary to create a valid
logfile from a file like mine defining separate domains.
Gábor
_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue