File net-snmp-5.7.3-add-lustre-fs-support.patch of Package net-snmp.23230
diff -Nurp net-snmp-5.7.3-orig/agent/mibgroup/hardware/fsys/fsys_mntent.c net-snmp-5.7.3/agent/mibgroup/hardware/fsys/fsys_mntent.c
--- net-snmp-5.7.3-orig/agent/mibgroup/hardware/fsys/fsys_mntent.c 2014-12-08 21:23:22.000000000 +0100
+++ net-snmp-5.7.3/agent/mibgroup/hardware/fsys/fsys_mntent.c 2019-07-04 09:09:08.143011318 +0200
@@ -141,6 +141,7 @@ _fsys_type( char *typename )
!strcmp(typename, MNTTYPE_CVFS) ||
!strcmp(typename, MNTTYPE_SIMFS) ||
!strcmp(typename, MNTTYPE_BTRFS) ||
+ !strcmp(typename, MNTTYPE_LUSTRE) ||
!strcmp(typename, MNTTYPE_ZFS) ||
!strcmp(typename, MNTTYPE_ACFS) ||
!strcmp(typename, MNTTYPE_LOFS))
diff -Nurp net-snmp-5.7.3-orig/agent/mibgroup/hardware/fsys/mnttypes.h net-snmp-5.7.3/agent/mibgroup/hardware/fsys/mnttypes.h
--- net-snmp-5.7.3-orig/agent/mibgroup/hardware/fsys/mnttypes.h 2014-12-08 21:23:22.000000000 +0100
+++ net-snmp-5.7.3/agent/mibgroup/hardware/fsys/mnttypes.h 2019-07-04 09:07:59.407005658 +0200
@@ -148,6 +148,9 @@
#ifndef MNTTYPE_BTRFS
#define MNTTYPE_BTRFS "btrfs"
#endif
+#ifndef MNTTYPE_LUSTRE
+#define MNTTYPE_LUSTRE "lustre"
+#endif
#ifndef MNTTYPE_ZFS
#define MNTTYPE_ZFS "zfs"
#endif