X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Rolf Campbell <rcampbell-cygwin@dragonwaveinc.com>
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: <i4k848$b8q$1@dough.gmane.org>
References: <i4ho35$jsk$1@dough.gmane.org> <20100819083117.GO11340@calimero.vinschen.de> <i4jcq9$hr$1@dough.gmane.org> <20100819144309.GC19001@calimero.vinschen.de> <4C6D5BC5.6080808@redhat.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

