find: File system loop detected problem in find and locate

leoslists leoslists@letterboxes.org
Tue Mar 20 05:15:00 GMT 2012


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



More information about the Cygwin mailing list