[SIGAR-42] Honor Solaris mnttab ignore flag in file_system_list

This commit is contained in:
Doug MacEachern 2007-02-15 14:27:11 +00:00
parent 39d8d0930b
commit 4faf382ac4
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-02-15 Doug MacEachern <dougm@hyperic.com>
* [SIGAR-42] Honor Solaris mnttab ignore flag in file_system_list
2007-02-12 Doug MacEachern <dougm@hyperic.com>
* [SIGAR-17] Fix possible bad cpu list number on Solaris

View File

@ -1327,6 +1327,10 @@ int sigar_file_system_list_get(sigar_t *sigar,
sigar_file_system_list_create(fslist);
while (getmntent(fp, &ent) == 0) {
if (strstr(ent.mnt_mntopts, "ignore")) {
continue; /* e.g. vold */
}
SIGAR_FILE_SYSTEM_LIST_GROW(fslist);
fsp = &fslist->data[fslist->number++];