Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261305AbVCXTtt (ORCPT ); Thu, 24 Mar 2005 14:49:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261487AbVCXTts (ORCPT ); Thu, 24 Mar 2005 14:49:48 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:24452 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S261305AbVCXTrx (ORCPT ); Thu, 24 Mar 2005 14:47:53 -0500 Date: Thu, 24 Mar 2005 20:47:47 +0100 (MET) From: Jan Engelhardt To: Tommy Reynolds cc: linux-kernel@vger.kernel.org Subject: Re: Squashfs without ./.. In-Reply-To: <20050324133628.196a4c41.Tommy.Reynolds@MegaCoder.com> Message-ID: References: <200503231740.09572.maillist@zuco.org> <20050323174925.GA3272@zero> <20050324133628.196a4c41.Tommy.Reynolds@MegaCoder.com> 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: 692 Lines: 18 >> > There's probably a number of apps that skip the first two dirents, instead >> > of checking for the dot dirs. >> Yep, check `-noleaf' in find(1) >Then it is broken in several ways. >First, file systems are not required to implement ".." (only "." is >magical, ".." is a courtesy). Heh, what would happen if .. disappeared? Would `cd ..` become impossible (even if it is a shell builtin, it probably stat()s for ..)? Jan Engelhardt -- - 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/