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

Eric Blake
Thu Aug 19 16:30:00 GMT 2010

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?

Eric Blake    +1-801-349-2682
Libvirt virtualization library

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Cygwin mailing list