| Crates.io | dfr |
| lib.rs | dfr |
| version | 1.2.0 |
| created_at | 2025-05-26 03:46:16.615291+00 |
| updated_at | 2025-05-26 04:25:33.552229+00 |
| description | A minimalist `df clone written in Rust - displays mounted filesystems & disk usage |
| homepage | |
| repository | https://github.com/codemonkey76/df-rust |
| max_upload_size | |
| id | 1688910 |
| size | 20,067 |
A minimalist df clone written in Rust — displays mounted filesystems, disk
usage, and colored usage bars in a clean column layout.
/proc/mounts directly — no shelling out or external binarieslibc::statvfs for disk statistics (no extra crates)proc, tmpfs, sysfs, etc.)Filesystem Type Size Used Avail Use% Graph Mounted on
/dev/nvme0n1p2 btrfs 930.5G 85.6G 845.0G 9.2% ■■ /
/dev/nvme0n1p1 vfat 1.0G 0.2G 0.8G 22.1% ■■■■ /boot
Make sure you have Rust installed. Then:
git clone https://github.com/codemonkey76/df-rust.git
cd df-rust
cargo build --release
Run:
./target/release/df-rust
Or install to your path:
cargo install --path .