Empty /tmp when shutting down

Robert Vangel robzilla at bur.st
Wed Feb 25 13:12:17 UTC 2004


I never thought of that...

Nice :)

Robert P. J. Day wrote:

> 
> On Wed, 25 Feb 2004, Robert Vangel wrote:
> 
> 
>>You could create a init script in rc6.d and rc0.d which does an
>>
>>rm -rf /tmp/* /tmp/.*
>>
>>I don't think it has one built in though
>>
>>Coume - Lubox.com wrote:
>>
>>>Hello,
>>>Is it possible to empty the /tmp directory when I shutdown my laptop?
>>>If I remember well, I was doing that under MDK but I cannot remember how
> 
> 
> why not just mount a "tmpfs" filesystem under tmp?  that goes away
> automatically when you shut down.
> 
> rday
> 
> 





More information about the fedora-list mailing list