From: Erik <sigra@home.se>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] stuff accumulating in /tmp
Date: Tue, 22 Jan 2008 04:35:38 +0100 [thread overview]
Message-ID: <4795648A.7070908@home.se> (raw)
In-Reply-To: <200801201052.13182.alan.mckinnon@gmail.com>
Alan McKinnon skrev:
> On Sunday 20 January 2008, Philip Webb wrote:
>
>> 080119 Kevin wrote:
>>
>>> To automatically wipe /tmp upon reboot,
>>> change WIPE_TMP to "yes" in /etc/conf.d/bootmisc
>>>
>> Thanks: I will consider the implications.
>>
> There aren't any implications. By *definition*, the contents of /tmp
> should not be relied on to survive a reboot or even subsequent
> invocations of the same program.
>
What definition? What if there is a script that calls a program and
redirects the output to /tmp and then calls another program that uses
the ouput? Would that be wrong? Does the script count as a program or
each command separately? See this example:
cat $(find -name regexps) > /tmp/all_regexps
egrep -f /tmp/all_regexps some_file
--
gentoo-user@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-01-22 3:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-20 1:39 [gentoo-user] stuff accumulating in /tmp Philip Webb
2008-01-20 2:05 ` Dale
2008-01-20 2:34 ` Philip Webb
2008-01-20 4:01 ` Kevin
2008-01-20 4:55 ` Philip Webb
2008-01-20 8:52 ` Alan McKinnon
2008-01-21 2:23 ` Philip Webb
2008-01-22 3:35 ` Erik [this message]
2008-01-22 4:43 ` Iain Buchanan
2008-01-20 8:49 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4795648A.7070908@home.se \
--to=sigra@home.se \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox