1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 16:55:34 +02:00

Merge pull request #625 from 85pando/bmaptool

Bmaptool
This commit is contained in:
Ruben Vereecken 2016-01-08 10:40:33 +01:00
commit e686ab5fb8

19
pages/common/bmaptool.md Normal file
View file

@ -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}}`