| ▲ | komadori a day 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)! | ||||||||
| ▲ | netsharc 19 hours ago | parent | next [-] | |||||||
Are 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). 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. | ||||||||
| ||||||||
| ▲ | tyleo a day ago | parent | prev [-] | |||||||
I’ve also noticed this with rust. Those target directories can get huge. | ||||||||