Date: Fri, 30 Jul 2010 14:56:38 -0700 From: David Wolfskill <david@catwhisker.org> To: Benjamin Stuppin <benjamin_stuppin@yahoo.de> Cc: freebsd-current@freebsd.org Subject: Re: /tmp and swap space Message-ID: <20100730215638.GG12818@albert.catwhisker.org> In-Reply-To: <116420.91357.qm@web28409.mail.ukl.yahoo.com> References: <116420.91357.qm@web28409.mail.ukl.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--JD3LLcu8Gjf34c6v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 30, 2010 at 09:23:37PM +0000, Benjamin Stuppin wrote: > ... > when using tmpfs for /tmp i'd probably add the "mode=3D1777" option, else= you would mount /tmp with default options and without the sticky bit which= could cause some problems.=20 I have never needed to do that. d254(9.0-C)[1] uname -v FreeBSD 9.0-CURRENT #74 r210635: Fri Jul 30 07:34:44 PDT 2010 root@loca= lhost:/usr/obj/usr/src/sys/CANARY=20 d254(9.0-C)[2] ls -ldT /tmp drwxrwxrwt 10 root wheel 200 Jul 30 14:53:27 2010 /tmp d254(9.0-C)[3] grep !$ /etc/fstab grep /tmp /etc/fstab tmpfs /tmp tmpfs rw,size=3D2g 0 0 d254(9.0-C)[4]=20 Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --JD3LLcu8Gjf34c6v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEUEARECAAYFAkxTSpUACgkQmprOCmdXAD3TBACfTpy5kbjA0UpG5XUSRkJr04aS ZG0AmNBJCuPhyoi2GyhMwD+BcRO8mb0= =LMKz -----END PGP SIGNATURE----- --JD3LLcu8Gjf34c6v--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100730215638.GG12818>