Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Garbage in /tmp or /var/tmp
Date: Mon, 14 Apr 2008 09:26:12
Message-Id: 200804141122.52121.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Garbage in /tmp or /var/tmp by Steven Lembark
1 On Monday 14 April 2008, Steven Lembark wrote:
2 > > I second that, tmpfs for /tmp is great:
3 > >
4 > > tmpfs                 512M   12K  512M   1% /tmp
5 >
6 > Catch: You loose it all on reboot.
7
8 Doesn't matter. The standard definition for /tmp (per FHS) is "contains
9 files that are not expected to persists across different invocations of
10 a program". Never mind reboots, if you just exit and restart vi, it
11 cannot expect the temp file to still be there.
12
13 vi is a sane program and will in all likelihood respect this
14 almost-universal standard. If anyone wants different behaviour (can't
15 think why...) then configure vi to use a different directory as a
16 scratch pad
17
18 --
19 Alan McKinnon
20 alan dot mckinnon at gmail dot com
21
22 --
23 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Garbage in /tmp or /var/tmp Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>