Find hangs with automountd daemon running

Hi,

I am trying to find files with specific name using find / -name core -print..

this command is hanging and never completes as it is searching for all the automount filesystems ..i cant eliminate using "! -fstype nfs" as this is not a nfs filesystem

pls let me know if anyone know how to eliminate automount file systems while running find command..

rgds
shan

---------- Post updated at 09:54 AM ---------- Previous update was at 09:53 AM ----------

Operating system is AIX 5.3

core file normally will be found at /var folder

so just cd to /var, and run the command:

cd /var
find . -name "*core*" -type f -print

Unfortunately IBM AIX "find" doesn't have the "-local" switch.

No clear how these filesystems are mounted with the automounter without using NFS.
Can you tell from the "mount" command which filesystems are local and which are not? If so you could search each local filesystem with the "-xdev" switch set.

Reading between the lines, be very careful about deleting files called "core". Be sure to check the output of the "file" command to make sure that they are actually core dumps.
I have seen unix systems wrecked by blindly deleting everything called "core".