DragonFly commits List (threaded) for 2008-08
DragonFly BSD
DragonFly commits List (threaded) for 2008-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/bin/df df.c


To: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
From: Sascha Wildner <saw@xxxxxxxxx>
Date: Sat, 02 Aug 2008 13:32:21 +0200

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



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