rick-

thanks so much for the patch.  sorry that we didn't get back to you
earlier.  i've added your changes to the next upcoming ganglia release.

thanks
-matt

On Tue, 2004-08-10 at 09:07, Rick Warner wrote:
> We have run into an issue with gmond continually checking the /media/floppy 
> and /media/cdrom subfs mounts under suse 9.1.  This patch corrects that 
> behavior.
> 
> Here is the patch:
> 
> 
> diff -aurN ganglia-monitor-core-2.5.6.orig/gmond/machines/linux.c 
> ganglia-monitor-core-2.5.6/gmond/machines/linux.c
> --- ganglia-monitor-core-2.5.6.orig/gmond/machines/linux.c      2004-08-10 
> 11:59:14.374046000 -0400
> +++ ganglia-monitor-core-2.5.6/gmond/machines/linux.c   2004-08-10 
> 11:59:38.310407896 -0400
> @@ -930,7 +930,7 @@
>     or if (it is of type smbfs and its Fs_name starts with `//'). */
>     return ((strchr(device,':') != 0)
>        || (!strcmp(type, "smbfs") && device[0]=='/' && device[1]=='/')
> -      || (!strcmp(type, "autofs")));
> +      || (!strcmp(type, "autofs")) || (!strcmp(type, "subfs")));
>  }
> 
>  /* 
> --------------------------------------------------------------------------- 
> */
-- 
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E F40B 242A 5984 ACBC 91D3'

   They that can give up essential liberty to obtain a little 
      temporary safety deserve neither liberty nor safety. 
  --Benjamin Franklin, Historical Review of Pennsylvania, 1759

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to