Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since the late 90s, this was always my solution:

    tune2fs -m 2 /dev/hda1
That sets the root reserve on a disk. It's space that only root can use, but also you can change it on the fly. So if you run out of userland space you can make it smaller, and if a process running as root fill your disk, well, you probably did something real bad anyway. :)

But yeah, this is a pretty good hack.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: