3 ms·
As an aside, perhaps a bit counter to this, after quite a bit of searching, I have not found a way to tell macOS to NOT delete the /tmp folder on reboot. I hav
by whartung 3y ago
As an aside, perhaps a bit counter to this, after quite a bit of searching, I have not found a way to tell macOS to NOT delete the /tmp folder on reboot.
I have no real problem with the 7 day life span of files there, but since I actually do put quite a bit of "temporary context" into /tmp, it's a bit annoying to have it wiped out on restart.
Now, yes, of course, I can simply create a new folder, create my own 7 day sweeper and be done with it.
The simple nut is that I've been using /tmp for 30 years (like vi, every unix machine has a /tmp), and it's a bit hardwired into my muscle memory. And since the machine is supposed to do my bidding, not the other way around, it would be nice to be able to configure it to not do this.
But, hardly a crisis, I'm coping.
- int0x2e 3y agoYou do realize this is exactly what /tmp/ is expected to do on all *nix based machines, including Macs, right? Why not create a new path, and use that?
- deleted 3y ago[deleted]
- joshspankit 3y agoNow I’m questioning my knowledge. Have you found ways to configure other unix machines so they don’t wipe /tmp on boot?
- bravetraveler 3y agoFor Linux - I think this will do: keep /tmp off tmpfs, don't mention it in the configs of tmpfiles.d I might be missing something but these are the key suspects (I generally prefer this to be wiped, using tmpfs) Not sure about anything else *nix