Gentoo Archives: gentoo-user

From: Erik <sigra@××××.se>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] stuff accumulating in /tmp
Date: Tue, 22 Jan 2008 03:32:43
Message-Id: 4795648A.7070908@home.se
In Reply to: Re: [gentoo-user] stuff accumulating in /tmp by Alan McKinnon
1 Alan McKinnon skrev:
2 > On Sunday 20 January 2008, Philip Webb wrote:
3 >
4 >> 080119 Kevin wrote:
5 >>
6 >>> To automatically wipe /tmp upon reboot,
7 >>> change WIPE_TMP to "yes" in /etc/conf.d/bootmisc
8 >>>
9 >> Thanks: I will consider the implications.
10 >>
11 > There aren't any implications. By *definition*, the contents of /tmp
12 > should not be relied on to survive a reboot or even subsequent
13 > invocations of the same program.
14 >
15 What definition? What if there is a script that calls a program and
16 redirects the output to /tmp and then calls another program that uses
17 the ouput? Would that be wrong? Does the script count as a program or
18 each command separately? See this example:
19 cat $(find -name regexps) > /tmp/all_regexps
20 egrep -f /tmp/all_regexps some_file
21 --
22 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] stuff accumulating in /tmp Iain Buchanan <iaindb@××××××××××××.au>