allow monitoring mfs partitions too

This commit is contained in:
jasper 2011-09-18 11:24:58 +00:00
parent c48535214e
commit f1b5c30c51
2 changed files with 15 additions and 5 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.86 2011/09/17 17:43:44 jasper Exp $
# $OpenBSD: Makefile,v 1.87 2011/09/18 11:24:58 jasper Exp $
COMMENT= portable library for obtaining system information
GNOME_VERSION= 2.28.4
GNOME_PROJECT= libgtop
PKGNAME= libgtop2-${VERSION}
REVISION= 1
REVISION= 2
SHARED_LIBS= gtop-2.0 9.0 # .9.0

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-sysdeps_common_mountlist_c,v 1.1 2009/11/02 20:19:06 jasper Exp $
--- sysdeps/common/mountlist.c.orig Thu Oct 29 00:26:32 2009
+++ sysdeps/common/mountlist.c Thu Oct 29 00:50:16 2009
$OpenBSD: patch-sysdeps_common_mountlist_c,v 1.2 2011/09/18 11:24:59 jasper Exp $
--- sysdeps/common/mountlist.c.orig Wed Jun 1 17:40:47 2011
+++ sysdeps/common/mountlist.c Sun Sep 18 13:22:28 2011
@@ -52,7 +52,9 @@ static struct mount_entry *read_filesystem_list (void)
#if defined (MOUNTED_GETFSSTAT) /* __alpha running OSF_1 */
@ -37,3 +37,13 @@ $OpenBSD: patch-sysdeps_common_mountlist_c,v 1.1 2009/11/02 20:19:06 jasper Exp
me->me_dev = (dev_t) -1; /* Magic; means not known yet. */
me->me_next = NULL;
@@ -545,7 +556,9 @@ static gboolean ignore_mount_entry(const struct mount_
"devpts",
"fusectl",
"linprocfs",
+#ifndef __OpenBSD__
"mfs",
+#endif
"mntfs",
"mqueue",
"none",