|
From: | Christian Franke |
Subject: | Re: [Bug-ddrescue] Bug in cygwin version 1.21 of ddrescue and a proposition to differentiate errors |
Date: | Sun, 6 Nov 2016 18:54:02 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 |
Joe Kickman wrote:
Hello, Antonio! 1. I've found a bug about device names shown in the version 1.21 of ddrescue IN CYGWIN: ...\>ddrescue.exe /dev/sda /dev/sdb --ask ./copylog2.log -s1s -f GNU ddrescue 1.21 About to copy 512 Bytes from /dev/sda [WDC WD1600JS-00NCB1] to /dev/sdb [WDC WD1600JS-00NCB1WDC WD1600JS-00MHB0]. Proceed (y/N)?^C The second device has the name of the first, then its own. Native Linux versions never had such bugs.
This is a harmless bug in a Cygwin specific patch: The string buffer is not cleared if IOCTL_STORAGE_QUERY_PROPERTY only returns a Product ID, but no Vendor ID.
Is already fixed in my local git and will be fixed in next Cygwin package.The upstream version of ddrescue 1.21 does not print any device identity if built on Cygwin because this patch is not included (it was rejected).
Thanks, Christian
[Prev in Thread] | Current Thread | [Next in Thread] |