[SIGAR-103] Recognize jfs and psfs as local filesystem types
This commit is contained in:
parent
ec98ffbc5e
commit
9e9b25bcd5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue