delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/07/14:40:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Scott Evans <gse AT antisleep DOT com>
Newsgroups: gmane.os.cygwin
Subject: weird find bug?
Date: 07 Apr 2002 14:33:08 -0400
Lines: 44
Message-ID: <y9fzfjff.fsf@templarcorp.com>
NNTP-Posting-Host: 209-19-232-50.customer.algx.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1018204393 17400 209.19.232.50 (7 Apr 2002 18:33:13 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sun, 7 Apr 2002 18:33:13 +0000 (UTC)
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp (Windows [1]))

I'm running on Win2000 using an up-to-date Cygwin install.  
When I issue this command:
  find /cygdrive/d

The contents of the last directory on my D: drive aren't reported.
for instance, if /cygdrive/d contains:
  [d] $ ls -l
  total 1673
  drwxr-xr-x    4 scott    Domain U        0 Jul 24  2001 RECYCLER
  drwxr-xr-x    1 scott    Domain U        0 Jul 23  2001 System Volume Information
  drwxr-xr-x   21 scott    Domain U     8192 Apr  7 14:21 scott
  drwxr-xr-x    3 scott    Domain U     4096 Mar 25 15:25 tmp
  drwxr-xr-x   14 scott    Domain U     4096 Apr  3 10:01 workspace

... the above find command finishes off with:
  /cygdrive/d/tmp/hold/8347374.txt
  /cygdrive/d/tmp/hold/99984984.txt
  /cygdrive/d/workspace

Even though the 'workspace' directory has lots of stuff in it!


Meanwhile, if I add a directory to /cygdrive/d
  $ mkdir /d/zzzzzz

...then the 'workspace' directory is included in the output, but the
'zzzzzz' directory's contents are not.  What's more, 'zzzzzz' has to
be a directory; if it's a plain old file then find's output ends with


This only seems to happen on "root" drive letter directories;
I experimented in some sub-folders and couldn't break it. 
  /cygdrive/d/tmp/hold/8347374.txt
  /cygdrive/d/tmp/hold/99984984.txt
  /cygdrive/d/workspace
  /cygdrive/d/zzzzzz


Can anyone else reproduce this one?



--
 scott evans :: www.antisleep.com



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019