delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/18/08:49:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Fri, 18 Feb 2005 08:48:37 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Tim Hubberstey <thcyglist AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points
In-Reply-To: <20050217095204.10858.qmail@web54010.mail.yahoo.com>
Message-ID: <Pine.GSO.4.61.0502180846560.23932@slinky.cs.nyu.edu>
References: <20050217095204 DOT 10858 DOT qmail AT web54010 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0

On Thu, 17 Feb 2005, Tim Hubberstey wrote:

> I'm experiencing a problem with 'find' when mounted NTFS volumes
> (junctions) are involved. I have created a sample directory structure
> /cygdrive/c/aa/aa where 'aa' is the mount point for another NTFS drive.
>
> >From DOSland it looks like this:
> C:\> dir \aa
>  Directory of C:\aa
> 2005/02/17  00:35       <DIR>          .
> 2005/02/17  00:35       <DIR>          ..
> 2005/02/17  00:35       <JUNCTION>     aa
>
> this gets errors and @@@FindMeFirst is not found:
>
> $ find /cygdrive/c -name @@@F\*
> find: Filesystem loop detected; `/cygdrive/c/aa/aa' has the same device
> number and inode as a directory which is 2 levels higher in the
> filesystem hierarchy.

Try 'find -noleaf'.  AFAIK, find's "leaf optimization" is the only thing
that actively checks inodes, but I haven't looked at the latest findutils
sources, so I may be wrong.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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