folbricht / desync

Alternative casync implementation
BSD 3-Clause "New" or "Revised" License
343 stars 44 forks source link

[Feature/Question] Specifying Offset with In-place Extraction #250

Closed bearrito closed 1 year ago

bearrito commented 1 year ago

Is it possible (or desirable) to specify in-place extraction with an offset? Today in our A/B setup we do something equivalent to

xz -d -c $IMAGE_PATH | sudo dd skip=$SKIP_BLOCKS of=$PARTITION status=progress

Where skip blocks equates to the size of the MBR.

charles-dyfis-net commented 1 year ago

Possible, surely, if you create and target a loopback device with an offset configured.

Message ID: @.***>

bearrito commented 1 year ago

@charles-dyfis-net Hmm, I'm not familiar with that approach. But it sounds like there is some known technique I can investigate that's outside of desync. Thanks for the lead.