From e040817ad5908e4260cecd501c6cac779347a700 Mon Sep 17 00:00:00 2001 From: 85pando <85pando@googlemail.com> Date: Wed, 6 Jan 2016 15:36:25 +0100 Subject: [PATCH] Add page for bmaptool. --- pages/common/bmaptool.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/bmaptool.md diff --git a/pages/common/bmaptool.md b/pages/common/bmaptool.md new file mode 100644 index 000000000..fd284e5ae --- /dev/null +++ b/pages/common/bmaptool.md @@ -0,0 +1,19 @@ +# bmaptool + +> Create or Copy blockmaps intelligently (and therefore faster than `cp` or `dd`). + +- Create a blockmap from image file. + +`bmaptool create -o {{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}}`