Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 16 Dec 2001 23:15:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 16 Dec 2001 23:15:29 -0500 Received: from dsl-64-193-154-205.telocity.com ([64.193.154.205]:33540 "EHLO fs6.int.nikki.com") by vger.kernel.org with ESMTP id ; Sun, 16 Dec 2001 23:15:21 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.1 Date: Sun, 16 Dec 2001 23:14:32 -0500 From: "Jason Rivard" To: Subject: Re: Is /dev/shm needed? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I delete all files in /tmp on reboot + I delete all of 's files in /tmp if has no running processes when logs out. >>> "H. Peter Anvin" 12/16/01 09:26PM >>> Followup to: By author: Ryan Cumming 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 -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - 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/ - 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/