Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> statvfs is part of the POSIX spec and is "normally" present on modern
> platforms (BSD, OSX, Linux and Solaris have it as far as I saw, still
> there may be some strange platform without it).
There are considerably less strange platforms that have per-user
disk quotas. I wonder what statvfs does with those.
regards, tom lane