bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] A question for ddrescue code modification


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] A question for ddrescue code modification
Date: Wed, 20 Mar 2013 16:04:24 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello Oleg.

Oleg Krutov wrote:
I have an urgent need to use ddrescue for recovering data grom slightly
encrypted disk. "Slightly" means that all data is XORed with 16-bytes wide
string (that was done by SATA-USB bridge, and drive can be copied with a
bridge attached but it will be very slow. Without a bridge transfer speed
is OK but data is encrypted). So, as my C++ skill is well less average, I'd
like to ask -- if I'll insert XOR routine into readblock() function --
won't it break something else? i.e. is readblock() used for reading from
source drive/file only?

"readblock" is also used by fill and generate modes. If you are going to hack ddrescue I guess it is better to insert the XOR routine into "copy_block". But are you sure that it is not better to image the drive "as is" and then XORing the resulting image?


Regards,
Antonio.



reply via email to

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