#image #handle #subcommand #applications #block-device #copying

app bmap-rs

bmap-rs is an application that handles the use of bmap crate

4 releases

Uses new Rust 2024

0.2.2 Apr 23, 2026
0.2.1 Nov 2, 2025
0.2.0 Feb 24, 2024
0.1.0 Dec 16, 2022

#571 in Images

MIT AND Apache-2.0

4MB
799 lines

bmap-rs

The bmap-rs project aims to implement tools related to bmap. The project is written in rust. The inspiration for it is an existing project that is written in python called bmap-tools.

Right now the implemented function is copying system images files using bmap, which is safer and faster than regular cp or dd. That can be used to flash images into block devices.

Usage

bmap-rs supports 1 subcommand:

  • "copy" - copy a file to another file using a bmap file.
bmap-rs copy <SOURCE_PATH> <TARGET_PATH>

The bmap file is automatically searched in the source directory. The recommendation is to name it as the source but with bmap extension.

License

bmap-rs is licensed under dual Apache-2.0 and MIT licenses.

Dependencies

~21–30MB
~461K SLoC