sparse-flash

Crates.iosparse-flash
lib.rssparse-flash
version0.1.0
sourcesrc
created_at2022-07-26 23:21:52.620703
updated_at2022-07-26 23:21:52.620703
descriptionA utility for writing sparse files to a block device. It will zero out empty sections of the block device.
homepage
repository
max_upload_size
id633551
size17,335
Aiden McClelland (dr-bonez)

documentation

README

sparse-flash

Usage

sudo $(which sparse-flash) --progress --input=/path/to/sparse/file.img /dev/sdX

TAR Files

This tool only supports POSIX format TAR files. Using a GNU TAR file will result in panics. To generate the correct kind of tar file, and write to stdout, you can use the options for TAR in the below example:

tar --format=posix -cS -f- /path/to/sparse/file.img | sudo $(which sparse-flash) --progress --stdin-tar /dev/sdX
Commit count: 0

cargo fmt