delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/16:14:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Original-Recipient: <cygwin AT cygwin DOT com>
From: "Hannu E K Nevalainen (garbage mail)" <garbage_collector AT telia DOT com>
To: "ML CygWIN" <cygwin AT cygwin DOT com>
Subject: 'mv' and 'sharing violation'
Date: Tue, 18 Feb 2003 22:11:56 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEOEFLCKAA.garbage_collector@telia.com>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019