[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;
}
break;
case 'v':
if (strEQ(type, "vxfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'c':
if (strEQ(type, "cdfs")) {
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;
}
break;
case 'v':
if (strEQ(type, "vxfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
/* XXX */
}

View File

@ -432,7 +432,10 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp)
}
break;
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;
}
break;