From: Pavel Machek Subject: Re: CONFIG_VFAT_FS_DUALNAMES regressions Date: Tue, 7 Jul 2009 21:51:29 +0200 Message-ID: <20090707195129.GB24203@elf.ucw.cz> References: <87hbxu60qm.fsf@devron.myhome.or.jp> <19021.23231.213863.726785@samba.org> <19021.26102.80885.330380@samba.org> <19021.31291.642416.956966@samba.org> <19021.63615.450348.192109@samba.org> <19025.63119.656216.431469@samba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Engelhardt , OGAWA Hirofumi , Theodore Tso , Alan Cox , Rusty Russell , john.lanza@linux.com, Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org, Dave Kleikamp , corbet@lwn.net, jcm@jonmasters.org To: tridge@samba.org Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35130 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754298AbZGGTvh (ORCPT ); Tue, 7 Jul 2009 15:51:37 -0400 Content-Disposition: inline In-Reply-To: <19025.63119.656216.431469@samba.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon 2009-07-06 23:05:19, tridge@samba.org 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