delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/15/11:13:07

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-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVYBDeGChFwhx0HJoWTIXsUL6bCMk11REVIFwXNLJs8u8T5kI6oQIkeY
Message-ID: <3EC3AE64.8000801@rfk.com>
Date: Thu, 15 May 2003 11:12:36 -0400
From: "Larry Hall (RFK Partners, Inc.)" <lhall AT rfk DOT com>
Reply-To: lhall AT rfk DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Lester Ingber <ingber AT ingber DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: case sensitivity and filenames
References: <20030515125340 DOT GA4036 AT ingber DOT com>
In-Reply-To: <20030515125340.GA4036@ingber.com>

Lester Ingber wrote:
> I keep seeing postings from experienced Cygwin developers that it is a
> nightmare to consider adding full case sensitivity to Cygwin.
> 
> I also have Interix on my system, a (failed?) Microsoft attempt
> to introduce a gnu-based unix shell.  Albeit is has limited tools,
> in fact it looks to me that it *does* respect true case sensitivity.
> For example, I have untarred directories that contain files/directories
> differing only by the case of the names, etc.
> 
> If so, then why can't Interix provide a template for this feature?
> 
> Lester
> 


I don't believe Interix is in the business of handing out templates of
their features for other's use but I suppose you could ask them about it
if you're interested.

Interix uses the POSIX subsystem, not the Win32 subsystem with the Windows
API.  It's a different base focused on a different goal.  It's an attempt
to provide a POSIX environment *separate from* the Windows environment.
Cygwin provides a POSIX environment within the Windows environment.  You
can't use both the POSIX subsystem and the Win32 subsystem at the same
time.  But regardless, you'll still have trouble, say, accessing 2 files
in the same directory that differ only by case with Windows tools, no
matter how those files were created (FYI, the Win32 API will allow the
creation of 2 *files* in the same directory with the same name that differs
only by case on *NTFS* partitions).  The point is that there are limitations
to what the Win32 API allows and the ability of Windows tools to interact
with these variations.  Changing that simply would generate more problems
for users and, most likely, even more questions on this list (How come I
can't create 2 files differing only by case in a directory on my FAT
partition?  Why can't I create 2 directories differing only by case in the
same directory?  Why won't Notepad open "aaa.txt" instead of "AaA.TxT"?
Etc.)

That's it in a nutshell, minus a technical issue or two perhaps.  As
always, PTC (see <http://cygwin.com/acronyms/#PTC>)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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