I was just writing the same thing. I think -lname is better; -L will cause it to follow symlinks and to return normal files with the given name, while -lname is exactly the desired behavior. It won't match in this case though because the symlink's target is /opt/file, so you need to either do find . -lname '/opt/file' or find . -lname '*/file'
–
Michael Mrozek♦Nov 3 '10 at 18:22

This works, except the find on the busybox machine I was working on didn't have the -L parameter =\
–
FalmarriNov 12 '10 at 19:20