From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 21:56:38 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB01D106567E for ; Fri, 30 Jul 2010 21:56:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id B5A808FC12 for ; Fri, 30 Jul 2010 21:56:38 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id o6ULucjU061123; Fri, 30 Jul 2010 14:56:38 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id o6ULucHc061122; Fri, 30 Jul 2010 14:56:38 -0700 (PDT) (envelope-from david) Date: Fri, 30 Jul 2010 14:56:38 -0700 From: David Wolfskill To: Benjamin Stuppin Message-ID: <20100730215638.GG12818@albert.catwhisker.org> References: <116420.91357.qm@web28409.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JD3LLcu8Gjf34c6v" Content-Disposition: inline In-Reply-To: <116420.91357.qm@web28409.mail.ukl.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: /tmp and swap space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2010 21:56:38 -0000 --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--