cygwin 1.7.6: find skipping over some directories on NTFS mount points

Rolf Campbell rcampbell-cygwin@dragonwaveinc.com
Thu Aug 19 21:36:00 GMT 2010


On 2010-08-19 12:28, Eric Blake wrote:
> On 08/19/2010 08:43 AM, Corinna Vinschen wrote:
>> Hmm, digging through Cygwin's readdir code, I have a vague idea.
>>
>> Eric, does find honor the struct dirent d_type flag?  I'm wondering
>> if d_type is erroneously set to DT_REG for some reason.  If so, we
>> could find this out by augmenting the debug output in the Cygwin DLL.
>
> find (but not oldfind) relies heavily on the d_type flag.  If that flag
> is incorrect, it could explain why find gets lost.  Could you repeat the
> experiment with 'oldfind' and see if that behaves better?

oldfind displays all 100,000 files.


--
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



More information about the Cygwin mailing list