Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263895AbUFFRsB (ORCPT ); Sun, 6 Jun 2004 13:48:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263868AbUFFRqd (ORCPT ); Sun, 6 Jun 2004 13:46:33 -0400 Received: from x35.xmailserver.org ([69.30.125.51]:28559 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id S263895AbUFFRny (ORCPT ); Sun, 6 Jun 2004 13:43:54 -0400 X-AuthUser: davidel@xmailserver.org Date: Sun, 6 Jun 2004 10:43:47 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@bigblue.dev.mdolabs.com To: "Patrick J. LoPresti" cc: Paul Rolland , Linux Kernel Mailing List Subject: Re: clone() <-> getpid() bug in 2.6? In-Reply-To: Message-ID: References: <200406061307.i56D7pX26872@tag.witbe.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1583 Lines: 44 On Sun, 6 Jun 2004, Patrick J. LoPresti wrote: > "Paul Rolland" writes: > > > Hello, > > > > > It does that for the unique filenames and id stamps > > > (maildir format and > > > > I though this was a job for mktemp and co. > > Sure, if you want to create a unique filename on a local unshared > disk. > > But suppose you want a unique filename on a partition which might be > NFS-mounted with multiple concurrent writers. Oh, and the year is > 1997. Still want to use mktemp? > > Bernstein decided to name each file: > >