delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46D2C469.5080206@byu.net> |
Date: | Mon, 27 Aug 2007 06:32:41 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, ehud AT unix DOT mvs DOT co DOT il |
Subject: | Re: [ANNOUNCEMENT] Updated [experimental]: coreutils-6.9-5 |
References: | <announce DOT 46CB5508 DOT 9020809 AT byu DOT net> <46CB58A1 DOT 3040202 AT x-ray DOT at> <46CB5D57 DOT 5080401 AT byu DOT net> <20070822083015 DOT GA13475 AT calimero DOT vinschen DOT de> <200708222102 DOT l7ML2hfF025725 AT beta DOT mvs DOT co DOT il> |
In-Reply-To: | <200708222102.l7ML2hfF025725@beta.mvs.co.il> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ehud Karni on 8/22/2007 3:02 PM: > I have mounted the NTFS on my Linux (Centos5) using the `mount.cifs' > command. It is a case-sensitive OS with a case-sensitive FS but with > case-insensitive mediator (the XP hosting OS). I think the Cygwin > situation is almost exactly the same. However there is a big difference > in how `mv' works on Cygwin and Linux: That's somewhat to be expected, as my case-insensitive patch is cygwin-specific. > # ll *c > -rwxrwxrwx+ 1 ???????? None 34 Aug 22 23:09 TST.uc Hmm, your /etc/passwd file needs to be updated. > > # mv tst.uc TsT.lc > # ll *c > -rwxrwxrwx+ 1 ???????? None 34 Aug 22 23:09 TsT.lc Yes, the rename occurs even if the first argument did not match the case of the file on disk. > > # mv tst.lc tst.lc > mv: `tst.lc' and `tst.lc' are the same file Intentional. My patch specifically does not attempt a case rename when the two arguments are identical, even if the two identical arguments differ in case from the disk file, under the idea that a user may not be aware that they are spelling the filename with a different case. It is only when the two arguments differ in case that I check whether a case-renaming was requested. I could perhaps be persuaded to change this, but right now I'm inclined to leave it the way it is. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG0sRp84KuGfSFAYARAvsVAKC9D1MvYeQy6kmAcUx7Y11yDk44mQCgxIil VQioKYDj1plZ6yDoHHY483k= =tGdU -----END PGP SIGNATURE----- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |