On Wed, May 03, 2006 at 06:25:08PM -0700, Andrew Sackville-West wrote:
> On Thu, May 04, 2006 at 12:50:43AM +0100, Digby Tarvin wrote:
> > I have now adopted it for my Linux systems, and was pleasantly surprised
> > with the functionality provided. The 'on demand' allocation makes it much
> > more efficent that a statically allocated partition where any space not
> > used for temp files is unavailable for anything else. That, coupled with
> > the ability to set an upper limit to reserve a minimum amount of space
> > for stop leads me to believe there is no real disadvantage.
> 
> so , can you please detail how you have done this? tmpfs size,
> mounting details etc? I'm intrigued by this proposition and would like
> more info. thanks

Not much to it. Just add something like this to your /etc/fstab:
  tmpfs           /tmp            tmpfs   size=1g         0       0

Merging my old /tmp partition with the original swap partition gave
me a 1.5GB swap, of which I have set a maximum /tmp size of 1GB,
leaving a minimum of 512MB for swap.

Regards,
DigbyT
-- 
Digby R. S. Tarvin                                          digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to