Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E3AADB5.8040302@swcp.com> Date: Fri, 31 Jan 2003 10:09:09 -0700 From: Lynn Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin Subject: annoying problem with 'mv' Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.5 required=10.0 tests=X_ACCEPT_LANG,USER_AGENT,TO_LOCALPART_EQ_REAL version=2.40 X-Spam-Level: My understanding of the way that 'mv' works is that it will try to RENAME the file or directory in question provided the source and destination are on the same partition otherwise it will do a COPY. If I mv (in the sense of renaming) a large directory that is buried deep in some other directory, it will occur very quickly. If that same directory happens to be rooted at /c, it will take a very long time because it appears to be doing a copy. This has been going on for a long time, but currently I'm running the latest of almost everything on a Win2k pro box. My mount tables are: c:\program files on /PF type system (binmode) C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /c type system (binmode) f: on /cvs type system (binmode) g: on /kits type system (binmode) e: on /e type user (binmode,noumount) n: on /n type user (binmode,noumount) This works: cd /c/mystuff mv OldDir NewDir An example of the failure would be: cd /c mv OldDir NewDir Is there a reason for this behavior? Thanks. Lynn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/