This is the mail archive of the
mailing list for the Cygwin project.
Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Tim Hubberstey <thcyglist at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 18 Feb 2005 08:48:37 -0500 (EST)
- Subject: Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
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.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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