[9] RFR of 8081843: (fs) FileStore.getTotalSpace returns unexpected results with >2TB file systems

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jun 11 16:05:17 UTC 2015


On Jun 11, 2015, at 2:03 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> This looks okay to me although on OS X builds then statvfs64 is defined to statvfs (L63).

I’ll look it over again to see whether some further cleanup is possible.

> This means the only real change here is using f_bsize. Once this has backed for a bit then it's probably a change that should go into 8uX too.

Actually the change includes using statfs() and struct statfs instead of statvfs64 and struct statvfs64, respectively. In struct statfs there is no f_frsize field.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150611/a02385e5/attachment-0001.html>


More information about the nio-dev mailing list