Hello Jesper,
Thanks for pointing this out. I was not aware that it did not work on
FreeBSD. Based on your input and the Solaris, Windows, and FreeBSD
definitions of statvfs(), I have corrected the code to be correct for
hopefully all those cases.
It will be committed to the repo later toda
Hello list.
On FreeBSD f_bsize of struct statvfs is not equal to the filesystems
blocksize as on Linux, on FreeBSD f_bsize is statfs's f_iosize which is
optimal transfer block size e.g can be much larger than fragment size and
actual block size.
Therefore also use f_frsize for freeval calc