bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure issue: getfsstat(), 'struct statfs' and 'struct fsstat'


From: Barath Aron
Subject: Re: configure issue: getfsstat(), 'struct statfs' and 'struct fsstat'
Date: Tue, 17 Jul 2018 21:05:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 07/17/2018 08:49 PM, Paul Eggert wrote:
Barath Aron wrote:
Does gnulib support BSD's getmntinfo()? Since it looks not, what can we do?

Gnulib ports to the operating systems (including BSD operating systems) available at the time Gnulib was written, and it still ports to the current versions of these operating systems as far as we know.
I try to get access to a current BSD to see how it works on it. If even works.

So you can either change your new OS to emulate one of the existing OSes better,
Yes, it was my original intention with BSD's getfsstat() and getmntinfo(), but I got stuck with struct fsstat which I do not understand, and seems to be undocumented (at this time -- maybe in the past it was).

or you can change Gnulib to work with whatever primitives your OS provides.
Nice, I'm glad to hear that. Changes are not welcomed in all GNU projects. :) Lately I replaced many forks with posix_spawn in open source projects, but the maintainers rarely accept the patches.

I don't see any other options, offhand.
Thanks, I'll let you know about my findings.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]