This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: B20: mv deletes files on error (NT)
- To: Corinna Vinschen <corinna.vinschen@cityweb.de>, Chris Faylor <cgf@cygnus.com>
- Subject: Re: B20: mv deletes files on error (NT)
- From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
- Date: Mon, 29 Mar 1999 11:45:07 -0500
- Cc: David Dagon <david.dagon@mindspring.com>, cygwin@sourceware.cygnus.com
- References: <36FD516F.45299E3E@mindspring.com><19990329005659.A2473@cygnus.com>
At 11:57 AM 3/29/99 +0200, Corinna Vinschen wrote:
>Chris Faylor wrote:
>>
>> I'm not 100% certain (and I can't check right now) but I think that
>> this should not be a problem in recent snapshots. A net contributor
>> supplied a patch to make "inode" generation case-insensitive. That
>> should make mv capable of detecting this problem and disallowing it.
>>
>> -chris
>
>Yes. `mv foo Foo' only outputs the message
>
> mv: `foo' and `Foo' are the same file
>
>in the recent snapshots.
>
>Regards,
>Corinna
>
>
If that's true, how does one rename a file based on case sensitivity only?
On b19 (which as all I have at this location), mv can do this without
complaint or problem...
TEST_lhall->touch foo
TEST_lhall->ls -l
total 0
-rw-r--r-- 1 544 None 0 Mar 29 11:43 foo
TEST_lhall->mv foo Foo
TEST_lhall->ls -l
total 0
-rw-r--r-- 1 544 None 0 Mar 29 11:43 Foo
Seems a shame if this functionality has been lost...
Larry Hall lhall@rfk.com
RFK Partners, Inc. (781) 239-1053
8 Grove Street (781) 239-1655
Wellesley, MA, 02482-7797 http://www.rfk.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com