From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 16:32:46 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 83D861065678 for ; Thu, 29 Jul 2010 16:32:46 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E43428FC15 for ; Thu, 29 Jul 2010 16:32:45 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o6TGWX5C034778 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 29 Jul 2010 17:32:39 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4C51AD1C.2070606@infracaninophile.co.uk> Date: Thu, 29 Jul 2010 17:32:28 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: gahn References: <701277.97445.qm@web52303.mail.re2.yahoo.com> In-Reply-To: <701277.97445.qm@web52303.mail.re2.yahoo.com> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig18B1035AC7FCB5D15FFE8C0E" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_05,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: free bsd 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: Thu, 29 Jul 2010 16:32:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig18B1035AC7FCB5D15FFE8C0E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29/07/2010 16:35, gahn wrote: > is it possible to create /tmp directory under swap space? under > solaris, it is automatically created under swap unless one specifically= > instructs the system not to do so.. Yes, this is certainly possible. Just add: tmpmfs=3D"YES" tmpsize=3D"32m" to /etc/rc.conf, and then either reboot, or run: /etc/rc.d/tmp start Note that this will mount a /tmp filesystem on top of anything that's already there, thus making those files inaccessible until you unmount again. (use whatever value of 32m you prefer, of course) Cheers, Matthew --------------enig18B1035AC7FCB5D15FFE8C0E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxRrSEACgkQ8Mjk52CukIyHqgCgidsRpac8v2sMRSgAI0wXl8sY +1IAn3a/aDquRbRsLdzz8C2kS51D0/93 =y8r8 -----END PGP SIGNATURE----- --------------enig18B1035AC7FCB5D15FFE8C0E--