(SIGAR-138) Recognize zfs as local filesystem type

This commit is contained in:
Doug MacEachern 2009-02-08 18:08:27 -08:00
parent 22dec9316c
commit 93afe26132
1 changed files with 5 additions and 0 deletions

View File

@ -447,6 +447,11 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp)
fsp->type = SIGAR_FSTYPE_LOCAL_DISK; fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
} }
break; break;
case 'z':
if (strEQ(type, "zfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
} }
return fsp->type; return fsp->type;