Re: [PATCH] Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option

From: OGAWA Hirofumi
Date: Sat May 02 2009 - 08:48:42 EST


tridge@xxxxxxxxx writes:

> > Ah. What is the intent to force WINNT option (lcase field)? To force it
> > may not be good. So, change default if config is on?
>
> The idea behind forcing it is that it maintains maximum
> functionality without the user having to use special mount
> options. For example, if a Linux user creates a file "README.txt" then
> the name will be preserved exactly, whereas without that hackery it
> becomes README.TXT on disk.
>
> It does mean we are mixing up two things with that config option
> though, which is why I asked you about it. Would you prefer to just
> let the distros worry about the default mount options when someone
> plugs in a VFAT device on a system with
> CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES set?

I see.

> Or maybe we should change the defaults in parse_options() when this
> option is set?

Current default (shortname=lower) is just for historically reason.
Personally, I'm thinking it's not good as default ("winnt" or "mixed" is
prefer).

Anyway, I'm not sure though, I guess to change the default is good than
force it at least, because it would be the user policy.

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/