Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 19 Jan 2002 23:30:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 19 Jan 2002 23:30:46 -0500 Received: from femail23.sdc1.sfba.home.com ([24.0.95.148]:26594 "EHLO femail23.sdc1.sfba.home.com") by vger.kernel.org with ESMTP id ; Sat, 19 Jan 2002 23:30:30 -0500 Content-Type: text/plain; charset=US-ASCII From: Rob Landley To: Ken Brownfield , Doug Alcorn Subject: Re: rm-ing files with open file descriptors Date: Sat, 19 Jan 2002 15:23:57 -0500 X-Mailer: KMail [version 1.3.1] Cc: linux-kernel@vger.kernel.org In-Reply-To: <87lmevjrep.fsf@localhost.localdomain> <20020118152833.A30386@asooo.flowerfire.com> In-Reply-To: <20020118152833.A30386@asooo.flowerfire.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <20020120043027.TXTJ9511.femail23.sdc1.sfba.home.com@there> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Friday 18 January 2002 04:28 pm, Ken Brownfield wrote: > This is actually a long-standing UNIXism that is pretty heavily relied- > upon -- for example, opening a temporary file then unlinking it before > use "guarantees" that the file will not stick around in case the app > crashes before it can properly close and unlink. It's fun with named pipes, too. Allows you to use the child's PID as the temp file name really easily... Rob - 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/