From: Alan McKinnon [mailto:alan.mckin...@gmail.com] Sent: Tuesday, December 16, 2014 2:46 PM > On 16/12/2014 20:05, walt wrote: > > On 12/15/2014 11:17 PM, Alan McKinnon wrote: > >> /tmp is still very much in use and very much needed, it isn't going > >> anywhere soon. The FHS has something interesting to say about /tmp, > >> along the lines of: > >> > >> "A general use scratch pad area where files written are not expected to > >> survive successive invocations of the program that wrote them". That's > >> interesting as it means the sysadmin can delete everything in /tmp at > >> any time for any reason, > > > > bofh can delete them for no reason at all while you're still using them :) > > Exactly :-) > > And as long as the app doesn't close the file descriptor, everything > will continue to work just fine. I used to do this for fun about once a > week or so on a many multiuser host, then tell users to tell upstream to > fix the stupid bugs in any apps that broke. I've calmed down since then, > must have something to do with the onset of senility...
I used to do this myself every so often, in a fit of hard drive neatness OCD. Then I discovered that ssh-agent decided that a good default place to put its domain socket was /tmp/ssh-XXXXXXXXXXXXXXXXXX and deleting it breaks ssh key forwarding, among other things :\ --Mike