Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261489AbVCXUBP (ORCPT ); Thu, 24 Mar 2005 15:01:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261500AbVCXUBP (ORCPT ); Thu, 24 Mar 2005 15:01:15 -0500 Received: from hera.kernel.org ([209.128.68.125]:42958 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S261489AbVCXUBL (ORCPT ); Thu, 24 Mar 2005 15:01:11 -0500 To: linux-kernel@vger.kernel.org From: hpa@zytor.com (H. Peter Anvin) Subject: Re: Squashfs without ./.. Date: Thu, 24 Mar 2005 19:59:49 +0000 (UTC) Organization: Mostly alphabetical, except Q, which We do not fancy Message-ID: References: <20050323174925.GA3272@zero> <20050324133628.196a4c41.Tommy.Reynolds@MegaCoder.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: terminus.zytor.com 1111694389 4544 127.0.0.1 (24 Mar 2005 19:59:49 GMT) X-Complaints-To: news@terminus.zytor.com NNTP-Posting-Date: Thu, 24 Mar 2005 19:59:49 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 29 Followup to: <20050324133628.196a4c41.Tommy.Reynolds@MegaCoder.com> By author: Tommy Reynolds In newsgroup: linux.dev.kernel > > Then it is broken in several ways. > > First, file systems are not required to implement ".." (only "." is > magical, ".." is a courtesy). > Sez who? Realistically, most programs that display a list of filenames and has "up one level" as part of the list (not all of them do it that way) probably expect to get ".." in there to display this. > 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. Doesn't have anything to do with sorting order or US-ASCII, it has to do with readdir order. If nothing else, it would be highly surprising if "." and ".." weren't first; it's certainly a de facto standard, if not de jure. -hpa - 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/