delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/10/04:28:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Jan 2012 10:27:21 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bug#10468: BUG: Severe or critical - deletes existing files and leaves nothing. (cp)
Message-ID: <20120110092721.GB2292@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4F0B59EF DOT 7080204 AT tlinx DOT org> <4F0B5FF6 DOT 8020501 AT redhat DOT com> <1288085577 DOT 20120110024514 AT mtu-net DOT ru>
MIME-Version: 1.0
In-Reply-To: <1288085577.20120110024514@mtu-net.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

On Jan 10 02:45, Andrey Repin wrote:
> 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.

No, that's not right.  The registry setting is necessary since it
decides about the *kernel's* handling of casesensitivity.  And the
default is set to casesensitive=off.

I never understood why Microsoft invented this registry setting with XP.
The decision is usually done in two places anyway, FS-capability,
application case insensitivity request, and now there is the additional
registry setting which enforces caseinsensitivity on the kernel.  This
blog points to a possible reason:

  http://blogs.msdn.com/b/michkap/archive/2010/12/08/10101148.aspx


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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

- Raw text -


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