commands.sh

bmaptool

all

Create or copy block maps intelligently (designed to be faster than `cp` or `dd`).

More info →

Options (1)

-o, --outputboolean

Output a blockmap file from image file

Example: bmaptool create {{[-o|--output]}} {{blockmap.bmap}} {{source.img}}

Examples (4)

Output a blockmap file from image file

bmaptool create [-o|--output] blockmap.bmap source.img

Copy an image file into sdb

bmaptool copy --bmap blockmap.bmap source.img /dev/sdb

Copy a compressed image file into sdb

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

Copy an image file into sdb without using a blockmap

bmaptool copy --nobmap source.img /dev/sdb
made by @shridhargupta | data from tldr-pages