X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points Date: Thu, 19 Aug 2010 17:36:08 -0400 Lines: 13 Message-ID: References: <20100819083117 DOT GO11340 AT calimero DOT vinschen DOT de> <20100819144309 DOT GC19001 AT calimero DOT vinschen DOT de> <4C6D5BC5 DOT 6080808 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: <4C6D5BC5.6080808@redhat.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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