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?