www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/25/12:05:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: file name case sensitivity
Date: Tue, 25 Feb 2003 09:04:39 -0800
Lines: 30
Message-ID: <b3g7mq$gs9$1@main.gmane.org>
References: <b3eshp$f0a$1 AT main DOT gmane DOT org> <20030225050653 DOT GA28815 AT redhat DOT com> <lanmwa2bp44s DOT dlg AT thorstenkampe DOT de> <20030225112031 DOT GL1677 AT cygbert DOT vinschen DOT de> <1vzoy3pe8nbjf$.dlg AT thorstenkampe DOT de> <20030225115140 DOT GN1677 AT cygbert DOT vinschen DOT de> <1f3sjtsqj77be DOT dlg AT thorstenkampe DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
X-Accept-Language: en-us, en
In-Reply-To: <1f3sjtsqj77be.dlg@thorstenkampe.de>

Thorsten Kampe wrote:

> Yes, but in my opinion it could be of use to John Williams because he 
> wanted to "case sensitivity in filenames under Cygwin".

No, it won't work, because if you remember, he said that he had files 
with the same name but different case *in the same directory*.  This 
expressly can*not* be handled by any of the Windows filesystems, even NTFS.

The case:strict stuff is only there so that an attempt to open "Foo" as 
"fOo" will fail, and will help if those "similarly spelt" files are in 
different directories. But if they are in the same directory, that's not 
possible.

Anyway, even if if were theoretically possible to force NTFS to be 
case-sensitive (the underlying filesystem does have support for this, 
though Windows doesn't normally expose it), you're still stuck with 
other oddities of the Windows filesystem implementation, like the 
inability to have any file with a base name that is the same as any of 
their devices (i.e. no /usr/include/con.h or /my/src/aux.c).

So there's no way you can *really* pretend you're on a Linux or other 
POSIX system and get away with it for long..

uClinux will have to be patched for cygwin support. John: time to start 
your first set of "unofficial cygwin patches" for uClinux.

--
Shankar.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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