From the technical overview of Ubuntu 11.10 Oneiric:
Ubuntu 11.10 has migrated away from
/var/run,/var/lockand/dev/shmand now uses/run,/run/lockand/run/shminstead (respectively).
- I hardcode these paths in my applications, why is this change made to Oneiric?
- What can I do to make my applications backwards- and forward-compatible? Is there a better way other than checking first for the existence of
/run, and then/var/run?
/etc. Those must all persist past reboot, right? That's just generic conf files. – Evan Carroll Apr 24 '12 at 16:43/etc,/etc/lvm/cache//etc/mtab/etc/network/run/ifstateand soon/etc/adjtime. I suppose it was bad for them to be in/etcto begin with. – Evan Carroll Apr 24 '12 at 16:45