From 93afe261327cb0d57482191d8627add7e3693390 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 8 Feb 2009 18:08:27 -0800 Subject: [PATCH] (SIGAR-138) Recognize zfs as local filesystem type --- src/sigar.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sigar.c b/src/sigar.c index 1d97a295..b371bace 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -447,6 +447,11 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp) fsp->type = SIGAR_FSTYPE_LOCAL_DISK; } break; + case 'z': + if (strEQ(type, "zfs")) { + fsp->type = SIGAR_FSTYPE_LOCAL_DISK; + } + break; } return fsp->type;