Re: [PATCH] Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option

From: OGAWA Hirofumi
Date: Sat May 02 2009 - 06:26:23 EST


OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:

> OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:
>
>> Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx> writes:
>>
>>> Subject: [PATCH] Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
>>>
>>> When this option is enabled the VFAT filesystem will refuse to create
>>> new files with long names. Accessing existing files with long names
>>> will continue to work.
>>>
>>> File names to be created must conform to the 8.3 format. Mixed case is
>>> not allowed in either the prefix or the suffix.
>>
>> I'll answer to only technical part. This patch creates different name
>> internally, without renaming dcache. Are you really sure if that's ok?
>
> Ah, sorry. I'm missing (is_shortname == 0) part.

Um.., probably, this patch would be handle the invalid chars for 8.3 alias.
Otherwise, it'll try to create ~<num> postfix, and I guess it'll become
the dcache problem.

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