Hacker News new | ask | show | jobs
by klaushardt 67 days ago
This is my snippet i used alot. In doubt when even rm wont work just reboot.

Disc Space Insurance File

    fallocate -l 8G /tmp/DELETE_IF_OUT_OF_SPACE.img
https://gist.github.com/klaushardt/9a5f6b0b078d28a23fd968f75...
1 comments

Make sure your /tmp is on disk and not a tmpfs, like in recent Linux distrubitions.