GNU find will not recognize file systems of type autofs on newer Linux kernels as autofs entries are only listed in /proc/mounts and mountlist.c includes glibc mntent.h which takes the _PATH_MOUNTED from paths.h and that is /etc/mtab.
After a longer discussion, we (SUSE) chose to patch mountlist.c in findutils to use proc/mounts instead of /etc/mtab which fixed ou problem. Would gnulib accept the attached patch to mountlist.c? Philipp
Index: gnulib/lib/mountlist.c =================================================================== --- gnulib/lib/mountlist.c.orig 2007-12-02 12:57:51.000000000 +0100 +++ gnulib/lib/mountlist.c 2010-11-17 13:08:32.133380836 +0100 @@ -71,6 +71,11 @@ # endif #endif +#if defined __linux__ +# undef MOUNTED +# define MOUNTED "/proc/mounts" +#endif + #ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */ # include <sys/mount.h> #endif