Project

General

Profile

Actions

Bug #1401

closed

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

Added by corecode over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions

Also available in: Atom PDF