This is the mail archive of the
mailing list for the Cygwin project.
Re: bug#10468: BUG: Severe or critical - deletes existing files and leaves nothing. (cp)
- From: Andrey Repin <anrdaemon at freemail dot ru>
- To: Eric Blake <eblake at redhat dot com>, cygwin at cygwin dot com
- Date: Tue, 10 Jan 2012 02:45:14 +0400
- Subject: Re: bug#10468: BUG: Severe or critical - deletes existing files and leaves nothing. (cp)
- References: <4F0B59EF.firstname.lastname@example.org> <4F0B5FF6.email@example.com>
- Reply-to: Andrey Repin <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):
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
Andrey Repin (firstname.lastname@example.org) 10.01.2012, <02:39>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple