bug-ddrescue
[Top][All Lists]
Advanced

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

Re: Feature request: Check read sectors for known 'bad data'


From: Antonio Diaz Diaz
Subject: Re: Feature request: Check read sectors for known 'bad data'
Date: Tue, 26 Jul 2022 16:19:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello Eliyahu,

Eliyahu Saks wrote:
Sometimes when a disk head is failing, a read will be successful but the
actual returned data is garbage - but consistent 'known' garbage. It would
be helpful if the read buffer would be checked for matches to the known
pattern and be marked as bad sectors.

This change is more complicated that it seems. For example, your example code would trigger the internal_error "can't change status of chunk spread over more than 1 block." if the first bad pattern is a prefix of the second.

Therefore I would like to see some feedback about how useful it is before spending the time required to implement it right.

Regards,
Antonio.



reply via email to

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