Empty /tmp when shutting down
Robert P. J. Day
rpjday at mindspring.com
Wed Feb 25 13:47:54 UTC 2004
On Wed, 25 Feb 2004, Robert Vangel wrote:
> I never thought of that...
>
> Nice :)
>
> Robert P. J. Day wrote:
>
> > why not just mount a "tmpfs" filesystem under tmp? that goes away
> > automatically when you shut down.
> >
> > rday
a bit of a caveat -- there may be some things you *want* to leave under
/tmp. my solution is to leave /tmp as a real filesystem, and mount a
tmpfs-style filesystem under /tmp/junk, for a transient location i know
will be cleaned on reboot. you know how often you download something,
just need a place to put it for a few minutes before installing it, etc.
that's what /tmp/junk is for.
rday
More information about the users
mailing list