Re: [PATCH] Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option

OGAWA Hirofumi
2009-05-02T12:48:39Z

tridge@samba.org 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@mail.parknet.co.jp>