[PATCH] gkrellm doesn't treat cifs as a network filesystem
Gerard Neil <[email protected]> Wed, 16 May 2012 04:43:43 +1000
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <CAJJ0ynfe3Kj-=4TynQuJc=UDF-YYE98wojE=rE8nK_g0McEwpw@mail.gmail.com> |
gkrellmd knows that certain filesystem types are network filesystems;
it supports different free-space polling frequencies (or disabling of
polling) for network vs non-network filesystems via the configuration
parameters fs-timeout and nfs-timeout.
Filesystems of type "cifs" should be treated identically to those of type "smb".
----------------------
--- gkrellm-2.3.5.old/server/monitor.c 2010-10-06 03:46:59.000000000 +1100
+++ gkrellm-2.3.5/server/monitor.c 2011-11-24 02:01:30.871402778 +1100
@@ -1329,7 +1329,8 @@
static gchar *remote_fs_types[] =
{
"nfs",
- "smbfs"
+ "smbfs",
+ "cifs"
};
void
--- gkrellm-2.3.5.old/src/fs.c 2010-09-15 02:25:51.000000000 +1000
+++ gkrellm-2.3.5/src/fs.c 2011-11-24 02:00:17.347088370 +1100
@@ -163,7 +163,8 @@
static gchar *remote_fs_types[] =
{
"nfs",
- "smbfs"
+ "smbfs",
+ "cifs"
};
______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com