Re: CONFIG_VFAT_FS_DUALNAMES regressions

From: Pavel Machek
Date: Tue Jul 07 2009 - 15:51:48 EST


On Mon 2009-07-06 23:05:19, tridge@xxxxxxxxx wrote:
> Hi Jan,
>
> > With this extra patch:
> >
> > * "cp dscf4160.jpg dscf3010.jpg" works
>
> good
>
> > * "cp dscf4160.jpg dscF3011.jpg" does not work - i.e. cam ignores the
> > file without error.
> > Reason for that is that dscF3011 has an illegal 8.3 name
>
> yep, that's expected. I suggested a possible way of handling this to
> Hirofumi-san (ie. change the case of the name), but he prefers to keep
> things simple for now.
>
> It is probably not unreasonable to say that you should not be using
> mixed case names when you are putting files onto a device that doesn't
> understand mixed case. The reason it worked before my patch is that
> the kernel forced the case of the 8.3 name, and only retained the
> mixed case for the long name.

It worked before. You claim that devices not understanding long
filenames are now extinct, but that camera is the
counterexample. Perhaps camera vendors fear patents, too.

So the original description is bad -- it breaks also new stuff -- and
it certainly should not be default=y.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/