summaryrefslogtreecommitdiff
path: root/sysdeps/common
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2006-02-21 09:06:40 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2006-02-21 09:06:40 +0000
commit29adf02352e596d987ca596be0d1cf31952baa66 (patch)
treea0fce2eb4c52dbae5742c397f41380094271eb4a /sysdeps/common
parent35030c878b0e494f451920536dd50d92a390efca (diff)
downloadlibgtop-29adf02352e596d987ca596be0d1cf31952baa66.tar.gz
Also ignores linprocfs, mfs and devfs. Closes #331856. Patch by Andreas
* mountlist.c: (ignore_mount_entry): Also ignores linprocfs, mfs and devfs. Closes #331856. Patch by Andreas Kohn <andreas.kohn@gmail.com>
Diffstat (limited to 'sysdeps/common')
-rw-r--r--sysdeps/common/ChangeLog7
-rw-r--r--sysdeps/common/mountlist.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/common/ChangeLog b/sysdeps/common/ChangeLog
index 84a7b5d6..ce5bdb5c 100644
--- a/sysdeps/common/ChangeLog
+++ b/sysdeps/common/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-21 Benoît Dejean <benoit@placenet.org>
+
+ * mountlist.c: (ignore_mount_entry): Also ignores linprocfs, mfs
+ and devfs.
+ Closes #331856.
+ Patch by Andreas Kohn <andreas.kohn@gmail.com>
+
2005-04-26 Jörgen Scheibengruber <mfcn@gmx.de>
* mountlist.c: (ignore_mount_entry): Added tmpfs to ignore list.
diff --git a/sysdeps/common/mountlist.c b/sysdeps/common/mountlist.c
index b486b02a..e3825964 100644
--- a/sysdeps/common/mountlist.c
+++ b/sysdeps/common/mountlist.c
@@ -540,7 +540,10 @@ static gboolean ignore_mount_entry(const struct mount_entry *me)
static const char ignored[][12] = {
"autofs",
"binfmt_misc",
+ "devfs",
"devpts",
+ "linprocfs",
+ "mfs",
"mntfs",
"mqueue",
"none",