ddrescue 1.28-2
Christian Franke
Christian.Franke@t-online.de
Mon Feb 19 08:47:54 GMT 2024
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
More information about the Cygwin-announce
mailing list