bug-ddrescue
[Top][All Lists]
Advanced

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

[Bug-ddrescue] Feature request: --merge logfile option


From: Christian Franke
Subject: [Bug-ddrescue] Feature request: --merge logfile option
Date: Sat, 05 Jan 2008 00:27:29 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4

Hi,

in some situations, the following option would be useful:

-m, --merge=logfile  replace error areas by good areas from infile

Usage: ddrescue --merge=new.log new.img old.img old.log

Function: For each error area ('-') in old.log, check whether it overlaps with a good area ('+') in new.log. If this is the case, copy the overlapped area from new.img to old.img and update old.log accordingly.


Example 1: Merge two images from independent rescue efforts to get a "best of" result :-)

# ddrescue --merge try2.log try2.img try1.img try1.log


Example 2: Continue rescue somewhere without the need to transfer large image files:

office# ddrescue bad_disk new_disk disk.log

Mail disk.log to home.

home# mv disk.log repair.log

home# ddrescue -r 100 bad_disk repair.img repair.log

home# bzip2 repair.img

Mail repair.log and repair.img.bz2 back to office.

office# ddrescue -m repair.log repair.img new_disk disk.log


Example 3: Request "repair blocks" from someone who has another copy of a CD/DVD.

Works like example 2.


Thanks for any comment.

Regards,
   Christian





reply via email to

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