[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: |
Bean |
Subject: |
Re: [PATCH] Ignore case when opening files in FAT |
Date: |
Sun, 27 Jul 2008 22:46:22 +0800 |
On Sun, Jul 27, 2008 at 8:38 PM, Robert Millan <address@hidden> wrote:
> 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
> thought.
>
> Anyway, please have GRUB deal with this madness as you see fit. I don't
> care anymore.
ok, committed.
--
Bean