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

Reply via email to