bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] ddrescue trashed partition table (invalid args not tr


From: Russell Odom
Subject: Re: [Bug-ddrescue] ddrescue trashed partition table (invalid args not trapped)
Date: Thu, 28 Jan 2016 12:51:45 +0000

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
address@hidden


1 Innovation Close, York Science Park, York YO10 5ZD UK
liberating viewing | piksel.com



-----Original Message-----
From: Antonio Diaz Diaz [mailto:address@hidden 
Sent: 28 January 2016 12:25
To: Russell Odom
Cc: address@hidden
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]