| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=iHigOBCl7GOgpugwyT4zoojMNZ6EJrVz7cLoiRZtuGAJtk/W6U8gh | |
| 7jVXR1fggQXIi++IsnV1YcL/JfkC4o9r8aPOtqhgx3tKbRDQlyrBWGnAZrzk8Jzg | |
| 6swCovR4J+cMXIFDhlO4Yr3aQy00K6pOyN+WHJyTDBtjXCP1QZiL1w= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=nlSeRXhLWWEFj/IrqlTXZNR/deo=; b=BjszjULM+2qcGtdCAv/MU5hGW5yu | |
| oHZvS8hVSy/EHxkKXN3kIrdZoBlqrSUiOeaSNtPYWyt4RBohy8gcPX7fEaFnQ024 | |
| Qy37F8ytVTpXqwN1XJafNHBB7L7d3HqgYzm1NDi3iCd0jBp9iV93QuWAxZIfyjzZ | |
| b3WQEVFtA8oyCGo= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
| X-Spam-SWARE-Status: | No, score=0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1 |
| Date: | Fri, 2 Aug 2013 10:31:05 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Case sensitive filenames for non-NTFS filesystems |
| Message-ID: | <20130802083105.GC18054@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <51FB56D0 DOT 4040609 AT shaddybaddah DOT name> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <51FB56D0.4040609@shaddybaddah.name> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Aug 2 16:50, Shaddy Baddah wrote:
> Hi,
>
> As per:
>
> http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive
>
> Cygwin act on filenames on NTFS in with case preservation/sensitivity.
Correction, not only NTFS. Here's the source code comment:
/* Case sensitivity is supported if FILE_CASE_SENSITIVE_SEARCH is set,
except on Samba which handles Windows clients case insensitive.
NFS doesn't set the FILE_CASE_SENSITIVE_SEARCH flag but is case
sensitive.
UDF on NT 5.x is broken (at least) in terms of case sensitivity.
The UDF driver reports the FILE_CASE_SENSITIVE_SEARCH capability
but:
- Opening the root directory for query seems to work at first,
but the filenames in the directory listing are mutilated.
- When trying to open a file or directory case sensitive, the file
appears to be non-existant. */
> As this was a feature configured in the Windows kernel, the pre-existing
> limitation whereby the same case sensitivity was not available for FAT32
> was an understandable compromise.
>
> Unfortunately, in providing EXFAT, Microsoft has not seen fit to carry
> over the same handling in the kernel as it does in NTFS.
ExFAT is based on FAT/FAT32, so it's understandable. I don't have ExFAT
available. Assuming your ExFAT drive is drive X:, can you please show
me the output of
/usr/lib/csih/getVolInfo.exe /cygdrive/x
If it returns different values than FAT, it might be worth to handle
specificially in Cygwin's mount code.
> Can I suggest that if it is a) feasible b) doable without too much added
> degradation in performance/complexity to the file handling code, that
> Cygwin add some limited support itself.
>
> I'm not talking about going back to something like the old managed
> mounts, but more to its replacement function. That being the same
> handling of special characters like :, |, etc that Cygwin employs.
>
> That is, the use of the special Unicode breakout character. It can
> be used when a name collision is detected (yes, detection code required.
> I don't know how costly that would be). eg.
> [...]
> Is the trade-off large enough to fall back on the "just use NTFS"
> argument?
Well, from my POV, yes. It doesn't make sense to use ExFAT for serious
work anyway, it's for SD cards and stuff like that.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |