delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/15/09:03:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: insensitive case problem in latest cygwin
Date: Tue, 15 Feb 2005 14:02:18 -0000
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.61.0502141636000.24034@slinky.cs.nyu.edu>
Message-ID: <NUTMEGllgYBr4BvRnfv0000021a@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 15 Feb 2005 14:02:18.0458 (UTC) FILETIME=[F5FDF3A0:01C51366]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Igor Pechtchanski
> Sent: 14 February 2005 21:37

> On Mon, 14 Feb 2005, Mark Paulus wrote:
> 

> > My understanding of Windows implementation of Filesystems
> > is that they MIGHT preserve case, but they are not Case
> > sensitive.  Which is apparently what lead to the whole thing
> > about creating managed filesystems, which not only preserve
> > case, but are also Case Sensitive (as opposed to case
> > sensitive).  I would be really shocked if your mv AAA aaa worked
> > on an unmanaged filesystem, and if it did, could you verify what
> > kind of filesystem you are working on?
> 
> I hope you're asking the original poster, as I've never 
> claimed that "mv
> AAA aaa" worked for me (quite the opposite, in fact).
> 	Igor


  Rather than get into purely theoretical arguments, I prefer to get empirical:

----------------<snip!>----------------
C:\Documents and Settings\dk\test>dir
 Volume in drive C has no label.
 Volume Serial Number is 942E-907E

 Directory of C:\Documents and Settings\dk\test

15/02/2005  10:28    <DIR>          .
15/02/2005  10:28    <DIR>          ..
15/02/2005  10:28                 0 aaa
               1 File(s)              0 bytes
               2 Dir(s)  71,941,922,816 bytes free

C:\Documents and Settings\dk\test>ren aaa AAA

C:\Documents and Settings\dk\test>dir
 Volume in drive C has no label.
 Volume Serial Number is 942E-907E

 Directory of C:\Documents and Settings\dk\test

15/02/2005  10:28    <DIR>          .
15/02/2005  10:28    <DIR>          ..
15/02/2005  10:28                 0 AAA
               1 File(s)              0 bytes
               2 Dir(s)  71,941,922,816 bytes free

C:\Documents and Settings\dk\test>move AAA aaa

C:\Documents and Settings\dk\test>dir
 Volume in drive C has no label.
 Volume Serial Number is 942E-907E

 Directory of C:\Documents and Settings\dk\test

15/02/2005  10:28    <DIR>          .
15/02/2005  10:28    <DIR>          ..
15/02/2005  10:28                 0 aaa
               1 File(s)              0 bytes
               2 Dir(s)  71,941,922,816 bytes free

C:\Documents and Settings\dk\test>
C:\Documents and Settings\dk\test>bash
dk AT mace /win/c/Documents and Settings/dk/test> ls
aaa
dk AT mace /win/c/Documents and Settings/dk/test> mv aaa AAA
dk AT mace /win/c/Documents and Settings/dk/test> ls
AAA
dk AT mace /win/c/Documents and Settings/dk/test> mv AAA aaa
dk AT mace /win/c/Documents and Settings/dk/test> ls
aaa
dk AT mace /win/c/Documents and Settings/dk/test> uname -a
CYGWIN_NT-5.1 mace 1.5.13(0.116/4/2) 2004-12-01 10:15 i686 unknown unknown
Cygwin
dk AT mace /win/c/Documents and Settings/dk/test>
----------------<snip!>----------------

  That's NTFS, BTW, but it seems fine under both cygwin and DOS to me.  The only
thing I couldn't get to work was "copy AAA aaa" or "cp AAA aaa"; that didn't
work under either.

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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