Do not scan autofs mount points
Accessing mount points to determine free space actually triggers a mounting operation of autofs mounts. This results in all autofs mount points to be always-mounted while gkrellm is running, something which is hardly desirable. Thanks to Gerard Neil for submitting this patch.
This commit is contained in:
parent
1d11384131
commit
0db8bfd07a
|
@ -19,6 +19,7 @@ GKrellM Changelog
|
|||
* Only link against and initialize Libgcrypt when building with
|
||||
GnuTLS < 2.12. This allows using GKrellM with GnuTLS versions built
|
||||
against Nettle instead of Libgcrypt.
|
||||
* Patch from Gerard Neil: Skip autofs mounts in free disk space polling
|
||||
|
||||
2.3.5 - Thu Oct 7, 2010
|
||||
------------------------
|
||||
|
|
|
@ -1439,6 +1439,7 @@ gkrellm_sys_fs_get_mounts_list(void)
|
|||
|| !strcmp(type, "usbdevfs")
|
||||
|| !strcmp(type, "usbfs")
|
||||
|| !strcmp(type, "sysfs")
|
||||
|| !strcmp(type, "autofs")
|
||||
)
|
||||
continue;
|
||||
/* Strip trailing / from the directory.
|
||||
|
|
Loading…
Reference in New Issue