Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:507
net-snmp.openSUSE_11.4_Update
net-snmp-5.6.1-recognize-reiserfs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-snmp-5.6.1-recognize-reiserfs.patch of Package net-snmp.openSUSE_11.4_Update
commit ba4fc80fe2cfd5a5d89230d8f3703e4fe01e6019 Author: Dave Shield <D.T.Shield@liverpool.ac.uk> Date: Thu Dec 22 19:24:40 2011 +0000 CHANGES: agent: PATCH 3402376: from Leonardo Chiquitto: Recognise ReiserFS Also move various FSType definitions to the appropriate blocks Index: net-snmp-5.6.1/agent/mibgroup/hardware/fsys/fsys_mntent.c =================================================================== --- net-snmp-5.6.1.orig/agent/mibgroup/hardware/fsys/fsys_mntent.c +++ net-snmp-5.6.1/agent/mibgroup/hardware/fsys/fsys_mntent.c @@ -136,6 +136,7 @@ _fsys_type( char *typename ) !strcmp(typename, MNTTYPE_XFS) || !strcmp(typename, MNTTYPE_JFS) || !strcmp(typename, MNTTYPE_VXFS) || + !strcmp(typename, MNTTYPE_REISERFS) || !strcmp(typename, MNTTYPE_LOFS)) return NETSNMP_FS_TYPE_OTHER; Index: net-snmp-5.6.1/agent/mibgroup/hardware/fsys/mnttypes.h =================================================================== --- net-snmp-5.6.1.orig/agent/mibgroup/hardware/fsys/mnttypes.h +++ net-snmp-5.6.1/agent/mibgroup/hardware/fsys/mnttypes.h @@ -90,9 +90,6 @@ #ifndef MNTTYPE_PC #define MNTTYPE_PC "pc" #endif -#ifndef MNTTYPE_REISERFS -#define MNTTYPE_REISERFS "reiserfs" -#endif #ifndef MNTTYPE_SMBFS #define MNTTYPE_SMBFS "smbfs" #endif @@ -108,30 +105,45 @@ #ifndef MNTTYPE_VFAT #define MNTTYPE_VFAT "vfat" #endif + +/* + * File systems to monitor, but not covered by HR-TYPES enumerations + */ +#ifndef MNTTYPE_MVFS +#define MNTTYPE_MVFS "mvfs" +#endif +#ifndef MNTTYPE_TMPFS +#define MNTTYPE_TMPFS "tmpfs" +#endif #ifndef MNTTYPE_GFS #define MNTTYPE_GFS "gfs" #endif #ifndef MNTTYPE_GFS2 #define MNTTYPE_GFS2 "gfs2" #endif - -/* - * File systems to monitor, but not covered by HR-TYPES enumerations - */ -#ifndef MNTTYPE_LOFS -#define MNTTYPE_LOFS "lofs" +#ifndef MNTTYPE_XFS +#define MNTTYPE_XFS "xfs" #endif -#ifndef MNTTYPE_APP -#define MNTTYPE_APP "app" +#ifndef MNTTYPE_JFS +#define MNTTYPE_JFS "jfs" #endif -#ifndef MNTTYPE_MVFS -#define MNTTYPE_MVFS "mvfs" +#ifndef MNTTYPE_VXFS +#define MNTTYPE_VXFS "vxfs" +#endif +#ifndef MNTTYPE_REISERFS +#define MNTTYPE_REISERFS "reiserfs" +#endif +#ifndef MNTTYPE_LOFS +#define MNTTYPE_LOFS "lofs" #endif /* * File systems to skip * (Probably not strictly needed) */ +#ifndef MNTTYPE_APP +#define MNTTYPE_APP "app" +#endif #ifndef MNTTYPE_DEVPTS #define MNTTYPE_DEVPTS "devpts" #endif @@ -144,9 +156,6 @@ #ifndef MNTTYPE_SYSFS #define MNTTYPE_SYSFS "sysfs" #endif -#ifndef MNTTYPE_TMPFS -#define MNTTYPE_TMPFS "tmpfs" -#endif #ifndef MNTTYPE_USBFS #define MNTTYPE_USBFS "usbfs" #endif @@ -156,14 +165,5 @@ #ifndef MNTTYPE_RPCPIPE #define MNTTYPE_RPCPIPE "rpc_pipefs" #endif -#ifndef MNTTYPE_XFS -#define MNTTYPE_XFS "xfs" -#endif -#ifndef MNTTYPE_JFS -#define MNTTYPE_JFS "jfs" -#endif -#ifndef MNTTYPE_VXFS -#define MNTTYPE_VXFS "vxfs" -#endif #endif /* _NETSNMP_FSYS_MNTTYPES_H */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor