[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using /proc/mounts in mountlist.c for linux

From: Philipp Thomas
Subject: Using /proc/mounts in mountlist.c for linux
Date: Tue, 5 Apr 2011 14:36:50 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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?


Attachment: findutils-use_proc_mounts.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]