Hello Andreas, Andreas Oberritter wrote:
here comes another patch (0003-*.patch). With it, ddrescue -E 1 aborts after one additional error occurred.
This is an useful feature, but we can save a new option by implementing it as an extension to the current -e option:
-e <n> // stop after n errors -e +<n> // stop after n new errors
This is useful when ddrescue runs for the first time. However, when splitting, ddrescue apparently doesn't increase the error counter.
Ddrescue counts as one single error area any number of contiguous errors, so it can increase the error counter when splitting if some good sectors are found inside an error area.
Because of that, I created another patch to exit on fatal errors, which however depends on two things: 1. ddrescue runs on Linux 2. The input file is a hard drive (possibly limited to ATA drives)
Thanks, but ddrescue is supposed to be a general-purpose rescue tool free from specific OS or device dependencies.
Best regards, Antonio. _______________________________________________ Bug-ddrescue mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-ddrescue
