Find and infinite loops

Is there a way to prevent find from crapping out when it finds infinite loops in the filesystem?

I am trying to search for some files from / and find keeps complaining about infinite loops in things like /dev/name/global/net/foo (where foo is my name of my system on the network) and it stops the search. This is quite annoying and really limits the usefulness of find from the / directory.

TIA,

Tim

exclude /dev from the search ?

Mario,

Sure that can be done I guess (more typing and remembering how to use the exclude option).

But what if I wanted to search the /dev directory for some name? I wouldn’t be able to because the first infinite loop craps out find. You’d think the code would just print a warning and then drop that search recursion and move on.

Tim