Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 18:30:15 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Eli Dart <dart@nersc.gov>
Cc:        Craig Cowen <craig@allmaui.com>, freebsd-security@freebsd.org
Subject:   Re: Good practice for /tmp
Message-ID:  <20010905183015.A824@hades.hell.gr>
In-Reply-To: <20010904221809.B57312B@usul.nersc.gov>; from dart@nersc.gov on Tue, Sep 04, 2001 at 03:18:09PM -0700
References:  <craig@allmaui.com> <20010904221809.B57312B@usul.nersc.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Eli Dart <dart@nersc.gov>
Subject: Re: Good practice for /tmp
Date: Tue, Sep 04, 2001 at 03:18:09PM -0700

> In reply to Craig Cowen <craig@allmaui.com> :
> > Solaris mounts it's swap on /tmp while FBSD does not make this availabl=
e.
> > Why not use the Solaris way of doing things?
>
> I don't know why FreeBSD doesn't do this (in other words, if this was=20
> a deliberate decision, I don't know what points were debated in=20
> coming to a decision), but I could see a problem where filling /tmp=20
> could run you out of swap.

Mount /tmp then as MFS with a limited size.  Works nicely, for me.

This is not very different from having to make a special partition of
fixed size just to keep /tmp from filling /.  There is an important
difference, though.  The size of the MFS /tmp is easy to change by
modifying /etc/fstab it's a much better way to use this than create a
fixed partition (which is admittedly much harder to resize).

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010905183015.A824>