Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265117AbUAZTid (ORCPT ); Mon, 26 Jan 2004 14:38:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265150AbUAZTid (ORCPT ); Mon, 26 Jan 2004 14:38:33 -0500 Received: from hera.kernel.org ([63.209.29.2]:30914 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S265117AbUAZTic (ORCPT ); Mon, 26 Jan 2004 14:38:32 -0500 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: PATCH to access old-style FAT fs Date: Mon, 26 Jan 2004 19:38:11 +0000 (UTC) Organization: Mostly alphabetical, except Q, with we do not fancy Message-ID: References: <20040126173949.GA788@frodo.local> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: terminus.zytor.com 1075145891 4785 66.80.2.163 (26 Jan 2004 19:38:11 GMT) X-Complaints-To: news@terminus.zytor.com NNTP-Posting-Date: Mon, 26 Jan 2004 19:38:11 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: hpa@smyrno.(none) (H. Peter Anvin) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1239 Lines: 31 Followup to: <20040126173949.GA788@frodo.local> By author: Frodo Looijaard In newsgroup: linux.dev.kernel > > Hi folks, > > I have created and attached a new version of my old-style FAT filesystem > patch, this time for the 2.6.0 kernel. It can also be found on > http://debian.frodo.looijaard.name/. > > Some old implementation of the FAT standard mark the end of the > directory file index by inserting a filename beginning with a byte 00. > All entries after it should be ignored, even though they are not marked > as deleted. At least some EPOC releases (an OS used on Psion PDAs, for > example) still use this policy. > It's not just "old implementations" -- it's the spec. After reaching a filename beginning with 00, no further data should be assumed to be in that filesystem. MS-DOS itself would only do that when formatting the filesystem, so *all* the subsequent entries would be assumed to start with 00, but that doesn't really seem to be to spec. -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/