2016-01-06 14:36:25 +00:00
|
|
|
# bmaptool
|
|
|
|
|
|
|
|
> Create or Copy blockmaps intelligently (and therefore faster than `cp` or `dd`).
|
2019-04-10 15:14:08 +01:00
|
|
|
> Homepage: <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}}`
|