Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

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

Philip Webb

2008-04-15

Replies: Find Java Web Hosting

Author LoginPost Reply
080414 forgottenwizard wrote:
> On 03:58 Mon 14 Apr   , Philip Webb wrote:
>> Vim defaults to keeping temporary files in /var/tmp ,
>> but Mutt defaults to /tmp & Vim called by Mutt does the same.
>> Recently, I changed the default in .muttrc to use /var/tmp instead
>> & as a result I can happily have /tmp cleared at every reboot,
>> which reminds me, I need to delete many /var/tmp/mutt-* ... (smile).
> Off-topic, I know, but can you post how to do this?

It doesn't seem OT to me (smile): in ~/.muttrc include the line

set tmpdir="/var/tmp"

Vim otherwise continues to keep its .swp files
in the same dir as the file it's editing; only Mutt is affected,
but you are guaranteed recovery of an e-mail being edited during a crash.

To set the system to clear /tmp at boot,
edit /etc/conf.d/bootmisc to include the line

WIPE_TMP="yes"

--
========================,,============================================
SUPPORT   ___________//___, Philip Webb : purslow@(protected)
ELECTRIC  /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT   `-O----------O---' University of Toronto
--
gentoo-user@(protected)

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