Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 17:32:28 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        gahn <ipfreak@yahoo.com>
Cc:        free bsd <freebsd-current@freebsd.org>
Subject:   Re: /tmp and swap space
Message-ID:  <4C51AD1C.2070606@infracaninophile.co.uk>
In-Reply-To: <701277.97445.qm@web52303.mail.re2.yahoo.com>
References:  <701277.97445.qm@web52303.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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