tldr/pages/common/bmaptool.md

21 lines
597 B
Markdown
Raw Normal View History

2016-01-06 14:36:25 +00:00
# bmaptool
> Create or Copy blockmaps intelligently (and therefore faster than `cp` or `dd`).
> More information: <https://source.tizen.org/documentation/reference/bmaptool>.
2016-01-06 14:36:25 +00:00
2016-01-13 11:04:46 +00:00
- Create a blockmap from image file:
2016-01-06 14:36:25 +00:00
`bmaptool create -o {{blockmap.bmap}} {{source.img}}`
2016-01-13 11:04:46 +00:00
- Copy an image file into sdb:
2016-01-06 14:36:25 +00:00
`bmaptool copy --bmap {{blockmap.bmap}} {{source.img}} {{/dev/sdb}}`
2016-01-13 11:04:46 +00:00
- Copy a compressed image file into sdb:
2016-01-06 14:36:25 +00:00
`bmaptool copy --bmap {{blockmap.bmap}} {{source.img.gz}} {{/dev/sdb}}`
2016-01-13 11:04:46 +00:00
- Copy an image file into sdb without using a blockmap:
2016-01-06 14:36:25 +00:00
`bmaptool copy --nobmap {{source.img}} {{/dev/sdb}}`