delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/09/17:50:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Jan 2012 02:45:14 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1288085577.20120110024514@mtu-net.ru>
To: Eric Blake <eblake AT redhat DOT com>, cygwin AT cygwin DOT com
Subject: Re: bug#10468: BUG: Severe or critical - deletes existing files and leaves nothing. (cp)
In-Reply-To: <4F0B5FF6.8020501@redhat.com>
References: <4F0B59EF DOT 7080204 AT tlinx DOT org> <4F0B5FF6 DOT 8020501 AT redhat DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Greetings, Eric Blake!

> On 01/09/2012 02:19 PM, Linda Walsh , <cygwin AT tlinx.org> wrote:
>> 
>> 
>> I was trying to copy a font dir from a unix to a windows machine.
>> 
>> Problem is there are duplicates -- where only the case differs...

> The problem is not in coreutils, but in your operating system's
> limitations, and in your configuration.  Windows (and thus Cygwin) can
> be put in a mode where it preserves case (and I highly recommend doing
> so if you want your example to work):
> http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive

You're confusing case sensitivity with case preservation.
NTFS is (and always was) case-preserving filesystem.
FAT - depends on who's working with it, Windows functions are case-preserving
for most part.
However, you can turn case-sensitivity on for NTFS volumes as well, as the
article point out.
However, it isn't strictly right nowadays, AFAIK, in that you can access files
different in case without enabling of the global case sensitivity, through UNC
filenames.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 10.01.2012, <02:39>

Sorry for my terrible english...


--
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

- Raw text -


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