Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3704476
By: cataddict

My version of "find" is always accessing (stat'ing??) all files, not just 
directories
no matter what.

I'm using GNU find version 4.2.20 on Windows2000.

For testing purposes I'm using the simple mode of:

find f:\ -name junk.txt

and it is extremely slow. It ends up opening
every file on f:\. Documentation implies that when
using just the -name parameter that exectuion is
faster and docs point out that stat'ing is only done when necessary. I'm NOT
proficient enough in C to debug this, but is it possibly always requesting 
stat()
no matter what?

Sysinternals "filemon" confirms OPEN and QUERY
INFORMATION for all files during the "find" run.

Essentially this behavior makes find impractical for searching over very large
directory structures on Win32.

FYI: Both the Cygwin and an old unxutils version of find do the same thing.
Also I've tried this on two systems.

Any ideas?

(Apologies as a first time poster - I entered this as a "bug" last night because
the "Start a New Thread" menu on this forum didn't appear.)


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to