summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-disk-space.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-13 13:15:50 +0100
committerinfirit <[email protected]>2014-12-13 13:23:19 +0100
commit6486a2a79e4faf2bbad5bdb36ff48c6dc444b081 (patch)
tree821e6deca43be482f9ba8882e2171475a14fd54c /plugins/housekeeping/msd-disk-space.c
parentf307b35694753bda6edcd299bf8c28d32b25836d (diff)
downloadmate-settings-daemon-6486a2a79e4faf2bbad5bdb36ff48c6dc444b081.tar.bz2
mate-settings-daemon-6486a2a79e4faf2bbad5bdb36ff48c6dc444b081.tar.xz
housekeeping: More network filesystems not to monitor
Diffstat (limited to 'plugins/housekeeping/msd-disk-space.c')
-rw-r--r--plugins/housekeeping/msd-disk-space.c24
1 files 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
};