I have a small console app I'm using on my JB device (for debugging purposes), which i place in /tmp. From my experience, up unil iOS 8.4, the /tmp folder was cleared only on boot. But now, on occasion, the /tmp dir is cleared - I couldn't figure out the reason (the device didn't run dangerously low on disk space). My questions are these:
- What is the daemon responsible for clearing /tmp? What else does it do?
- Is there a way to flag my directory in some way to prevent it's clearance?
- Did something actually happened in the iOS 9 update, or is it just circumstantial?