Could be something else interfering. Known culprits include:
Sonic Solutions burning software containing DLA component
Norton/MacAffee/Symantec antivirus or antispyware
Logitech webcam software with "Logitech process monitor" service
Kerio, Agnitum or ZoneAlarm Personal Firewall
Iolo System Mechanic/AntiVirus/Firewall
LanDesk
Windows Defender
Embassy Trust Suite fingerprint reader software wxvault.dll
For what it's worth, there is one directory on my system where the same
issue occurs. The first ls takes forever, then subsequent ones go
immediately. It doesn't matter whether "-l" is passed or just a bare
"/bin/ls". It's a similar situation to the OP's problem, it is a
directory which contains only a few (~20) subdirectories, but each of
those contains 10^3-10^4 files. I don't have any of these known culprits
installed, I have as few background processes as possible running. I
always figured it wasn't cygwin's fault, just some quirk with the
windows file system...
-Lewis
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/