Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Garbage in /tmp or /var/tmp

Steven Lembark

2008-04-13

Replies:

Author LoginPost Reply
Volker Armin Hemmann wrote:
> On Sonntag, 13. April 2008, Neil Bothwick wrote:
>> On Sun, 13 Apr 2008 18:38:31 +0200, Florian Philipp wrote:
>>> Due to disk space restrictions I've decided to make /tmp a symlink
>>> to /var/tmp instead of reserving space for both.
>> Why not use tmpfs for /tmp? It usually requires very little space, and
>> will use swap if memory is tight.
>
> I second that, tmpfs for /tmp is great:
>
> tmpfs           512M  12K 512M  1% /tmp

Catch: You loose it all on reboot.

Since things like vi keep their in-work backups
there, loosing the entire contents of /tmp after a
crash can be painful.

If you can redirect anything making in-work copies
to, say, /scratch or ~ then this works nicely (given
that you have enough core not to strangle on it).


--
Steven Lembark                             85-09 90th St.
Workhorse Computing                      Woodhaven, NY, 11421
lembark@(protected)
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.