|
Hello!
I would like to have /var/run mounted separately as it is not a directory to be backed up.
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.
Is there a way to have ALL the contents of /var/run created AFTER mounting the /var/run tmpfs?
Thank you very much for your replies in advance.
Best regards,
Martin
|
- Having /var/run separately mounted? Dr. Martin Ivanov
- Re: Having /var/run separately mounted? Michael Neumann
- Re: Having /var/run separately mounted? Martin Ivanov
- Re: Having /var/run separately mounted? Aaron LI
- Re: Having /var/run separately mounted? Martin Ivanov
