mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 07:18:29 +01:00
19 lines
516 B
Markdown
19 lines
516 B
Markdown
# 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}}`
|