*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:[EMAIL PROTECTED]]
> Sent: Friday, September 14, 2001 12:10 PM
> To: [EMAIL PROTECTED]
> 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@HOME-NT-01 ~
> [3]$ type cd
> cd is a shell builtin
>
> matthew@HOME-NT-01 /usr
> [4]$ cd /usr
>
> matthew@HOME-NT-01 /usr
> [5]$ type mv
> mv is aliased to `mv -i '
>
> matthew@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/