[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Re: configure issue: getfsstat(), 'struct statfs' and 'struct f
From: |
Bruno Haible |
Subject: |
Re: Fwd: Re: configure issue: getfsstat(), 'struct statfs' and 'struct fsstat' |
Date: |
Tue, 17 Jul 2018 00:02:20 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-130-generic; KDE/5.18.0; x86_64; ; ) |
Hi Aron,
> > My goal is to compile the findutils by supplying the BSD's getfsstat() API
> > to get mountlist.
The configuration of the gnulib 'mountlist' module (used by findutils
and coreutils, among others) is written in such a way that on OpenBSD
it uses the getmntinfo() function
https://man.openbsd.org/getmntinfo.3
which, according to this manual page, invokes getfsstat().
Why would you make it call getfsstat() directly?
> > a) Why the configure use a different type name?
That test is not meant to succeed on OpenBSD. As the comments
indicate, it's there for OSF/1 and Darwin.
> > c) Is this branch of the configure still maintained, or it is abandoned?
> > The related code that use this API is also still maintained?
It is maintained in gnulib, module 'mountlist'.
Bruno