2016-01-06 14:36:25 +00:00
|
|
|
# bmaptool
|
|
|
|
|
2020-02-11 17:53:43 +00:00
|
|
|
> Create or copy block maps intelligently (designed to be faster than `cp` or `dd`).
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://source.tizen.org/documentation/reference/bmaptool>.
|
2016-01-06 14:36:25 +00:00
|
|
|
|
2024-02-19 14:13:42 +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}}`
|