| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-09 | Sync usage with man page. | wiz | |
| 2022-08-09 | Sort options, fix macro, add RCS Id. | wiz | |
| 2022-08-08 | Add 4 new flags: | kre | |
| -b (from FreeBSD) - set blocksize to blocks (512 bytes) (overrides a contrary setting in BLOCKSIZE) -H (from FreeBSD and Linux): -h using SI units (powers of 10). Ugh. -N suppress the header line (except with -P which requires it). -f show only free space (or inodes) in a minimal format (implies -N) (that is, with one file[system] specified, print 1 number only) With -c, show only the total. Intended to be useful for scripting (aka, I needed it.) While here, improve the usage message (group options where they apply, there is no reason, for example, that -g should be shown differently to -k -m ..., and those options aren't at all useful with -G) Update the man page to match. | |||
| 2021-11-29 | Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so that | simonb | |
| addstat() uses an initialised value for total size calculations. Fixes core dump for "df -c". | |||
| 2021-01-06 | df: bump man page date | ginsbach | |
| 2021-01-03 | df: add grand total option | ginsbach | |
| Add a grand total option, -c, similar to the du(1) -c option. Adapted from the same option (-c) in FreeBSD df(1). | |||
| 2020-08-21 | - Bump Size/Used/Avail from 10 to 12, and iUsed/iAvail from 8 to 10 for ↵ | ryo | |
| double-digit terabyte storage. - set the field width to the optimal, if "-h" is specified. - if blocksize is greater than M or G, reduce the size field width. | |||
| 2020-08-21 | field width of blocksize and inode can be changed by #define | ryo | |
| 2019-09-23 | we don't need root anymore. | christos | |
| 2019-09-22 | Add a new member to struct vfsstat and grow the unused members | christos | |
| The new member is caled f_mntfromlabel and it is the dkw_wname of the corresponding wedge. This is now used by df -W to display the mountpoint name as NAME= | |||
| 2019-09-20 | file system police. Fix typo. Fix macro use. | wiz | |
| 2019-09-18 | It is not just root, it is device read access (kre) | christos | |
| 2019-09-18 | mention that -W needs root. | christos | |
| 2019-09-18 | Print the wedge name with -W instead of mntfrom | christos | |
| 2018-08-26 | -G cannot be specified alongside -i or -P. | sevan | |
| Heads up by <leot> | |||
| 2018-08-26 | Match SYNOPSIS with usage() | sevan | |
| 2017-07-03 | Remove workaround for ancient HTML generation code. | wiz | |
| 2016-08-10 | Bump date | sevan | |
| Reminded by wiz@ | |||
| 2016-08-10 | df was there from v1. | sevan | |
| Confirmed from the TUHS & cat-v.org hosted copies of man pages. | |||
| 2016-03-05 | Correct display of df(1) with the -i parameter | kamil | |
| Now the "Mounted on" column should be aligned with /entries. Patch by Michal Mazurek. | |||
| 2015-11-12 | PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX) | christos | |
| For df -G, print the block and fragment size instead of the iosize and the blocksize. If we need to print the iosize, it should be done in a different field. Nevertheless printing the blocksize in the fragment size field is just wrong. XXX: pullup-6, pullup-7 | |||
| 2012-01-07 | use strspct. | christos | |
| 2011-08-29 | Use the same column spacing for the -h output as with the normal output, | gson | |
| as the same header line format is used in both cases and it can't line up correctly with both of them otherwise. | |||
| 2011-08-29 | No need to print internal state once debug is done. | enami | |
| 2011-08-28 | - static/__dead | christos | |
| - use strpct from libutil - fix off by one in format | |||
| 2011-08-14 | Document non-literal formats | christos | |
| 2010-04-05 | \\ -> \e | joerg | |
| 2009-06-06 | block numbers are measured in f_frsize units. Make -P option | mlelstv | |
| use this instead of f_bsize. Also account for reserved blocks like normal non-P output. Fixes PR bin/41541. | |||
| 2009-02-14 | Default to WARNS=4 (except for rcp & ksh) | lukem | |
| 2009-01-25 | sign-compare fix for amd64 | lukem | |
| 2009-01-18 | fix -Wsign-compare issues | lukem | |
| 2008-07-20 | Remove the \n and tabs from the __COPYRIGHT() strings. | lukem | |
| 2008-05-26 | PR/38755: murray armfield: /bin posix programs missing setprogname and/or | christos | |
| setlocale | |||
| 2008-03-04 | sort options from anon ymous | christos | |
| 2008-03-04 | do the -g -G swap for real. | christos | |
| 2008-03-04 | PR/36817: Zafer Aydogan: Don't use -g to implement the same named option | christos | |
| in solaris to display statvfs output, use -G instead. I researched this and all other implementations except Solaris (OS/X, FreeBSD, us before June 24, 2007) use -g to signify gigabytes. So revert to that. PR/38154: YAMAMOTO Takashi: df -P doesn't work without -k. Fix from Anon Ymous together with passing lint, and exiting with the right values. | |||
| 2008-03-04 | restore whitespace between 'Filesystem' and 'blocks'. | yamt | |
| 2007-12-22 | prtstat: PRIdMAX -> jd as suggested by Joerg Sonnenberger. | yamt | |
| 2007-12-21 | don't cast 64bit values to u_long. | yamt | |
| 2007-07-17 | kill MFSNAMELEN | christos | |
| 2007-07-16 | Fix '-Ph' segfault; from Greg Woods | christos | |
| 2007-07-03 | spacing fixes from Geoff Wing | christos | |
| 2007-06-24 | PR/36541: Greg A. Woods: fix -P option, and add solaris -g option. | christos | |
| 2007-01-28 | Improve wording of -a description. From FreeBSD via Zafer Aydogan. | wiz | |
| 2006-09-04 | fix formatting of df -h; from Zafer. | christos | |
| 2006-08-21 | -h and -[mgk] are mutually exclusive. Only use the last specified. [from zafer] | christos | |
| Use one variable instead of 3 flags to hold the scale, so that we don't have to reset each flag. | |||
| 2006-03-17 | Handle malloc returning NULL. | rumble | |
| 2006-01-13 | PR/23688: don't say we're printing in 1k-blocks if -h was also specified. | elad | |
| 2005-11-18 | PR/32103: Zafer Aydogan: Fix references to obsolete fstatfs and getfsstat | christos | |
| 2005-06-26 | sprinkle a little const, and now everything compiles with WARNS=3 | christos | |
