[SIGAR-103] Recognize jfs and psfs as local filesystem types

This commit is contained in:
Doug MacEachern 2008-05-10 03:04:59 +00:00
parent ec98ffbc5e
commit 9e9b25bcd5
1 changed files with 10 additions and 0 deletions

View File

@ -1056,11 +1056,21 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp)
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'j':
if (strnEQ(type, "jfs", 3)) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'o':
if (strEQ(type, "ocfs2")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'p':
if (strnEQ(type, "psfs", 4)) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;
case 'r':
if (strEQ(type, "reiserfs")) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;