PATCH #a1283: Recognize Oracle ACFS file system (Thanks John Haxby)
diff --git a/agent/mibgroup/hardware/fsys/fsys_getfsstats.c b/agent/mibgroup/hardware/fsys/fsys_getfsstats.c
index 6f78664..addb32a 100644
--- a/agent/mibgroup/hardware/fsys/fsys_getfsstats.c
+++ b/agent/mibgroup/hardware/fsys/fsys_getfsstats.c
@@ -67,6 +67,8 @@
return NETSNMP_FS_TYPE_NTFS;
else if ( !strcmp(typename, MOUNT_ZFS) )
return NETSNMP_FS_TYPE_OTHER;
+ else if ( !strcmp(typename, MOUNT_ACFS) )
+ return NETSNMP_FS_TYPE_OTHER;
/*
* NetBSD also recognises the following filesystem types:
diff --git a/agent/mibgroup/hardware/fsys/fsys_mntctl.c b/agent/mibgroup/hardware/fsys/fsys_mntctl.c
index 079154c..8eb43ce 100644
--- a/agent/mibgroup/hardware/fsys/fsys_mntctl.c
+++ b/agent/mibgroup/hardware/fsys/fsys_mntctl.c
@@ -59,6 +59,9 @@
#ifdef MNT_PROCFS
case MNT_PROCFS:
#endif
+#ifdef MNT_ACFS
+ case MNT_ACFS:
+#endif
case MNT_SFS:
case MNT_CACHEFS:
return NETSNMP_FS_TYPE_OTHER;
diff --git a/agent/mibgroup/hardware/fsys/fsys_mntent.c b/agent/mibgroup/hardware/fsys/fsys_mntent.c
index 46e2709..63a8538 100644
--- a/agent/mibgroup/hardware/fsys/fsys_mntent.c
+++ b/agent/mibgroup/hardware/fsys/fsys_mntent.c
@@ -142,6 +142,7 @@
!strcmp(typename, MNTTYPE_SIMFS) ||
!strcmp(typename, MNTTYPE_BTRFS) ||
!strcmp(typename, MNTTYPE_ZFS) ||
+ !strcmp(typename, MNTTYPE_ACFS) ||
!strcmp(typename, MNTTYPE_LOFS))
return NETSNMP_FS_TYPE_OTHER;
diff --git a/agent/mibgroup/hardware/fsys/mnttypes.h b/agent/mibgroup/hardware/fsys/mnttypes.h
index 997283e..37ed4fb 100644
--- a/agent/mibgroup/hardware/fsys/mnttypes.h
+++ b/agent/mibgroup/hardware/fsys/mnttypes.h
@@ -151,6 +151,9 @@
#ifndef MNTTYPE_ZFS
#define MNTTYPE_ZFS "zfs"
#endif
+#ifndef MNTTYPE_ACFS
+#define MNTTYPE_ACFS "acfs"
+#endif
/*
* File systems to skip
diff --git a/agent/mibgroup/hardware/fsys/mounts.h b/agent/mibgroup/hardware/fsys/mounts.h
index fd448d6..eab65da 100644
--- a/agent/mibgroup/hardware/fsys/mounts.h
+++ b/agent/mibgroup/hardware/fsys/mounts.h
@@ -59,6 +59,9 @@
#ifndef MOUNT_ZFS
#define MOUNT_ZFS "zfs"
#endif
+#ifndef MOUNT_ACFS
+#define MOUNT_ACFS "acfs"
+#endif
/*
#ifndef MNTTYPE_AFS