From f03b59703e9ef50ee5e1a67e274bab5d845cc4a4 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 24 May 2008 21:54:29 +0000 Subject: [PATCH] [SIGAR-107] Recognize vzfs as local filesystem type on Linux --- src/os/linux/linux_sigar.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/os/linux/linux_sigar.c b/src/os/linux/linux_sigar.c index e48a63f0..b20f6913 100644 --- a/src/os/linux/linux_sigar.c +++ b/src/os/linux/linux_sigar.c @@ -1095,6 +1095,11 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp) fsp->type = SIGAR_FSTYPE_LOCAL_DISK; } break; + case 'v': + if (strEQ(type, "vzfs")) { + fsp->type = SIGAR_FSTYPE_LOCAL_DISK; + } + break; case 'x': if (strEQ(type, "xfs") || strEQ(type, "xiafs")) { fsp->type = SIGAR_FSTYPE_LOCAL_DISK;