Crates.io | sparse-flash |
lib.rs | sparse-flash |
version | 0.1.0 |
source | src |
created_at | 2022-07-26 23:21:52.620703 |
updated_at | 2022-07-26 23:21:52.620703 |
description | A utility for writing sparse files to a block device. It will zero out empty sections of the block device. |
homepage | |
repository | |
max_upload_size | |
id | 633551 |
size | 17,335 |
sudo $(which sparse-flash) --progress --input=/path/to/sparse/file.img /dev/sdX
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