On Fri, Sep 29, 2006 at 07:39:26PM +0200, Petter Reinholdtsen wrote:
> One idea I am considering is to make /dev/shm/ a symlink or bind-mount
> to a subdirectory /lib/init/rw/shm/, and thus only have one tmpfs file

Oh, I forgot... If you do so, please remind that bind-mounts inherit
mount-options from their original mounts. You cannot apply different
mount-options for them.
This should be no problem currently, since you just mounted /lib/init/rw
nosuid only. Btw... I assume you could safely add nodev to it, btw.
However, if you consider to share it with /tmp you definitely need to
avoid noexec due to dpkg-preconfigure :)


Mario
-- 
There are 10 types of people in the world:
Those who understand binary, and those who don't...

Attachment: signature.asc
Description: Digital signature

Reply via email to