On Solaris files in /tmp are pretty safe while the computer is up. Not sure when it happens, I’m thinking sleep events, but the /tmp directory is not safe on MacOS.

I was writing some code to sketch out my timezone conversion for my ethernet clock. Unfortunately I had it in /tmp. I noticed Xcode on my desktop was willing to rewrite a file that went missing (in /tmp). IntelliJ on my laptop just closed the file, taking all my work with it.

Comments are closed.