delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/15/10:15:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: smtp1.cern.ch: Host IDENT:root AT pb-d-137-138-206-44 DOT cern DOT ch [137.138.206.44] claimed to be skywalker.cern.ch
Message-ID: <3A12A84A.6E8F6FAD@cern.ch>
Date: Wed, 15 Nov 2000 16:14:18 +0100
From: "Lassi A. Tuura" <lassi DOT tuura AT cern DOT ch>
Organization: Northeastern University, Boston, USA
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
CC: Paul Stodghill <stodghil AT cs DOT cornell DOT edu>,
"Cygwin Mailing List (E-mail)" <cygwin AT sources DOT redhat DOT com>
Subject: Re: Symlink'ed current directory and FIND
References: <20001115143515 DOT 15971 DOT qmail AT web116 DOT yahoomail DOT com>

> Find doesn't dereference symbolic links unless you tell it to.

Yes, but surely it should follow the links to the *current* directory? 
Not following links anywhere under it should be ok, but not finding
anything when sitting in a directory behind a symlink does sound like a
problem.

Paul, can you check what find does under strace in both circumstances to
see if there is any obvious reason for it to fail?  FWIW, try also the
`-noleaf' option.  GNU find has optimisations that have occasionally
caused problems for me in other contexts (cf. the manpage).  Maybe
cygwin doesn't always maintain the invariants GNU find uses for the
optimisations; using `-noleaf' would solve that one (I have no idea why
that would happen under cygwin, but there is no harm in trying).

Hope this helps,
//lat
-- 
It isn't what you don't know that hurts you, it's
what you know that ain't so. --Mark Twain, or else
some other prominent 19th century humorist and wit

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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