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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: file name case sensitivity Date: Tue, 25 Feb 2003 09:04:39 -0800 Lines: 30 Message-ID: References: <20030225050653 DOT GA28815 AT redhat DOT com> <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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/