[gnome-settings-daemon] housekeeping: More network filesystems not to monitor
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] housekeeping: More network filesystems not to monitor
- Date: Wed, 13 Oct 2010 00:30:40 +0000 (UTC)
commit 54ce24f4947256e1991970eed40bafd1b7028cf6
Author: Josselin Mouette <joss debian org>
Date: Tue Oct 12 21:19:44 2010 +0200
housekeeping: More network filesystems not to monitor
https://bugzilla.gnome.org/show_bug.cgi?id=606421
plugins/housekeeping/gsd-disk-space.c | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-disk-space.c b/plugins/housekeeping/gsd-disk-space.c
index e1385ea..2fcc523 100644
--- a/plugins/housekeeping/gsd-disk-space.c
+++ b/plugins/housekeeping/gsd-disk-space.c
@@ -304,25 +304,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
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]