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