This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem [1.7] find ... | xargs ... in [1.7]: too fast for its own good?


On Oct 12 12:50, Fergus wrote:
> Current Cygwin 1.7.0-62
> Windows 7 v.6.1.7600
> Attached: cygcheck output
>
> Operations of the style
> find ... | xargs ...
> seem orders of magnitude faster in [1.7] than they have been in [1.5], 
> which is just great.
>
> However I have been experiencing flakey and inconsistent behaviours with 
> bad consequences, which I have reduced to the following example.
>
> $ find . -type f | xargs md5sum | grep d41d8c
> d41d8cd98f00b204e9800998ecf8427e *./xdelta/xdelta-1.1.3-3-src.tar.bz2
> d41d8cd98f00b204e9800998ecf8427e *./syslog-ng/syslog-ng-2.1.1-1.tar.bz2
> .. (and so on, several files found all with the same md5sum indicating size 
> 0)
>
> $ find . -type f | xargs md5sum | grep d41d8c
> d41d8cd98f00b204e9800998ecf8427e 
> *./X.Org/libXft/libXft-2.1.13-10-src.tar.bz2
> d41d8cd98f00b204e9800998ecf8427e 
> *./X.Org/libXau/libXau-devel/libXau-devel-1.0.4-10.tar.bz2
> .. (and so on)
>
> $ find . -type f | xargs md5sum | grep d41d8c
> d41d8cd98f00b204e9800998ecf8427e 
> *./X.Org/libX11/libX11-xcb1/libX11-xcb1-1.2.1-1.tar.bz2
> d41d8cd98f00b204e9800998ecf8427e *./which/which-2.20-2-src.tar.bz2
> .. (and so on)
>
> The directory I used (actually a local Cygwin release/ directory) contains 
> a large number of files (6000+). None of the files are of size 0 (md5sum 
> d41d8cd98f00b204e9800998ecf8427e) but
> (a) the find ... command suggests that some are; and
> (b) the findings are variable when the command is repeated.

I tried this with the Cygwin release directory multiple times, with the
release dir on a local drive as well as on a remote NFS drive.  I can't
reproduce this weird behaviour.  I'm wondering if that's one of these
dreaded BLODA problems again...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]