On Wed, Sep 17, 2025 at 06:23:55PM +0300, Peter Pentchev wrote:
> There may be a bit of a misconception or miscommunication here.
> On Linux systems, /run is practically certaion to be mounted on
> a tmpfs of some kind: its explicit purpose is to be volatile,
> for this boot only. It is similar to /var/run, but one of its main
> advantages is that it will always be cleaned upon boot.
> See e.g. https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html
On most modern systems /var/run is a symlink to /run (or ../run, which
is the same in practice) so they aren't similar but in fact identical.
Other than that everything you said is 100% spot on, using anything
run-related will result in data loss on reboot.
--
Colin Booth
Received on Wed Sep 17 2025 - 19:10:05 CEST