From 6486a2a79e4faf2bbad5bdb36ff48c6dc444b081 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 13 Dec 2014 13:15:50 +0100 Subject: housekeeping: More network filesystems not to monitor --- plugins/housekeeping/msd-disk-space.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c index 94c5800..147987e 100644 --- a/plugins/housekeeping/msd-disk-space.c +++ b/plugins/housekeeping/msd-disk-space.c @@ -306,25 +306,41 @@ ldsm_mount_should_ignore (GUnixMountEntry *mount) * expose this in a way that allows it to be used for this * purpose */ - + + /* We also ignore network filesystems */ + const gchar *ignore_fs[] = { + "adfs", + "afs", "auto", "autofs", + "autofs4", + "cifs", + "cxfs", "devfs", "devpts", "ecryptfs", + "gfs", + "gfs2", "kernfs", "linprocfs", + "linsysfs", + "lustre", + "lustre_lite", + "ncpfs", + "nfs", + "nfs4", + "nfsd", + "ocfs2", "proc", "procfs", "ptyfs", + "rpc_pipefs", "selinuxfs", - "linsysfs", + "smbfs", "sysfs", "tmpfs", "usbfs", - "nfsd", - "rpc_pipefs", "zfs", NULL }; -- cgit v1.2.1