I’m mildly perplexed.
I read this:
https://wiki.openwrt.org/doc/techref/process.boot
And it says:
This guide shall help you understand:
- When does the tmpfs get mounted and /tmp symlinked to it and /var symlinked to /tmp?
And yet I read it all and did not understand that? Grrrr …
So when is /var symlinked to /tmp?
Moreover, I’d like to symlink it to a mounted hard disk so that I can have persistent logs. Where can I tweak the config to do that in an appropriate way at startup? i.e. before anything starts writing to /var?