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 Reply-To: Andrey Repin Message-ID: <1288085577.20120110024514@mtu-net.ru> To: Eric Blake , 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Greetings, Eric Blake! > On 01/09/2012 02:19 PM, Linda Walsh , 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