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. _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
