From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: CONFIG_VFAT_FS_DUALNAMES regressions Date: Fri, 10 Jul 2009 22:44:07 +0100 Message-ID: <20090710214407.GC30322@shareable.org> 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> <20090706200431.GC13638@shareable.org> <19028.19210.992993.643974@samba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Engelhardt , OGAWA Hirofumi , Theodore Tso , Alan Cox , Rusty Russell , Pavel Machek , 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: Content-Disposition: inline In-Reply-To: <19028.19210.992993.643974@samba.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org tridge@samba.org wrote: > Hi Jamie, > > > I think it's ok to break that compatibility if dualnames is off, > > because that's unfortunately the best available compromise. > > You probably noticed this, but the patch that has been put in only > changes the shortname setting when dualnames is off. Yes, I noticed. What I mean is if I do this, with your patch active: mount /dev/sdb -t vfat -o shortname=mixed (or shortname=lower, or shortname=win95), then it's wrong to override my shortname request "shortname=mixed", because my request means "I need lower-case names to _appear_ lower-case on something with Windows 95-like behaviour. When dual names cannot be created, if I specify any shortname= option except shortname=winnt, I'd rather create a long name entry for lower-case 8.3 names than a short name. That's why dualnames off should change the *default* to shortname=winnt, but not override an explicit shortname= option. With dualnames on, the default should be shortname=mixed because that has wider compatibility, and it's like the old Linux default when creating names. -- Jamie