delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | Richard Foulk <richard AT skydive1 DOT com> |
Message-Id: | <200606032223.k53MNS0f019743@sd.skydive1.com> |
Date: | Sat, 03 Jun 2006 12:23:28 -1000 |
To: | cygwin AT cygwin DOT com |
Subject: | mv does copy instead of rename |
References: | <1149361203 DOT 19613 DOT ezmlm AT cygwin DOT com> |
In-Reply-To: | <1149361203.19613.ezmlm@cygwin.com> |
User-Agent: | nail 11.20 1/13/05 |
MIME-Version: | 1.0 |
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 |
In an Active Directory environment Windows Explorer was refusing to rename a directory, presumably because the directory was open by another process. On trying mv under Cygwin to rename the directory, mv seemed to just hang. It was a large directory and mv was actually copying the files to the new named directory (on the same partition.) Does this seem like appropriate behaviour? It was certainly unexpected. I'm pretty sure mv is never supposed to do this on Unix. Richard -- 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 |