Blame SOURCES/net-snmp-5.7.2-acfs.patch
|
|
b504e5 |
diff -urNp a/agent/mibgroup/hardware/fsys/fsys_mntent.c b/agent/mibgroup/hardware/fsys/fsys_mntent.c
|
|
|
b504e5 |
--- a/agent/mibgroup/hardware/fsys/fsys_mntent.c 2018-08-14 10:42:04.298706747 +0200
|
|
|
b504e5 |
+++ b/agent/mibgroup/hardware/fsys/fsys_mntent.c 2018-08-14 10:42:27.177735016 +0200
|
|
|
92053a |
@@ -142,6 +142,7 @@ _fsys_type( char *typename )
|
|
|
92053a |
!strcmp(typename, MNTTYPE_SIMFS) ||
|
|
|
92053a |
!strcmp(typename, MNTTYPE_VZFS) ||
|
|
|
92053a |
!strcmp(typename, MNTTYPE_BTRFS) ||
|
|
|
92053a |
+ !strcmp(typename, MNTTYPE_ACFS) ||
|
|
|
92053a |
!strcmp(typename, MNTTYPE_LOFS))
|
|
|
92053a |
return NETSNMP_FS_TYPE_OTHER;
|
|
|
92053a |
|
|
|
b504e5 |
diff -urNp a/agent/mibgroup/hardware/fsys/mnttypes.h b/agent/mibgroup/hardware/fsys/mnttypes.h
|
|
|
b504e5 |
--- a/agent/mibgroup/hardware/fsys/mnttypes.h 2018-08-14 10:42:04.298706747 +0200
|
|
|
b504e5 |
+++ b/agent/mibgroup/hardware/fsys/mnttypes.h 2018-08-14 10:42:27.177735016 +0200
|
|
|
92053a |
@@ -151,6 +151,9 @@
|
|
|
92053a |
#ifndef MNTTYPE_BTRFS
|
|
|
92053a |
#define MNTTYPE_BTRFS "btrfs"
|
|
|
92053a |
#endif
|
|
|
92053a |
+#ifndef MNTTYPE_ACFS
|
|
|
92053a |
+#define MNTTYPE_ACFS "acfs"
|
|
|
92053a |
+#endif
|
|
|
92053a |
|
|
|
92053a |
/*
|
|
|
92053a |
* File systems to skip
|
|
|
b504e5 |
diff -urNp a/agent/mibgroup/hardware/fsys/mounts.h b/agent/mibgroup/hardware/fsys/mounts.h
|
|
|
b504e5 |
--- a/agent/mibgroup/hardware/fsys/mounts.h 2012-10-10 00:28:58.000000000 +0200
|
|
|
b504e5 |
+++ b/agent/mibgroup/hardware/fsys/mounts.h 2018-08-14 10:44:30.798843141 +0200
|
|
|
b504e5 |
@@ -56,6 +56,9 @@
|
|
|
b504e5 |
#ifndef MOUNT_UFS
|
|
|
b504e5 |
#define MOUNT_UFS "ufs"
|
|
|
b504e5 |
#endif
|
|
|
b504e5 |
+#ifndef MOUNT_ACFS
|
|
|
b504e5 |
+#define MOUNT_ACFS "acfs"
|
|
|
b504e5 |
+#endif
|
|
|
b504e5 |
|
|
|
b504e5 |
/*
|
|
|
b504e5 |
#ifndef MNTTYPE_AFS
|