public inbox for
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
Subject: Re: Build error on NetBSD
Date: Wed, 4 Aug 2021 20:58:05 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

*** John Goerzen [2021-08-04 11:02]:
>NetBSD does have a C statvfs() call, and does not have statfs().

Yeah, I found that later too. So I will use Statvfs for NetBSD.

>to the Linux statfs(2) manpage, POSIX calls for statvfs() and doesn't
>mention statfs().

But does not have Statvfs for FreeBSD :-), however
FreeBSD itself has statvfs() call.

>Weird that it seems to not even be using libc here and going with a
>direct syscall interface (!)

Yes, Go is known for that.

>I got it to compile and work by just replacing that entire function with
>"return true".

Good, thanks for checking it out! I will make Statvfs() usage for NetBSD
in the nearest release.

Sergey Matveev (
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-08-04 17:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  3:17 Build error on NetBSD John Goerzen
2021-08-04 15:04 ` Sergey Matveev
2021-08-04 16:02   ` John Goerzen
2021-08-04 17:58     ` Sergey Matveev [this message]