[Pkg-sysvinit-devel] Re: Use only one tmpfs for /lib/init/rw/, /var/run/ and /var/lock/?

Petter Reinholdtsen pere at hungry.com
Sat Sep 23 11:19:36 UTC 2006


[Petter Reinholdtsen]
> What about creating only one tmpfs file system, and make it available
> in /lib/init/rw/ and bind-mount it to /var/run/ and /var/lock/ if the
> RAMRUN and RAMLOCK options are set?

The only problem I see with this approach, is that the nodev and
noexec options must be dropped from the mount points, to allow all
users of /lib/init/rw/, /var/run/ and /var/lock/ the features they
need.  I guess /dev/shm/ also should be bind-mounted to /var/run/rw/
if we go this route.

Friendly,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list