The following packages have been uploaded to the Cygwin distribution:

* ddrescue-1.28-2

GNU ddrescue is a data recovery tool.  It copies data from
one file or block device (hard disc, cdrom, etc) to another, trying
hard to rescue data in case of read errors.  Ddrescue does not
truncate the output file if not asked to.  So, every time you run
it on the same output file, it tries to fill in the gaps.

https://www.gnu.org/software/ddrescue/ddrescue.html

Changes since previous Cygwin package 1.28-1:
- ddrescue no longer aborts immediately if a read fails with EACCES.

This change is Cygwin-specific. It is a workaround for the following interesting behavior of Windows occasionally observed when USB devices are read: If a read error occurs after at least one successful read, Windows returns ERROR_CRC(23) which is mapped to the errno EIO by Cygwin. But then each additional read fails with ERROR_MEDIA_CHANGED(1110) which is mapped to the fallback errno EACCES. This persists until the file handle is closed. If a read error occurs immediately after opening the file handle, even the this first read fails with ERROR_MEDIA_CHANGED.

With this workaround, such devices could be processed by ddrescue if the option -O (--reopen-on-error) is also specified.

The source package supports reproducible builds.

Regards,
Christian

--
             *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

The easiest way to unsubscribe is to visit 
<https://cygwin.com/mailman/options/cygwin-announce>, and click 'Unsubscribe'.

If you need more information on unsubscribing, start reading here: 
<https://sourceware.org/lists.html#unsubscribe>.

Reply via email to