delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/14/16:09:05

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
Date: Mon, 14 Feb 2005 14:08:39 -0700
From: Mark Paulus <mark DOT paulus AT mci DOT com>
Subject: Re: insensitive case problem in latest cygwin
In-reply-to: <Pine.GSO.4.61.0502141342070.12219@slinky.cs.nyu.edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-id: <0IBX00GEP6QFEK@pmismtp02.mcilink.com>
MIME-version: 1.0
Priority: Normal
X-IsSubscribed: yes

Hmmmm....

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?

On Mon, 14 Feb 2005 13:45:04 -0500 (EST), Igor Pechtchanski wrote:

>On Mon, 14 Feb 2005, Jason Taylor wrote:

>> windows xp
>> The current version of cygwin seems to ignore case in the filesystem.
>> if you open a cygwin bash shell and type
>>
>> touch AAA
>> mv AAA aaa
>>
>> it says that 'AAA' and 'aaa' are the same filename and doesn't change
>> the filename.

>That's the behavior I've gotten for as long as I can remember, which
>prompted me to write this useful script:
>------------------- BEGIN /usr/local/bin/mvv -------------------
>#!/bin/sh
>/bin/mv "${1%%/}" "${1%%/}-$$" && mv "${1%%/}-$$" "${2%%/}"
>-------------------- END /usr/local/bin/mvv --------------------

>> When I run cygwin setup and go back to the 'prev' version the mv
>> command changes the name of the file like it has in previous versions.

>Very strange.  What version was the 'prev' version?

>> Sorry I can't get version numbers right now but it's Valentine's day.
>>  - jason

>Oh, and neither 'uname -a' nor 'cygcheck -svr' run on Valentine's day?
>Why, that's just MEAN! :-)
>	Igor
>-- 
>				http://cs.nyu.edu/~pechtcha/
>      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
>ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

>"The Sun will pass between the Earth and the Moon tonight for a total
>Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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





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