If you are using ddrescue against a filesystem (to recover raw file contents) - there is a scenario where the current
behavior doesn't handle things well - when the filesystem is hosed to the point of causing ddrescue to be killed with
segfaults.
I'd like to see two (what I see as probably relatively simple) improvements to
alleviate this:
1. Implement a "--log-every-time" option - you could use "-e" it looks like. The function would be that it would record
to the log file after every successful read, not just periodically. During normal use, this would be a killer in
performance, but during a crashing scenario, it would help tremendously.
2. When above option is used, ALSO write out (and flush) to the log
file _before_ every block is attempted.
The purpose there would be so that if ddrescue is killed while in the middle of that block read, it records it as being
tried so that it will skip it on next invocation.
-- Nathan
------------------------------------------------------------
Nathan Neulinger [email protected]
Neulinger Consulting (573) 612-1412
_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue