diff --git a/findutils-use_proc_mounts.patch b/findutils-use_proc_mounts.patch index 6ad485a..88d4f53 100644 --- a/findutils-use_proc_mounts.patch +++ b/findutils-use_proc_mounts.patch @@ -1,17 +1,25 @@ Index: gnulib/lib/mountlist.c =================================================================== --- gnulib/lib/mountlist.c.orig 2007-12-02 12:57:51.000000000 +0100 -+++ gnulib/lib/mountlist.c 2010-04-01 12:20:56.784502964 +0200 -@@ -60,7 +60,11 @@ ++++ gnulib/lib/mountlist.c 2010-11-17 13:08:32.133380836 +0100 +@@ -60,7 +60,7 @@ # include # if !defined MOUNTED # if defined _PATH_MOUNTED /* GNU libc */ -# define MOUNTED _PATH_MOUNTED -+# if defined __linux__ -+# define MOUNTED "/proc/mounts" -+# else +# define MOUNTED _PATH_MOUNTED -+# endif # endif # if defined MNT_MNTTAB /* HP-UX. */ # define MOUNTED MNT_MNTTAB +@@ -71,6 +71,11 @@ + # endif + #endif + ++#if defined __linux__ ++# undef MOUNTED ++# define MOUNTED "/proc/mounts" ++#endif ++ + #ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */ + # include + #endif diff --git a/findutils.changes b/findutils.changes index 42440c1..e917000 100644 --- a/findutils.changes +++ b/findutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 17 14:11:57 CET 2010 - pth@suse.de + +- Really do use /proc/mounts instead of /etc/mtab. + ------------------------------------------------------------------- Mon Sep 27 06:30:15 UTC 2010 - lnussel@suse.de @@ -8,7 +13,8 @@ Mon Sep 27 06:30:15 UTC 2010 - lnussel@suse.de ------------------------------------------------------------------- Mon Aug 23 12:36:49 CEST 2010 - pth@suse.de -- Add NFSv4 to updatedb's prune list, i.e. make ignore such file systems. +- Add NFSv4 to updatedb's prune list, i.e. make it ignore such + file systems. ------------------------------------------------------------------- Fri Jul 30 18:53:26 CEST 2010 - werner@suse.de