Bug in 'find' 4.2.11-CVS when traversing NTFS mount points
Tim Hubberstey
thcyglist@yahoo.com
Thu Feb 17 18:38:00 GMT 2005
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
The problem behavior with find is that these command works:
$ find /cygdrive/c/aa -name @@@F\*
/cygdrive/c/aa/aa/@@@FindMeFirst
$ find /cygdrive/c/aa/aa -name @@@F\*
/cygdrive/c/aa/aa/@@@FindMeFirst
but 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.
I tried with CYGWIN=smbntsec and CYGWIN unset and the behavior was the
same. Volumes mounted on a root folder (e.g. C:\mnt) get the same error
except for "...which is 1 level higher...".
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050217/2e8e17d0/attachment.txt>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list