[glib] gunixmounts: Update list of virtual file systems to ignore
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gunixmounts: Update list of virtual file systems to ignore
- Date: Fri, 13 Oct 2017 10:01:45 +0000 (UTC)
commit 0d69462f146071ee4ad1407f9d9ac56f65c9d485
Author: Philip Withnall <withnall endlessm com>
Date: Thu Oct 12 14:55:30 2017 +0100
gunixmounts: Update list of virtual file systems to ignore
Synchronise it with the list in gnome-settings-daemon, which has seen
more recent updates than this one.
https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/housekeeping/gsd-disk-space-helper.c
Signed-off-by: Philip Withnall <withnall endlessm com>
https://bugzilla.gnome.org/show_bug.cgi?id=788880
gio/gunixmounts.c | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index c03d112..2c589eb 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -287,26 +287,52 @@ guess_system_internal (const char *mountpoint,
const char *device)
{
const char *ignore_fs[] = {
+ "adfs",
+ "afs",
"auto",
"autofs",
+ "autofs4",
+ "cgroup",
+ "cifs",
+ "configfs",
+ "cxfs",
+ "debugfs",
"devfs",
"devpts",
+ "devtmpfs",
"ecryptfs",
"fdescfs",
+ "fusectl",
+ "gfs",
+ "gfs2",
+ "gpfs",
+ "hugetlbfs",
"kernfs",
"linprocfs",
+ "linsysfs",
+ "lustre",
+ "lustre_lite",
"mfs",
+ "mqueue",
+ "ncpfs",
+ "nfs",
+ "nfs4",
+ "nfsd",
"nullfs",
+ "ocfs2",
+ "overlay",
"proc",
"procfs",
+ "pstore",
"ptyfs",
"rootfs",
+ "rpc_pipefs",
+ "securityfs",
"selinuxfs",
+ "smbfs",
"sysfs",
"tmpfs",
"usbfs",
- "nfsd",
- "rpc_pipefs",
"zfs",
NULL
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]