Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 18 Feb 2002 09:57:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 18 Feb 2002 09:57:10 -0500 Received: from mail.parknet.co.jp ([210.134.213.6]:22800 "EHLO mail.parknet.co.jp") by vger.kernel.org with ESMTP id ; Mon, 18 Feb 2002 09:56:57 -0500 To: Jos Hulzink Cc: Linux Kernel Development Subject: Re: 2.5.5-pre1: mounting NTFS partitions -t VFAT In-Reply-To: <20020218134640.Y24227-100000@toad.stack.nl> From: OGAWA Hirofumi Date: Mon, 18 Feb 2002 23:56:35 +0900 In-Reply-To: <20020218134640.Y24227-100000@toad.stack.nl> Message-ID: <874rken8ik.fsf@devron.myhome.or.jp> Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 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 Jos Hulzink writes: > Hi Ogawa, > > Your patch seems to fix it more or less, not the way it should be > fixed, imho. Partitions other than FAT return bogus information, but > bogus is not always zero. Fortunately enough, one of those new if > statements returns an error, but this is a "works for me" > solution, not a decent one. No, that patch are validity check for FAT, not for you. > What lacks is a fingerprint detector, and iirc -long time ago- FAT has a > very easy to detect fingerprint. > > I'll dig into FAT documentation tonight. I read the document repeatedly and did much tests. If you read the document, you may use BS_OEMName or BS_FilSysType, however, these don't have a meaning. -- OGAWA Hirofumi - 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/