System V statfs structure element semantics

David Elliott dce at mips.COM
Tue Sep 27 00:33:41 AEST 1988


Our system is based on SVR3, but has a BSD-based filesystem.
Currently, if you run statfs() on an empty filesystem, f_blocks gives
you the total number of blocks in the system, and f_bfree gives you the
same number minus the "minfree" space (usually 10%).  This means that
if you do your math based on these numbers, an empty filesystem will
appear to be 10% full.

Are our values correct? What does the standard System V statfs do?
Does System V have a notion of space that only the superuser can fill?

-- 
David Elliott		dce at mips.com  or  {ames,prls,pyramid,decwrl}!mips!dce



More information about the Comp.unix.wizards mailing list