Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756712AbZDEB55 (ORCPT ); Sat, 4 Apr 2009 21:57:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755341AbZDEB5s (ORCPT ); Sat, 4 Apr 2009 21:57:48 -0400 Received: from hawking.rebel.net.au ([203.20.69.83]:49108 "EHLO hawking.rebel.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753787AbZDEB5r (ORCPT ); Sat, 4 Apr 2009 21:57:47 -0400 Message-ID: <49D8100F.1060504@davidnewall.com> Date: Sun, 05 Apr 2009 11:27:35 +0930 From: David Newall User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Andrew Morton CC: Jeff Garzik , Lennart Sorensen , Mark Lord , torvalds@linux-foundation.org, tytso@mit.edu, drees76@gmail.com, jesper@krogh.cc, linux-kernel@vger.kernel.org Subject: Re: Linux 2.6.29 References: <20090326171148.9bf8f1ec.akpm@linux-foundation.org> <20090326174704.cd36bf7b.akpm@linux-foundation.org> <20090326182519.d576d703.akpm@linux-foundation.org> <20090401210337.GB3797@csclub.uwaterloo.ca> <20090401143622.b1885643.akpm@linux-foundation.org> <20090401225737.GC3797@csclub.uwaterloo.ca> <49D6214A.9030204@rtr.ca> <20090403151648.GJ3795@csclub.uwaterloo.ca> <49D65C80.4080003@garzik.org> <20090404011838.9c39a78a.akpm@linux-foundation.org> In-Reply-To: <20090404011838.9c39a78a.akpm@linux-foundation.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 448 Lines: 14 Andrew Morton wrote: > - open the file > > - unlink the file > > - now sit in a loop, slowly nibbling away at the tail with > ftruncate() until the file is gone. Why not fork and unlink in the child? -- 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/