delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/19/09:19:27

X-Spam-Check-By: sourceware.org
Message-ID: <43CF9FD8.5030208@byu.net>
Date: Thu, 19 Jan 2006 07:19:04 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Brian Keener <bkeener AT thesoftwaresource DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: find reports an internal system loop on cygdrive
References: <VA DOT 000012a7 DOT 00717e61 AT thesoftwaresource DOT com>
In-Reply-To: <VA.000012a7.00717e61@thesoftwaresource.com>
X-IsSubscribed: yes
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

-----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 AT 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 AT byu DOT 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/

- Raw text -


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