summaryrefslogtreecommitdiffstats
path: root/devel/libgtop/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-15 15:30:17 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-15 15:30:17 +0800
commit827233d8b3e77c368082534e6685ac02ae299a3b (patch)
tree7c3bbdca5949e14288d66be6e52f597c44fec1a2 /devel/libgtop/files
parentb59eb910906dd97766394f0f277fecabe3cae88a (diff)
downloadmarcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.tar
marcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.tar.gz
marcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.tar.bz2
marcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.tar.lz
marcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.tar.xz
marcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.tar.zst
marcuscom-ports-827233d8b3e77c368082534e6685ac02ae299a3b.zip
Remove all file system types that do not have associated devices. This is
more in line with what the Linux backend does. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10450 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop/files')
-rw-r--r--devel/libgtop/files/patch-sysdeps_freebsd_mountlist.c30
1 files changed, 12 insertions, 18 deletions
diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_mountlist.c b/devel/libgtop/files/patch-sysdeps_freebsd_mountlist.c
index 55f4f5ed5..7c1b1774c 100644
--- a/devel/libgtop/files/patch-sysdeps_freebsd_mountlist.c
+++ b/devel/libgtop/files/patch-sysdeps_freebsd_mountlist.c
@@ -1,6 +1,6 @@
---- sysdeps/freebsd/mountlist.c.orig 2007-11-02 23:52:58.000000000 -0400
-+++ sysdeps/freebsd/mountlist.c 2007-11-02 23:52:50.000000000 -0400
-@@ -0,0 +1,174 @@
+--- sysdeps/freebsd/mountlist.c.orig 2008-02-15 02:11:59.000000000 -0500
++++ sysdeps/freebsd/mountlist.c 2008-02-15 02:28:14.000000000 -0500
+@@ -0,0 +1,168 @@
+/* mountlist.c -- return a list of mounted filesystems
+ Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+
@@ -92,30 +92,24 @@
+static gboolean ignore_mount_entry(const struct mount_entry *me)
+{
+ /* keep sorted */
-+ static const char ignored[][12] = {
++ static const char ignored[][17] = {
+ "autofs",
-+ "binfmt_misc",
-+ "ctfs",
+ "devfs",
-+ "devpts",
+ "fusectl",
+ "linprocfs",
++ "linsysfs",
+ "mfs",
-+ "mntfs",
-+ "mqueue",
+ "none",
-+ "nsfd",
-+ "objfs",
-+ "openpromfs",
++ "nfs",
++ "nullfs",
++ "nwfs",
++ "portalfs",
+ "proc",
+ "procfs",
-+ "securityfs",
-+ "supermount",
-+ "sysfs",
++ "smbfs",
+ "tmpfs",
-+ "unknown",
-+ "usbdevfs",
-+ "usbfs"
++ "unionfs",
++ "unknown"
+ };
+
+ typedef int (*Comparator)(const void*, const void*);