Sign in Sign up
cargo

disk-snapshot

What an appliance's disks hold, read the cheap way: every storage mount (/proc/self/mounts, pseudo filesystems left out), one statvfs(3) per mount (total / free / available / used / root-reserved / inodes), the disk floor a seller must never sell (max of a percentage and a minimum), the labelled paths a product cares about (system, data, caches, storage) resolved onto the mount they sit on, and every block device from sysfs (size, rotational, removable, read-only, partitions, md holders). Parsers are pure over what was read; readers take their root so a test feeds a recorded tree.

cargo View on Cargo

Activity

Latest release
2w ago
Total releases
1
Cadence
—
Last 12 months
1

Details

License
MIT OR Apache-2.0
First release
Oct 09, 2026
Releases
Version Released
0.1.1 initial