[SIGAR-105] recognize vxfs as local filesystem type on all supported platforms

This commit is contained in:
Doug MacEachern 2008-05-16 00:33:50 +00:00
parent 109c6354bd
commit ab75320e8a
3 changed files with 4 additions and 11 deletions

View File

@ -525,11 +525,6 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp)
fsp->type = SIGAR_FSTYPE_LOCAL_DISK; fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
} }
break; break;
case 'v':
if (strEQ(type, "vxfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'c': case 'c':
if (strEQ(type, "cdfs")) { if (strEQ(type, "cdfs")) {
fsp->type = SIGAR_FSTYPE_CDROM; fsp->type = SIGAR_FSTYPE_CDROM;

View File

@ -1260,11 +1260,6 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp)
fsp->type = SIGAR_FSTYPE_LOCAL_DISK; fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
} }
break; break;
case 'v':
if (strEQ(type, "vxfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
/* XXX */ /* XXX */
} }

View File

@ -432,7 +432,10 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp)
} }
break; break;
case 'v': case 'v':
if (strEQ(type, "vfat")) { if (strEQ(type, "vxfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
else if (strEQ(type, "vfat")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK; fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
} }
break; break;