Treat cifs as remote filesystem

Mark mount points of type cifs as remote filesystems to make gkrellm use
nfs-timeout as polling interval instead of the standard fs-timeout which
should only be used to poll local filesystems.

Thanks to Gerard Neil for submitting this patch.
This commit is contained in:
Stefan Gehn 2013-07-20 13:50:39 +02:00
parent 0db8bfd07a
commit 956bd11b50
3 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ GKrellM Changelog
GnuTLS < 2.12. This allows using GKrellM with GnuTLS versions built GnuTLS < 2.12. This allows using GKrellM with GnuTLS versions built
against Nettle instead of Libgcrypt. against Nettle instead of Libgcrypt.
* Patch from Gerard Neil: Skip autofs mounts in free disk space polling * Patch from Gerard Neil: Skip autofs mounts in free disk space polling
* Patch from Gerard Neil: Handle cifs as remote filesystem to use longer
nfs-timeout polling interval
2.3.5 - Thu Oct 7, 2010 2.3.5 - Thu Oct 7, 2010
------------------------ ------------------------

View File

@ -1328,6 +1328,7 @@ static gboolean nfs_check,
static gchar *remote_fs_types[] = static gchar *remote_fs_types[] =
{ {
"cifs",
"nfs", "nfs",
"smbfs" "smbfs"
}; };

View File

@ -162,6 +162,7 @@ static gint style_id;
static gchar *remote_fs_types[] = static gchar *remote_fs_types[] =
{ {
"cifs",
"nfs", "nfs",
"smbfs" "smbfs"
}; };