tldr/pages/common/bmaptool.md

21 lines
606 B
Markdown
Raw Normal View History

2016-01-06 14:36:25 +00:00
# bmaptool
> Create or copy block maps intelligently (designed to be faster than `cp` or `dd`).
> More information: <https://source.tizen.org/documentation/reference/bmaptool>.
2016-01-06 14:36:25 +00:00
- [o]utput a blockmap file 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}}`