Gentoo Archives: gentoo-user

From: forgottenwizard <phrexianreaper@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Garbage in /tmp or /var/tmp
Date: Tue, 15 Apr 2008 16:49:07
Message-Id: 0b8227777a1d968956783f29fc1a084e@smtp.hushmail.com
In Reply to: Re: [gentoo-user] Garbage in /tmp or /var/tmp by Philip Webb
1 On 01:16 Tue 15 Apr , Philip Webb wrote:
2 > 080414 forgottenwizard wrote:
3 > > On 03:58 Mon 14 Apr , Philip Webb wrote:
4 > >> Vim defaults to keeping temporary files in /var/tmp ,
5 > >> but Mutt defaults to /tmp & Vim called by Mutt does the same.
6 > >> Recently, I changed the default in .muttrc to use /var/tmp instead
7 > >> & as a result I can happily have /tmp cleared at every reboot,
8 > >> which reminds me, I need to delete many /var/tmp/mutt-* ... (smile).
9 > > Off-topic, I know, but can you post how to do this?
10 >
11 > It doesn't seem OT to me (smile): in ~/.muttrc include the line
12 >
13 > set tmpdir="/var/tmp"
14 >
15 > Vim otherwise continues to keep its .swp files
16 > in the same dir as the file it's editing; only Mutt is affected,
17 > but you are guaranteed recovery of an e-mail being edited during a crash.
18 >
19 > To set the system to clear /tmp at boot,
20 > edit /etc/conf.d/bootmisc to include the line
21 >
22 > WIPE_TMP="yes"
23 >
24 > --
25 > ========================,,============================================
26 > SUPPORT ___________//___, Philip Webb : purslow@××××××××××××××.ca
27 > ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
28 > TRANSIT `-O----------O---' University of Toronto
29 > --
30 > gentoo-user@l.g.o mailing list
31 >
32
33 Thanks. WIPE_TMP seems to be the default, fwiw.
34
35 --
36 gentoo-user@l.g.o mailing list