From owner-freebsd-security Wed Sep 5 11: 2:40 2001 Delivered-To: freebsd-security@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id C7AC837B407 for ; Wed, 5 Sep 2001 11:02:33 -0700 (PDT) Received: from hades.hell.gr (patr530-b030.otenet.gr [195.167.121.158]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f85I28719554; Wed, 5 Sep 2001 21:02:08 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f85FUFg00860; Wed, 5 Sep 2001 18:30:15 +0300 (EEST) (envelope-from charon@labs.gr) Date: Wed, 5 Sep 2001 18:30:15 +0300 From: Giorgos Keramidas To: Eli Dart Cc: Craig Cowen , freebsd-security@freebsd.org Subject: Re: Good practice for /tmp Message-ID: <20010905183015.A824@hades.hell.gr> References: <20010904221809.B57312B@usul.nersc.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <20010904221809.B57312B@usul.nersc.gov>; from dart@nersc.gov on Tue, Sep 04, 2001 at 03:18:09PM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: Eli Dart Subject: Re: Good practice for /tmp Date: Tue, Sep 04, 2001 at 03:18:09PM -0700 > In reply to Craig Cowen : > > 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