In recent ubuntus (specifically, what interests me the most is 12.04) /var/run
is tmpfs, and thus I assume it starts empty with each reboot.
Yet, I see there some folders, like /var/run/mysqld
and numerous others. How those folders created on each reboot? Is there some template folder which copied to /var/run/
(and if so, which script does that), or each folder mkdir
'ed separately, or what ?
EDIT:
Please, do not answer that /var/run
is persistent, or that /run
is persistent. Because it is NOT.
Even if it is so on your system, it is not so on a regular 12.04.