bmaptool

bmaptool

TLDR

Create a blockmap from image file

$ bmaptool create -o [blockmap.bmap] [source.img]
copy

Copy an image file into sdb

$ bmaptool copy --bmap [blockmap.bmap] [source.img] [/dev/sdb]
copy

Copy a compressed image file into sdb

$ bmaptool copy --bmap [blockmap.bmap] [source.img.gz] [/dev/sdb]
copy

Copy an image file into sdb without using a blockmap

$ bmaptool copy --nobmap [source.img] [/dev/sdb]
copy

Copied to clipboard
free 100$ digital ocean credit