This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find reports an internal system loop on cygdrive


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Brian Keener on 1/18/2006 11:20 AM:
> 
> When I attempt to do a find as in:
> 
> BrianK@atl-lt-5783 ~
> $ find / -name "*winrc*" -print
> 
> I get the following:
> 
> find: Filesystem loop detected; `/cygdrive/c/cygwin' has the same device number
> and inode as a directory which is 3 levels higher in the filesystem hierarchy.

Not a bug, but a feature of cygwin 1.5.19.  You can surpress it by using
the -xdev option to find (this makes find not traverse into a virtual
/cygdrive, since it has a different devno, once again limiting your search
to just the actual filesystem subtree under c:\cygwin rather than all
drives and all cygwin virtual files).  Also, -print is implied if you
didn't use any of the other find actions:

find / -xdev -depth -name "*winrc*"

Furthermore, you can try seeing if the error message goes away if find
never changes device number during the traversal (this is achieved by
having a real /cygdrive rather than a virtual one):

$ cd /cygdrive/c/cygwin # assuming, of course, that this is where / is
$ mkdir cygdrive

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
volunteer cygwin findutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDz5/X84KuGfSFAYARAhowAJ9sMKEhZWgvrtK63um4fYHttJc1EQCfbzgn
fKk5JNTgc0gVcKVC159p9ns=
=2DqS
-----END PGP SIGNATURE-----

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]