Re: /tmp and swap space

From: Matthew Seaman <m.seaman_at_infracaninophile.co.uk>
Date: Thu, 29 Jul 2010 17:32:28 +0100
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="YES"
   tmpsize="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


Received on Thu Jul 29 2010 - 14:32:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC