grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Ignore case when opening files in FAT


From: Robert Millan
Subject: Re: [PATCH] Ignore case when opening files in FAT
Date: Fri, 25 Jul 2008 22:51:23 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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.

> For example, normally efi image would be placed in EFI/grub directory.
> After startup, the prefix would be set to something like
> (hd0,1)/EFI/grub/. But inside grub, it convert pathname to lowercase,
> EFI would become efi, so grub can't open it anymore.

If the problem is that GRUB converts pathnames to lowercase, why not drop
that conversion and let filenames be of any case?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]