delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/27/01:30:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 27 May 2011 07:29:26 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: file system name case insensitivity issue: Possible inclusion for the FAQ or User Manual?
Message-ID: <20110527052926.GE28752@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4DDE9BE5 DOT 90105 AT veritech DOT com> <20110526193553 DOT GB6015 AT ednor DOT casa DOT cgf DOT cx> <4DDEB0BA DOT 9030903 AT veritech DOT com>
MIME-Version: 1.0
In-Reply-To: <4DDEB0BA.9030903@veritech.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On May 26 15:57, Lee D. Rothstein wrote:
> On 5/26/2011 3:35 PM, Christopher Faylor wrote:
> >On Thu, May 26, 2011 at 02:28:53PM -0400, Lee Rothstein wrote:
> >>Issue: Possible confusing consequences of CYGWIN variable option:
> >>glob:noignorecase
> >>
> >>What follows is an edited transcript of my confusion about trying
> >>to find the command "xwin" (and eventual resolution), having
> >>forgotten about its capitalization. More specifically, I was
> >>trying to figure out if it was a binary or a script (not having
> >>used X in the last year, or so).
> >>
> >>BTW, the reason I had glob:noignorecase set was to catch
> >>capitalization errors on HTML file names I develop for a
> >>LAMP server.
> >Re: http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
> >
> >   (no)glob[:ignorecase] - if set, command line arguments containing
> >   UNIX-style file wildcard characters (brackets, question mark, asterisk,
> >   escaped with \) are expanded into lists of files that match those
> >   wildcards.  This is applicable only to programs running from a DOS
> >   command line prompt.  Default is set.
> >
> >There was no DOS command line prompt in anything below.
> >
> True. So, you're saying that 'glob:noignorecase' had no effect on
> the commands executed. Then the issue that the transcript reveals
> is that in Cygwin, case sensitivity only affects filename specs
> if globbing is used. That may, in fact, have been covered somewhere
> in the documentation. (?)

You got that wrong.  The CYGWIN=glob:... option only affects how
globbing is performed on the command line arguments if the Cygwin
process has been started from a native Windows process.  Full stop.

Now, actual filename case sensitivity is an entirely different issue.
This is handled by a registry setting, the ability of the underlying
filesystems to handle filenames case sesitive, and the settings of
the Cygwin mount point:

http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive
http://cygwin.com/cygwin-ug-net/using.html#mount-table


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019