Hi Martin,

Martin Castillo wrote:
I expected the finished areas from partition4 to be marked as finished
in 'merged', but instead it contains just a copy of
hdd-section-of-part3.mapfile.

http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Ddrescuelog

"When performing logic operations (AND, OR, XOR) on mapfiles of different extension, only the blocks present in both files are processed. Other blocks are left untouched."

What am I doing wrong?

You need to either extend part3 to the same size as part4, or replace the first line of the list of data blocks of part4 with the whole list of data blocks of part3 and then complete the combined parts34 with option -C.

I attach the result of the second alternative.

Maybe it would be useful an option to extend the size of mapfiles, at least when ORing mapfiles...

Best regards,
Antonio.
# Mapfile. Created by GNU ddrescuelog version 1.30
# Command line: ddrescuelog -C tmp
# Start time:   2026-01-08 18:03:36
# current_pos  current_status  current_pass
0x3FFFFF000     ?               1
#      pos        size  status
0x00000000  0x3840300000  ?
0x3840300000  0x015AA000  +
0x38418AA000  0x00001000  ?
0x38418AB000  0xFA44B000  +
0x393BCF6000  0x0C68A000  ?
0x3948380000  0x18EFC1000  +
0x3AD7341000  0x00001000  ?
0x3AD7342000  0x00EA7000  +
0x3AD81E9000  0x00001000  ?
0x3AD81EA000  0x03673000  +
0x3ADB85D000  0x00001000  ?
0x3ADB85E000  0x04714000  +
0x3ADFF72000  0x00001000  ?
0x3ADFF73000  0x01927000  +
0x3AE189A000  0x00001000  ?
0x3AE189B000  0x00029000  +
0x3AE18C4000  0x00001000  ?
0x3AE18C5000  0x00006000  +
0x3AE18CB000  0x358F335000  ?
0x7070C00000  0x04AB0000  +
0x70756B0000  0x005C0000  ?
0x7075C70000  0x0017D000  +
0x7075DED000  0x00083000  ?
0x7075E70000  0x00521000  +
0x7076391000  0x5AA5B000  ?
0x70D0DEC000  0x54909000  +
0x71256F5000  0x00306000  ?
0x71259FB000  0x026AA000  +
0x71280A5000  0x00AD9000  ?
0x7128B7E000  0x04000000  +
0x712CB7E000  0x04000000  ?
0x7130B7E000  0x00081000  +
0x7130BFF000  0x00001000  ?
0x7130C00000  0x00080000  +
0x7130C80000  0x0C7A0000  ?
0x713D420000  0x3337DF000  +

Reply via email to