bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] [PATCH] new option to abort after x new errors


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] [PATCH] new option to abort after x new errors
Date: Wed, 13 Oct 2010 12:59:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]