delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: mv implemented as cp?!?!?!!? - problem!! |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
Date: | Fri, 14 Sep 2001 11:53:21 +1000 |
Message-ID: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F172@itdomain002.itdomain.net.au> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
Thread-Topic: | mv implemented as cp?!?!?!!? - problem!! |
Thread-Index: | AcE8v8Pt1sQW1dUXRDy+aWWVixfPrAAAAc5A |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Matthew O. Persico" <persicom AT acedsl DOT com>, <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id WAA07539 |
*sigh.* This is in the archives. Cygwin uses win32 calls to do mv/rm etc. Win32 will copy-and-delete if there are _any_ locks present in the tree structure. The problem with perl is most likely a cache consistency problem - something is keeping a short lived lock on something in the directory - or the directory itself. Rob > -----Original Message----- > From: Matthew O. Persico [mailto:persicom AT acedsl DOT com] > Sent: Friday, September 14, 2001 12:10 PM > To: cygwin AT cygwin DOT com > Subject: Re: mv implemented as cp?!?!?!!? - problem!! > > > "Larry Hall (RFK Partners, Inc)" wrote: > > > > Hi Mark, > > > > You're best bet for finding a solution to this problem is > to debug Perl. > > This will give you the details you need to know how to > proceed with a > > proper solution. Certainly it is Perl that is controlling > the behavior > > in this case. > > No, not at all. From the orginal post: > > > I have a /usr/X11R6 directory that I wanted to get out of > the way. So I > > renamed it like this: > > > > cd /usr > > mv X11R6 X11R6.XFree.4.1.0 > > > > It is taking multiple minutes. Looking at it in Windows > Explorer, I see > > both X11R6 and X11R6.XFree.4.1.0 in existance at the same time. > > > > Is mv implemented as cp and del?!?!. Why not just rename > the file, a'la > > UNIX, or even Windows? Or am I really missing something? > > Who said anything about perl? I'm talking bash command line, as in: > > matthew AT HOME-NT-01 ~ > [3]$ type cd > cd is a shell builtin > > matthew AT HOME-NT-01 /usr > [4]$ cd /usr > > matthew AT HOME-NT-01 /usr > [5]$ type mv > mv is aliased to `mv -i ' > > matthew AT HOME-NT-01 /usr > [6]$ mv X11R6 X11R6.XFree.4.1.0 > > > -- > Matthew O. Persico > > http://www.acecape.com/dsl > AceDSL:The best ADSL in Verizon area > > -- > 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/ > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |