1 From: Mendel Mobach <mendel@mobach.nl>
3 Add ReiserFS to the list of recognized file systems and move
4 JFS and XFS defines below the right comment.
7 agent/mibgroup/hardware/fsys/fsys_mntent.c | 1 +
8 agent/mibgroup/hardware/fsys/mnttypes.h | 13 ++++++-------
9 2 files changed, 7 insertions(+), 7 deletions(-)
11 Index: net-snmp/agent/mibgroup/hardware/fsys/fsys_mntent.c
12 ===================================================================
13 --- net-snmp.orig/agent/mibgroup/hardware/fsys/fsys_mntent.c
14 +++ net-snmp/agent/mibgroup/hardware/fsys/fsys_mntent.c
15 @@ -135,6 +135,7 @@ _fsys_type( char *typename )
16 !strcmp(typename, MNTTYPE_GFS2) ||
17 !strcmp(typename, MNTTYPE_XFS) ||
18 !strcmp(typename, MNTTYPE_JFS) ||
19 + !strcmp(typename, MNTTYPE_REISERFS) ||
20 !strcmp(typename, MNTTYPE_LOFS))
21 return NETSNMP_FS_TYPE_OTHER;
23 Index: net-snmp/agent/mibgroup/hardware/fsys/mnttypes.h
24 ===================================================================
25 --- net-snmp.orig/agent/mibgroup/hardware/fsys/mnttypes.h
26 +++ net-snmp/agent/mibgroup/hardware/fsys/mnttypes.h
29 #define MNTTYPE_GFS2 "gfs2"
32 +#define MNTTYPE_XFS "xfs"
35 +#define MNTTYPE_JFS "jfs"
39 * File systems to monitor, but not covered by HR-TYPES enumerations
41 #ifndef MNTTYPE_RPCPIPE
42 #define MNTTYPE_RPCPIPE "rpc_pipefs"
45 -#define MNTTYPE_XFS "xfs"
48 -#define MNTTYPE_JFS "jfs"
52 #endif /* _NETSNMP_FSYS_MNTTYPES_H */