X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <33536584.post@talk.nabble.com> Date: Mon, 19 Mar 2012 22:14:36 -0700 (PDT) From: leoslists To: cygwin AT cygwin DOT com Subject: find: File system loop detected problem in find and locate MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi there I'm trying to use locate and find. When I issue find / -xdev -name "*hallo*" I get the warning find: File system loop detected; `/c/cygwin' is part of the same file system loop as `/'. It is important to note, that I have mounted the C: drive at /c. After reading some Cygwin posts I hoped that `-xdev' would solve this, but it didn't... The next thing I tried was pruning the Cygwin dir: find / -wholename /c/cygwin -prune -o -name "*hallo*" But I still get the error message. Any ideas how I can prevent the loop, but still do the find from root? (I want to do the find from root, because inside locate, this determines the paths written to the locate database.) Any help appreciated, Leo -- View this message in context: http://old.nabble.com/find%3A-File-system-loop-detected-problem-in-find-and-locate-tp33536584p33536584.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple