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

Nerijus Baliunas (nerijus@users.sourceforge.net)
Fri, 10 Aug 2001 16:09:06 +0200 (EET)


--8323328-1804289383-997452546=:1721
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Disposition: INLINE

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

--8323328-1804289383-997452546=:1721
Content-Type: APPLICATION/X-GZIP; NAME="fdd_vfat.gz"
Content-Transfer-Encoding: BASE64
Content-Disposition: INLINE; FILENAME="fdd_vfat.gz"

H4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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAADsKD8BXP2xAwA+FgA=

--8323328-1804289383-997452546=:1721--
-
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/