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 X-Original-Recipient: From: "Hannu E K Nevalainen (garbage mail)" To: "ML CygWIN" Subject: 'mv' and 'sharing violation' Date: Tue, 18 Feb 2003 22:11:56 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 The very latest cygwin, "all" updated yesterday - and Win98SE. For a particular reason I wanted to clear my D: drive. Knowing all the peculiarities involved in such an operation from MESSYDOS i thought that I'll try cygwin's mv... Hannu AT p450 /cygdrive/e/TEMP $ mv /cygdrive/d/* . mv: `/cygdrive/d/_CD_IMAGES_/TKCD2001.cdi.exe' and `./_CD_IMAGES_/TKCD2001.cdi' are the same file mv: `/cygdrive/d/_CD_IMAGES_/ELFA2000.cdi.exe' and `./_CD_IMAGES_/ELFA2000.cdi' are the same file In other words: there seems to be some peculiarities here too. 1) No *.exe's in that directory, mv has obviously appended '.exe'. 2) Note that "." is /cygdrive/e/ -> the paths point to DIFFERENT drives 3) The entire contents of _CD_IMAGES_/ was left on D: The cause to all this was clear when I attempted to copy the files with Explorer: a dialog saying "...sharing violation..." appeared. I had not succeded in closing down the CD-ROM emulator fully. After doing so, all went smoothly. May I suggest that the BOFH-message above gets revised, it isn't confusing enough! ;-> /Hannu E K Nevalainen, Mariefred, Sweden -- 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/