Re: [Nagios-devel] Small problem with configfile dirs on XFS on Linux

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Small problem with configfile dirs on XFS on Linux

Post by Guest »

Thanks - this will be in CVS tonight.


On 11 May 2004 at 21:15, Marco van Wieringen wrote:

> Hi,
>
> I was having some interesting problems today with one
> of the latest CVS snapshot running on a Linux system with
> XFS filesystems. The code in xodtemplate.c find out that
> Linux supports Linux has _DIRENT_HAVE_D_TYPE but on XFS
> the d_type is set to DT_UNKNOWN which means one should use
> stat to figure out what type of file it really is. After
> finding out this frustrating bug I went out and did a
> quick and dirty patch. Attached is the patch which works
> around the DT_UNKNOWN value and fixed my problems on XFS
> filesystems with configfile directories.
>
> Marco van Wieringen
> ELM Consultancy B.V.
>
>
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked