[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] stuff accumulating in /tmp
From:       Erik <sigra () home ! se>
Date:       2008-01-22 3:35:38
Message-ID: 4795648A.7070908 () home ! se
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic