Is there any difference between /run
directory and var/run
directory. It seems the latter is a link to the former. If the contents are one and the same what is the need for two directories?
Ubuntu – Difference between /run and /var/run
directory-structurelinuxtmpfsUbuntu
Best Answer
From the Wikipedia page on the Filesystem Hierarchy Standard:
So if you have already made a temporary filesystem for
/run
, linking/var/run
to it would be the next logical step (as opposed to keeping the files on disk or creating a separatetmpfs
).