I am trying to find all .rhosts files on some unix systems. I tried just -name ".rhosts" but we have a lot of really large NFS and MVFS systems that I do not want to crawl and I am having a hard time excluding them. I also need to scan more than just /root /home and /users, so I really need to scan the entire FS except for MVFS and NFS.
find / -name ".rhosts" -type d \( -fstype mvfs -o -fstype nfs -o -name ".snapshot" \) -prune -type f -print