[SIGAR-53] [SIGAR-73] Recognize gfs and ocfs2 as local filesystems

This commit is contained in:
Doug MacEachern 2007-11-09 22:54:07 +00:00
parent cec8bcc400
commit b224421cc4
1 changed files with 10 additions and 0 deletions

View File

@ -1149,11 +1149,21 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp)
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'g':
if (strEQ(type, "gfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'h':
if (strEQ(type, "hpfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'o':
if (strEQ(type, "ocfs2")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'r':
if (strEQ(type, "reiserfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;