Hello,

Shaya Potter wrote:
however, if I try to put in multiple lines like that

<base1>  <span length 1>  +
<base 2>  <span length 2>  +

it fails as this isn't a considered a valid map file (I guess all
spans have to be contagious).

Ddrescue can already accept such a mapfile. Just try the option '-L':

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

-L
--loose-domain
Accept an incomplete synthetic (user fabricated) domain mapfile or test-mode mapfile, and fill the gaps in the list of data blocks with non-tried blocks. The blocks in the mapfile must be strictly ascending and non-overlapping, but they don't need to be contiguous. This option allows making quick edits to a mapfile without all the size calculations involved in making all data blocks contiguous again.


Best regards,
Antonio.

Reply via email to