[issue1401] statvfs(2) reports wrapped sizes for large nfs file systems

Simon 'corecode' Schubert (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Fri Jun 12 07:32:06 PDT 2009


New submission from Simon 'corecode' Schubert <corecode at fs.ei.tum.de>:

nfs only implements vfs_statfs and relies on the vfs_stdstatvfs wrapper to
provide a statvfs interface.

NFSv3 provides 64 bit values for free and available blocks, but the statfs
structure it fills uses only signed longs.  As a result, these values get
cropped and later written back into a 64 bit integer in the statvfs struct,
leading to incorrect information.

nfs needs to implement both statfs and statvfs to fix this.

----------
messages: 6740
nosy: corecode
priority: bug
status: unread
title: statvfs(2) reports wrapped sizes for large nfs file systems

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1401>
_____________________________________________________





More information about the Bugs mailing list