Hi Antonio, Thank you for the speedy response! Ah, I seem to be looking at an outdated man page that doesn't include "--log-rates" and "--log-reads" - that explains it. Your fixes sound sensible to me, thanks :-)
The good news is I'm up and running again, after a reinstall. Regards, Russ -- Russell Odom Technical Lead M +44 (0)7525 909336 W +44 (0)1904 271206 S russ.odom.kitd E [email protected] 1 Innovation Close, York Science Park, York YO10 5ZD UK liberating viewing | piksel.com -----Original Message----- From: Antonio Diaz Diaz [mailto:[email protected]] Sent: 28 January 2016 12:25 To: Russell Odom Cc: [email protected] Subject: Re: [Bug-ddrescue] ddrescue trashed partition table (invalid args not trapped) Hello, Russell Odom wrote: > I was trying to clone a failing disk (sda) to a new one (sdb), using the > command line... > ddrescue -f -n1 /dev/sda /dev/sdb mapfile What an unfortunate mistake. :-( The command line above is equivalent to: ddrescue --force --no-scrape --log-rates=/dev/sda /dev/sdb mapfile where infile = '/dev/sdb' and outfile = 'mapfile'. There are no "invalid args not trapped". To help avoid these mistakes in the future I'm making two changes to ddrescue: 1) remove the short option names '-1' and '-2'. 2) never allow the writing of logs (--log-rates, --log-reads) to devices. Thank you for reporting this. Best regards, Antonio. _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
