Hi Florian,
Florian Sedivy wrote:
It is nice that partclone saves the size of the partition in current_pos. All
you need to do is adding '-x 0x40000000' to your ddrescue command.
Yes it’s wonderful that we can just pass the hex value as-is!
However, in this particular case another option to use would be -p
(--preallocate). It doesn’t need an argument and has the advantage to work
correctly even if -i and/or -o are used (e.g. when mixing partitions and
drives), while the argument to -x would have to be adapted.
Good catch! Thank you. I think I'm going to document the use of both -x and
-p in the entry for --domain-mapfile. (Preallocation is optional in POSIX.
Therefore -x may be the only option available on some systems).
Best regards,
Antonio.