Re: Bug#333776: linux-2.6: vfat driver in 2.6.12 is not properly case-insensitive

From: OGAWA Hirofumi
Date: Fri Oct 28 2005 - 10:08:15 EST


OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:

> Horms <horms@xxxxxxxxxxxx> writes:
>
>> static struct nls_table table = {
>> .charset = "utf8",
>> .uni2char = uni2char,
>> .char2uni = char2uni,
>> .charset2lower = identity, /* no conversion */
>> .charset2upper = identity,
>> .owner = THIS_MODULE,
>> };
>>
>> I guess it is charset2lower or charset2upper that vfat is calling,
>> which make no conversion, thus leading to the problem I outlined above.
>>
>> My question is: Is this behaviour correct, or is it a bug?
>
> This is known bug. For fixing this bug cleanly, we will need to much
> change the both of nls and filesystems.

And fatfs has "utf8" option, probably the behavior is preferable than
"iocharset=utf8". However, unfortunately "utf8" has problem too.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/