Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261708AbVCXThE (ORCPT ); Thu, 24 Mar 2005 14:37:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261718AbVCXThE (ORCPT ); Thu, 24 Mar 2005 14:37:04 -0500 Received: from imf16aec.mail.bellsouth.net ([205.152.59.64]:54770 "EHLO imf16aec.mail.bellsouth.net") by vger.kernel.org with ESMTP id S261708AbVCXTg4 (ORCPT ); Thu, 24 Mar 2005 14:36:56 -0500 Date: Thu, 24 Mar 2005 13:36:28 -0600 From: Tommy Reynolds To: linux-kernel@vger.kernel.org Subject: Re: Squashfs without ./.. Message-Id: <20050324133628.196a4c41.Tommy.Reynolds@MegaCoder.com> In-Reply-To: References: <200503231740.09572.maillist@zuco.org> <20050323174925.GA3272@zero> X-Mailer: Sylpheed version 1.9.6+svn (GTK+ 2.4.14; i686-redhat-linux-gnu) X-Face: Nr)Jjr, spake thus: > > There's probably a number of apps that skip the first two dirents, inst= ead > > of checking for the dot dirs. >=20 > Yep, check `-noleaf' in find(1) Then it is broken in several ways. =20 First, file systems are not required to implement ".." (only "." is magical, ".." is a courtesy). =20 Second, skipping the first two entries carries an implied assumtion about the file name sorting order that is not portable in a non-US-ASCII world. Cheers --Signature=_Thu__24_Mar_2005_13_36_28_-0600_bTsZiT/H=K9QD76t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCQxa//0ydqkQDlQERAg0ZAJ4uZgK1JXiROzKsXfgd+sCYbqvjdQCg28aU l9Q0PSRz0+8koNpEnmM4p8U= =5FyD -----END PGP SIGNATURE----- --Signature=_Thu__24_Mar_2005_13_36_28_-0600_bTsZiT/H=K9QD76t-- - 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/