Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757273AbZGCB63 (ORCPT ); Thu, 2 Jul 2009 21:58:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753842AbZGCB6U (ORCPT ); Thu, 2 Jul 2009 21:58:20 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:52956 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753344AbZGCB6T (ORCPT ); Thu, 2 Jul 2009 21:58:19 -0400 Date: Fri, 3 Jul 2009 03:58:22 +0200 (CEST) From: Jan Engelhardt To: tridge@samba.org cc: Theodore Tso , Alan Cox , Rusty Russell , Pavel Machek , OGAWA Hirofumi , john.lanza@linux.com, Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org, Dave Kleikamp , corbet@lwn.net, jcm@jonmasters.org Subject: Re: CONFIG_VFAT_FS_DUALNAMES regression In-Reply-To: <19021.24134.319252.776778@samba.org> Message-ID: References: <19013.8005.541836.436991@samba.org> <20090630063102.GB1351@ucw.cz> <200907012019.53932.rusty@rustcorp.com.au> <20090701122558.3a7c80d3@lxorguk.ukuu.org.uk> <20090701140503.GA21185@mit.edu> <19021.17576.808138.476600@samba.org> <19021.20449.732095.210252@samba.org> <19021.24134.319252.776778@samba.org> User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1568 Lines: 40 On Friday 2009-07-03 03:26, tridge@samba.org wrote: > > > Making WINNT the default would cause many a `ls` output to just > > scream at me in uppercaps because there are programs that > > create long names with all-uppers. > >well, you could also argue that having WINNT in effect does the >'correct' thing. It causes ls to display the name that is actually in >the filesystem. > >I think the current default for VFAT on Linux is rather misleading. It >always displays 8.3 names as lowercase, There is no misleading in that, since VFAT is rather case-insensitive. Certainly, lowering all 8.3 names is more appalling to the eyes than keeping all-caps-longnames that way. I think I would even add a new heuristic for case transformation on display to fit my personal guidelines which would be: ($file, $ext) = ($filename =~ /^(.*)\.(.*)$/); $ext = lc $ext; if ($file =~ /^[A-Z]+$/) { $file = lc $ext; } I think none of the shortcase= options does that at this time. >I should also point out that if we followed Alan's reasoning then we'd >have to actually make all these options separate filesystems[...] Linux has been doing case conversion all years long so I do not think Alan's request to make new filesystems was based solely upon shortname=; otherwise, I suspect, it would have raised it earlier. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/