[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] ddrescue trashed partition table (invalid args not tr
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Bug-ddrescue] ddrescue trashed partition table (invalid args not trapped) |
Date: |
Thu, 28 Jan 2016 13:25:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2 |
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.