Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 15 May 2003 12:17:10 -0400 From: Lester Ingber To: "Larry Hall (RFK Partners, Inc.)" Cc: cygwin AT cygwin DOT com Subject: Re: case sensitivity and filenames Message-ID: <20030515161710.GA1564@ingber.com> Reply-To: Lester Ingber References: <20030515125340 DOT GA4036 AT ingber DOT com> <3EC3AE64 DOT 8000801 AT rfk DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EC3AE64.8000801@rfk.com> User-Agent: Mutt/1.4i X-URL-ALT: http://www.alumni.caltech.edu/~ingber/ Larry: Thanks for your detailed explanation. You state: : (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). However, I am working on an NTFS partition (My C: drive only has another IBM Preload hidden partition.) `cygcheck -s shows: CYGWIN = `check_case:strict' ... c: hd NTFS 55902Mb 27% CP CS UN PA FC IBM_PRELOAD ... C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive In my /etc/profile I have export CYGWIN="check_case:strict" I cannot create two files that differ only in case? 12:13:04 @lester:~% touch tp 12:13:08 @lester:~% touch Tp touch: creating `Tp': No such file or directory 12:13:11 @lester:~% ls tp Lester On Thu, May 15, 2003 at 11:12:36AM -0400, Larry Hall (RFK Partners, Inc.) wrote: : Date: Thu, 15 May 2003 11:12:36 -0400 : From: "Larry Hall (RFK Partners, Inc.)" : 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 : To: Lester Ingber : CC: cygwin AT cygwin DOT com : Subject: Re: case sensitivity and filenames : In-Reply-To: <20030515125340 DOT GA4036 AT ingber DOT 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 ) : : -- : Larry Hall http://www.rfk.com : RFK Partners, Inc. (508) 893-9779 - RFK Office : 838 Washington Street (508) 893-9889 - FAX : Holliston, MA 01746 : : : ################################################################# : ################################################################# : ################################################################# : ##### : ##### : ##### : ################################################################# : ################################################################# : ################################################################# -- Prof. Lester Ingber ingber AT ingber DOT com ingber AT alumni DOT caltech DOT edu www.ingber.com www.alumni.caltech.edu/~ingber -- 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/