On 05/04/11 13:36, Philipp Thomas wrote: > 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? Well locally I have symlinked /etc/mtab -> /proc/mounts since: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f84e3f52 So this would not break anything for me. Also I understand Fedora 15 will symlink /etc/mtab to /proc/mount too. What about older kernels though? I'm wondering should suse be considering making the symlink also, or otherwise keeping /etc/mtab in sync? It seems a bit like this gnulib change is doing it in the wrong place. I've cc'd the util-linux guys who know much more about this than me. cheers, Pádraig. -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html