Mounting

Socketd db at traceroute.dk
Mon Jun 23 09:56:15 PDT 2003


On Mon, 23 Jun 2003 11:45:37 -0400 (EDT)
Robert Watson <rwatson at freebsd.org> wrote:

> > /var/mail		noexec
> 
> nosuid would be fine here also. 

And noexec too I guess?

> nodev prevents opening specfs character devices, but doesn't prevent
> opening fifos or UNIX domain sockets, so is generally fine for all
> file systems except /dev.  The common exceptions I bump into are:
> 
> (1) If you have per-user chroots, make sure wherever their custom /dev
> is
>     isn't nodev.
> 
> (2) The linux port used to (may still) install with a null device
> under
>     /usr in the compat tree.  Mounting this with nodev will break
>     opening/dev/null for Linux apps.  I'm not sure why the null entry
>     exists there, and in fact we know it needs to go away since it
>     will break when we GC major device numbers. 

Ah ok, again thank you for your help :-D

br
socketd


More information about the freebsd-hackers mailing list