(SIGAR-210) recognize cifs as a network file system
This commit is contained in:
parent
fd9acb0004
commit
b2d33467b8
|
@ -433,6 +433,9 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp)
|
||||||
if (strEQ(type, "cvfs")) {
|
if (strEQ(type, "cvfs")) {
|
||||||
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
|
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
|
||||||
}
|
}
|
||||||
|
else if (strEQ(type, "cifs")) {
|
||||||
|
fsp->type = SIGAR_FSTYPE_NETWORK;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
if (strEQ(type, "msdos") || strEQ(type, "minix")) {
|
if (strEQ(type, "msdos") || strEQ(type, "minix")) {
|
||||||
|
|
Loading…
Reference in New Issue