Re: Is /dev/shm needed?
H. Peter Anvin (hpa@zytor.com)
16 Dec 2001 18:26:57 -0800
Followup to: <E16Fl8j-0000nA-00@phalynx>
By author: Ryan Cumming <bodnar42@phalynx.dhs.org>
In newsgroup: linux.dev.kernel
>
> On December 16, 2001 15:47, Adam Schrotenboer wrote:
> > I may be wrong about /tmp as well, but I have come to think that it is data
> > that ought be discarded after logout, and have sometimes considered writing
> > a script for it in the login/logout scripts.
>
> System daemons can legally use /tmp, and they may not apprechiate having
> their files removed from underneath them everytime someone telnets in. ;)
>
Not to mention when you kill a secondary session. It's bogus.
However, discarding /tmp on *REBOOT* is legitimate.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/