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

This is clever. Our shaky version of this, historically, has been to run ncdu and hastily delete the first large log file we see. It’s not ideal.


(that's actually how I solved the original issue that I reference in the post, and how I got the idea for this silly solution)


The filesystems where headroom matters are var, tmp and sometimes root. I like this strategy with logfiles because nethack.log.gz.30 was approximately as important as empty space. Keeping another 8gb on root and tmp seems extreme.


ncdu saves my bacon at least every few months. I do machine learning and am always running out of space!


sounds like your machine doesn't seem to be learning the right things.




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

Search: