Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KN7W1-0002qz-Dy for mharc-grub-devel@gnu.org; Sun, 27 Jul 2008 10:46:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KN7Vz-0002pn-2a for grub-devel@gnu.org; Sun, 27 Jul 2008 10:46:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KN7Vx-0002oL-I9 for grub-devel@gnu.org; Sun, 27 Jul 2008 10:46:26 -0400 Received: from [199.232.76.173] (port=37826 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KN7Vx-0002oI-DY for grub-devel@gnu.org; Sun, 27 Jul 2008 10:46:25 -0400 Received: from ti-out-0910.google.com ([209.85.142.186]:35772) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KN7Vw-0007Dj-Qt for grub-devel@gnu.org; Sun, 27 Jul 2008 10:46:25 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1850888tia.10 for ; Sun, 27 Jul 2008 07:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=71J78QzVxK2iJjLF0h1Bw8PhxAmzKLKw3I4tozGjpjk=; b=LpBlrv7q4pEMOUP4DK0RdR825/k40HkWCcNQkUBUC+J52UO9mjo6QlD/jS1OLA4zpu V3Tswg/msFR3evBfc4UxIgVljfRhBFpLzKk4fMrznLiEsixmh35N4lvs5vCZvYW09K3x kqVk9eUF3Zg2vlV/7js0CgZfnvrzL155zkEuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YO3ogWdpxnQFc6VStfdn8J9CTUTkxIldKw/kaRInDeh1d5M7vyEpEHeQ3pjFeCSlu4 B5gveYEpbg/Tt3UHLlphQYoXuq3uaKXmS9B/jaU8DiKyRtLDuRAfe0AsLnCQQJcyatfu Ahx8oclYAXd3DkyEzWD1iwnrS/lLNq2xrOUfM= Received: by 10.110.16.13 with SMTP id 13mr4492254tip.24.1217169982980; Sun, 27 Jul 2008 07:46:22 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sun, 27 Jul 2008 07:46:22 -0700 (PDT) Message-ID: Date: Sun, 27 Jul 2008 22:46:22 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080727123811.GB11242@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080725205123.GG18149@thorin> <20080727123811.GB11242@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] Ignore case when opening files in FAT X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2008 14:46:27 -0000 On Sun, Jul 27, 2008 at 8:38 PM, Robert Millan wrote: > On Sat, Jul 26, 2008 at 12:23:24PM +0800, Bean wrote: >> On Sat, Jul 26, 2008 at 4:51 AM, Robert Millan wrote: >> > On Fri, Jul 25, 2008 at 03:28:45PM +0800, Bean wrote: >> >> Hi, >> >> >> >> As FAT is basically a case insensitive file system, we should ignore >> >> case when opening files. >> > >> > I don't agree with this. FAT itself just stores names in ASCII, which >> > provides both cases. It's up to the reader whether to be case sensitive >> > or not (btw I recall this was discussed before). >> > >> > IMHO, case unsensitivity is a bug. It's only included in EFI for legacy >> > reasons. >> >> We also need to consider scripts, like update-grub. It retrieve >> pathname using host os. We need to be sure grub can read those >> pathname. Our fat driver uses the same scheme as linux, which convert >> all uppercase name to lowercase, but it doesn't match windows, which >> preserves them. > > Argh, you're right. Linux is messing up the case! This is so annoying. > > Oh well.. > >> FAT can have long filename, which preserve case. The problem is when >> long filename is not used, in that case, it store them in 8.3 format, >> which uses all uppercase. > > You just managed to convince me that FAT is far worse than I initially > thought. > > Anyway, please have GRUB deal with this madness as you see fit. I don't > care anymore. ok, committed. -- Bean