Re: [PATCH] vfat write wrong value into lcase flag

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
10 Aug 2001 03:16:34 +0900


Nerijus Baliunas <nerijus@users.sourceforge.net> writes:

> On 09 Aug 2001 00:30:58 +0900 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:
>
> OH> The current vfat is writeing wrong value into lcase flag. It is
> OH> writing the lowercase flag, although filename is uppercase.
>
> Hello,
>
> In December 1999 I sent my investigation about short filenames in vfat:

[...]

>
> I think Linux should create files like win98
> (because NT shows them correctly) and show like NT.

The _current vfat_ uses the following rule.

name attribute used direntry
-----------------------------------------------------------------------------
foo.txt LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
foo.TXT LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
FOO.txt LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
FOO.TXT , CASE_LOWER_BASE | CASE_LOWER_EXT 1
Foo.TXT LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
FOO.Txt LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2

I missed something?

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

- 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/