From 5578ffb891be25ee39428c15b36214dcea703977c938e8b17c0700a362923092 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 7 Jul 2019 13:42:35 +0000 Subject: [PATCH] Accepting request 713345 from home:abergmann:branches:network:utilities Add Lustre filesystem support (bsc#1140341). OBS-URL: https://build.opensuse.org/request/show/713345 OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=20 --- net-snmp-5.8-add-lustre-fs-support.patch | 24 ++++++++++++++++++++++++ net-snmp.changes | 6 ++++++ 2 files changed, 30 insertions(+) create mode 100644 net-snmp-5.8-add-lustre-fs-support.patch diff --git a/net-snmp-5.8-add-lustre-fs-support.patch b/net-snmp-5.8-add-lustre-fs-support.patch new file mode 100644 index 0000000..b5a12c8 --- /dev/null +++ b/net-snmp-5.8-add-lustre-fs-support.patch @@ -0,0 +1,24 @@ +diff -Nurp net-snmp-5.8-orig/agent/mibgroup/hardware/fsys/fsys_mntent.c net-snmp-5.8/agent/mibgroup/hardware/fsys/fsys_mntent.c +--- net-snmp-5.8-orig/agent/mibgroup/hardware/fsys/fsys_mntent.c 2018-07-16 16:33:40.000000000 +0200 ++++ net-snmp-5.8/agent/mibgroup/hardware/fsys/fsys_mntent.c 2019-07-04 10:03:38.611004672 +0200 +@@ -144,6 +144,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_NVMFS) || + !strcmp(typename, MNTTYPE_ACFS) || +diff -Nurp net-snmp-5.8-orig/agent/mibgroup/hardware/fsys/mnttypes.h net-snmp-5.8/agent/mibgroup/hardware/fsys/mnttypes.h +--- net-snmp-5.8-orig/agent/mibgroup/hardware/fsys/mnttypes.h 2018-07-16 16:33:40.000000000 +0200 ++++ net-snmp-5.8/agent/mibgroup/hardware/fsys/mnttypes.h 2019-07-04 10:04:25.607004626 +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 diff --git a/net-snmp.changes b/net-snmp.changes index 900afb1..29c4a31 100644 --- a/net-snmp.changes +++ b/net-snmp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 4 08:06:47 UTC 2019 - abergmann@suse.com + +- Add Lustre filesystem support (bsc#1140341). + Add net-snmp-5.8-add-lustre-fs-support.patch + ------------------------------------------------------------------- Wed Mar 6 10:21:17 UTC 2019 - abergmann@suse.com