9 ms·
I recently ran `df` and was surprised to see that I'd used more than half of the two terabyte SSD in my laptop. So, being apparently atypically proactive, my fi
by komadori 2mo ago
I recently ran `df` and was surprised to see that I'd used more than half of the two terabyte SSD in my laptop. So, being apparently atypically proactive, my first action was delete all of the target directories in my Rust projects and was equally surprised to see that it freed up nearly 10% of my disk usage (~200 GB)!
- tyleo 2mo agoI’ve also noticed this with rust. Those target directories can get huge.
- netsharc 2mo agoAre there many tiny files? They may take 4KiB of space each even though they're less than a KiB big (https://en.wikipedia.org/wiki/Disk_sector https://en.wikipedia.org/wiki/Disk_sector). On a SanDisk portable SSD I own, the cluster size is even 4MiB. If you put a node modules directory in there with thousands of tiny files, it can "take up" several GiB of space.
- bombcar 2mo agoThis can be an important reason to enable compression (on some file systems it “solves” the problem) and why virtual machine file format can be important.