Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263568AbUDPSLc (ORCPT ); Fri, 16 Apr 2004 14:11:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263574AbUDPSLc (ORCPT ); Fri, 16 Apr 2004 14:11:32 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:58286 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S263568AbUDPSHy (ORCPT ); Fri, 16 Apr 2004 14:07:54 -0400 Date: Fri, 16 Apr 2004 19:07:50 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Horst von Brand Cc: Maneesh Soni , Greg KH , Linux Kernel Mailing List Subject: Re: [RFC] fix sysfs symlinks Message-ID: <20040416180750.GG24997@parcelfarce.linux.theplanet.co.uk> References: <20040416152448.GF24997@parcelfarce.linux.theplanet.co.uk> <200404161803.i3GI3Lce011798@eeyore.valparaiso.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404161803.i3GI3Lce011798@eeyore.valparaiso.cl> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 837 Lines: 18 On Fri, Apr 16, 2004 at 02:03:21PM -0400, Horst von Brand wrote: > > Except that these "symlinks" are expected to follow the target upon > > renames. Which means that we either need a very messy scanning of > > the entire tree on every rename (obviously not feasible) or we need > > to store pointer to target and regenerate the path. Which, in turn, > > requires holding a reference. > > Sounds an awful lot like ordinary hard links... a) to directories? b) userland really wants (relative) pathname here c) still would require pinning the target down, so that doesn't simplify anything. - 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/