<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Hello!</div>
<div><br>
</div>
<div>I would like to have /var/run mounted separately as it is not a directory to be backed up.</div>
<div><br>
</div>
<div>I tried mounting it as a tmpfs or as a null mount under /build. In both cases it did not work, because some processes write to /var/run before it is mounted and some after that. In particular, problems arise due to the shared memory, which has to be mounted
under /var/run/shm and be 1777. Adding tmpfs as extra_netfs_types to rc.conf did not work as well, because although /var/run/shm appeared mounted according to df, /var/run/shm did not exist; obviously, /var/run/shm was still created before the mounting: if
I force unmount /var/run, then /var/run contains shm.</div>
<div><br>
</div>
<div>Is there a way to have ALL the contents of /var/run created AFTER mounting the /var/run tmpfs? </div>
<div><br>
</div>
<div>Thank you very much for your replies in advance.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Martin</div>
<div><br>
</div>
<br>
<p></p>
</div>
</body>
</html>