[Top][All Lists]

[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: Sun, 27 Jul 2008 14:38:11 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Jul 26, 2008 at 12:23:24PM +0800, Bean wrote:
> On Sat, Jul 26, 2008 at 4:51 AM, Robert Millan <address@hidden> 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

Anyway, please have GRUB deal with this madness as you see fit.  I don't
care anymore.

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]