From: "Jason Rivard" <jrivard@nikki.com>
To: <linux-kernel@vger.kernel.org>
Subject: Re: Is /dev/shm needed?
Date: Sun, 16 Dec 2001 23:14:32 -0500 [thread overview]
Message-ID: <sc1d2b03.001@fs6.int.nikki.com> (raw)
I delete all files in /tmp on reboot +
I delete all of <user>'s files in /tmp if <user> has no running
processes when <user> logs out.
>>> "H. Peter Anvin" <hpa@zytor.com> 12/16/01 09:26PM >>>
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/
next reply other threads:[~2001-12-17 4:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 4:14 Jason Rivard [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-17 8:41 Is /dev/shm needed? RaúlNúñez de Arenas Coronado
2001-12-17 8:34 ` Christoph Rohland
2001-12-16 23:37 RaúlNúñez de Arenas Coronado
2001-12-16 23:47 ` Adam Schrotenboer
2001-12-16 23:56 ` Ryan Cumming
2001-12-17 0:17 ` Adam Schrotenboer
2001-12-17 2:26 ` H. Peter Anvin
2001-12-17 15:50 ` Luigi Genoni
2001-12-16 23:36 RaúlNúñez de Arenas Coronado
2001-12-16 23:15 RaúlNúñez de Arenas Coronado
2001-12-16 23:12 ` Robert Love
2001-12-16 23:31 ` Pierfrancesco Caci
2001-12-17 8:36 ` ncw
2001-12-17 8:19 ` Christoph Rohland
2001-12-16 22:02 RaúlNúñez de Arenas Coronado
2001-12-16 22:30 ` Robert Love
2001-12-16 23:13 ` Adam Schrotenboer
2001-12-16 23:26 ` J Sloan
2001-12-16 23:27 ` Alexander Viro
2001-12-17 9:03 ` Jurgen Botz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sc1d2b03.001@fs6.int.nikki.com \
--to=jrivard@nikki.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox