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
This commit is contained in:
Philip Withnall 2017-10-12 14:55:30 +01:00
parent c3a5c45134
commit 0d69462f14

View File

@ -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
};