From the technical overview of Ubuntu 11.10 Oneiric:
Ubuntu 11.10 has migrated away from
/var/run
,/var/lock
and/dev/shm
and now uses/run
,/run/lock
and/run/shm
instead (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/ifstate
and soon/etc/adjtime
. I suppose it was bad for them to be in/etc
to begin with. – Evan Carroll Apr 24 '12 at 16:45