bug-ddrescue
[Top][All Lists]
Advanced

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

Re: domain map file cannot just be "valid" areas


From: Antonio Diaz Diaz
Subject: Re: domain map file cannot just be "valid" areas
Date: Mon, 05 Jul 2021 17:13:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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

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