cvs commit: src/bin/df df.c

Sascha Wildner saw at online.de
Sat Aug 2 04:32:21 PDT 2008


Matthew Dillon schrieb:
dillon      2008/06/01 13:52:21 PDT

DragonFly src repository

  Modified files:
    bin/df               df.c 
  Log:
  Use newly available libc and system calls related to statvfs to make df
  work with 64 bit statvfs fields.  Tested with a 4TB VN-backed HAMMER
  filesystem.
  
  Revision  Changes    Path
  1.10      +89 -60    src/bin/df/df.c

http://www.dragonflybsd.org/cvsweb/src/bin/df/df.c.diff?r1=1.9&r2=1.10&f=u
If I fill a UFS partition up to its capacity as root, I get the 
following df output:

/dev/ad0s1e   248M   248M 18889465931478559883264B   109%       8 
63734    0%   /tmp

I haven't verified but I suspect the statvfs changes are responsible.

Sascha

--
http://yoyodyne.ath.cx




More information about the Commits mailing list