DragonFly bugs List (threaded) for 2009-06
DragonFly BSD
DragonFly bugs List (threaded) for 2009-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Simon 'corecode' Schubert \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Jun 2009 14:30:36 +0000

New submission from Simon 'corecode' Schubert <corecode@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1401>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]