sparse-flash 0.1.0

A utility for writing sparse files to a block device. It will zero out empty sections of the block device.
sparse-flash-0.1.0 is not a library.

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