summaryrefslogtreecommitdiff
path: root/bin/df/df.c
AgeCommit message (Expand)Author
2022-08-09Sync usage with man page.wiz
2022-08-08Add 4 new flags:kre
2021-11-29Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so thatsimonb
2021-01-03df: add grand total optionginsbach
2020-08-21- Bump Size/Used/Avail from 10 to 12, and iUsed/iAvail from 8 to 10 for doubl...ryo
2020-08-21field width of blocksize and inode can be changed by #defineryo
2019-09-22Add a new member to struct vfsstat and grow the unused memberschristos
2019-09-18Print the wedge name with -W instead of mntfromchristos
2018-08-26-G cannot be specified alongside -i or -P.sevan
2016-03-05Correct display of df(1) with the -i parameterkamil
2015-11-12PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX)christos
2012-01-07use strspct.christos
2011-08-29Use the same column spacing for the -h output as with the normal output,gson
2011-08-29No need to print internal state once debug is done.enami
2011-08-28- static/__deadchristos
2009-06-06block numbers are measured in f_frsize units. Make -P optionmlelstv
2009-01-25sign-compare fix for amd64lukem
2009-01-18fix -Wsign-compare issueslukem
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-05-26PR/38755: murray armfield: /bin posix programs missing setprogname and/orchristos
2008-03-04do the -g -G swap for real.christos
2008-03-04PR/36817: Zafer Aydogan: Don't use -g to implement the same named optionchristos
2008-03-04restore whitespace between 'Filesystem' and 'blocks'.yamt
2007-12-22prtstat: PRIdMAX -> jd as suggested by Joerg Sonnenberger.yamt
2007-12-21don't cast 64bit values to u_long.yamt
2007-07-17kill MFSNAMELENchristos
2007-07-16Fix '-Ph' segfault; from Greg Woodschristos
2007-07-03spacing fixes from Geoff Wingchristos
2007-06-24PR/36541: Greg A. Woods: fix -P option, and add solaris -g option.christos
2006-09-04fix formatting of df -h; from Zafer.christos
2006-08-21-h and -[mgk] are mutually exclusive. Only use the last specified. [from zafer]christos
2006-03-17Handle malloc returning NULL.rumble
2006-01-13PR/23688: don't say we're printing in 1k-blocks if -h was also specified.elad
2005-06-26sprinkle a little const, and now everything compiles with WARNS=3christos
2004-12-31Use the same width (9) for both the Used and Avail columns.augustss
2004-07-17Drop LSBs when denominator is big.enami
2004-07-07Remove now unnecesary/incorrect cast.enami
2004-07-07- Remove unnecessary empty line.enami
2004-07-04Available block count may be negative - so make the calculation signed.martin
2004-04-21Replace the statfs() family of system calls with statvfs().christos
2004-03-26Combine two printf()s back to one. There was a reason to split in myenami
2004-03-26Prevent sign extension for positive value, and f_bavail if it is consideredenami
2004-03-26Fix an output of df -h when the value is negative; we need to provideenami
2004-03-26No need to reference through a pointer; just refer the array ofenami
2004-03-26Don't put space before close paren.enami
2004-03-07Use signed 64bit integer type instead of unsigned long longenami
2004-03-02Backout recent undocumented change to keep an output same as before.enami
2004-03-02fix compilation on LP64 systems.christos
2004-03-02cast to unsigned long long before computing to avoid overflowitojun
2004-03-02use unsigned long long to print block count.itojun