Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 11 Aug 2002 15:16:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 11 Aug 2002 15:16:40 -0400 Received: from pc2-cwma1-5-cust12.swa.cable.ntl.com ([80.5.121.12]:33524 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Sun, 11 Aug 2002 15:16:39 -0400 Subject: Re: [PATCH] Linux-2.5 fix/improve get_pid() From: Alan Cox To: Jamie Lokier Cc: Linus Torvalds , Paul Larson , Hubertus Franke , Rik van Riel , Andries Brouwer , Andrew Morton , andrea@suse.de, Dave Jones , lkml In-Reply-To: <20020810194813.D306@kushida.apsleyroad.org> References: <20020810182317.A306@kushida.apsleyroad.org> <20020810194813.D306@kushida.apsleyroad.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 11 Aug 2002 21:41:14 +0100 Message-Id: <1029098474.16236.58.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 906 Lines: 21 On Sat, 2002-08-10 at 19:48, Jamie Lokier wrote: > Linus Torvalds wrote: > > > Oh dear -- what of programs that assume duplicate inode numbers are hard > > > links, and therefore assume the same contents will be found in each > > > duplicate? > > > > Well, anybody who tries to back up /proc with "tar" is in for some > > surprises anyway ;) > > I was thinking of an over-intelligent `find'. But hey, as long as this > is only for the weird and wonderful /proc :-) If they hold both handles open and stat them and find the same inode number then yes its a bug. We have lots of room for inode numbers to handle 2^30 processes and allow for 2^30 other files - 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/