64 bit quantities in statfs ?

David Schultz das at freebsd.org
Mon Aug 25 21:39:17 PDT 2003


On Mon, Aug 25, 2003, Garrett Wollman wrote:
> <<On Sun, 24 Aug 2003 16:04:40 -0700, David Schultz <das at freebsd.org> said:
> 
> > Yep, looks broken.  In the POSIX standard, the functionality of
> > statfs() is provided by statvfs(), so implementing the latter may
> > be a way out that doesn't involve breaking any ABIs.
> 
> statfs() is a lot more useful interface than statvfs().  I'd like to
> keep statvfs() as the ``standard'' interface, rather than extending it
> to cover all of the information that statfs() has.
> 
> In order to grow statfs() we need to rev libc.  It might be
> appropriate to do that in the 5.2 time frame, if we are still
> anticipating that 5.2 will be the -stable crossover point.  RE team?

We can't fix statfs() until 6.0.  statvfs() is potentially just as
useful, and it doesn't suffer from the same problems.  Despite
being underspecified by the standard, many systems, e.g. Solaris,
make it convey at least as much information as statfs().


More information about the freebsd-current mailing list