sudden /tmp cleanup in iOS 9 and above

59 views Asked by At

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:

  1. What is the daemon responsible for clearing /tmp? What else does it do?
  2. Is there a way to flag my directory in some way to prevent it's clearance?
  3. Did something actually happened in the iOS 9 update, or is it just circumstantial?
0

There are 0 answers