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

From: Nerijus Baliunas (nerijus@users.sourceforge.net)
Date: Fri Aug 10 2001 - 09:09:06 EST


On 10 Aug 2001 03:16:34 +0900 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:

OH> Nerijus Baliunas <nerijus@users.sourceforge.net> writes:
OH>
OH> > On 09 Aug 2001 00:30:58 +0900 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:
OH> >
OH> > OH> The current vfat is writeing wrong value into lcase flag. It is
OH> > OH> writing the lowercase flag, although filename is uppercase.
OH> >
OH> > Hello,
OH> >
OH> > In December 1999 I sent my investigation about short filenames in vfat:
OH>
OH> [...]
OH>
OH> > I think Linux should create files like win98
OH> > (because NT shows them correctly) and show like NT.
OH>
OH> The _current vfat_ uses the following rule.
OH>
OH> name attribute used direntry
OH> -----------------------------------------------------------------------------
OH> foo.txt LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
OH> foo.TXT LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
OH> FOO.txt LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
OH> FOO.TXT , CASE_LOWER_BASE | CASE_LOWER_EXT 1
OH> Foo.TXT LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
OH> FOO.Txt LONG_FILENAME, CASE_LOWER_BASE | CASE_LOWER_EXT 2
OH>
OH> I missed something?

I don't know. Sorry, I didn't look at the code, but current (2.4.7) kernel still shows
filenames as I wrote in 1999. I am talking about filenames _without_ long entries.
Didn't test what current kernel writes, though.
I'm attaching floppy image, ungzip and loop mount it.

Regards,
Nerijus



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



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:34 EST