#
6ad6faad |
| 09-Aug-2022 |
wiz <wiz@NetBSD.org> |
Sync usage with man page.
|
#
66e28bd2 |
| 08-Aug-2022 |
kre <kre@NetBSD.org> |
Add 4 new flags: -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 suppr
Add 4 new flags: -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.
show more ...
|
#
72406455 |
| 29-Nov-2021 |
simonb <simonb@NetBSD.org> |
Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so that addstat() uses an initialised value for total size calculations. Fixes core dump for "df -c".
|
#
f5abf2be |
| 03-Jan-2021 |
ginsbach <ginsbach@NetBSD.org> |
df: add grand total option
Add a grand total option, -c, similar to the du(1) -c option. Adapted from the same option (-c) in FreeBSD df(1).
|
#
d9a953e5 |
| 21-Aug-2020 |
ryo <ryo@NetBSD.org> |
- Bump Size/Used/Avail from 10 to 12, and iUsed/iAvail from 8 to 10 for double-digit terabyte storage. - set the field width to the optimal, if "-h" is specified. - if blocksize is greater than M or
- Bump Size/Used/Avail from 10 to 12, and iUsed/iAvail from 8 to 10 for 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.
show more ...
|
#
6a96a9e6 |
| 21-Aug-2020 |
ryo <ryo@NetBSD.org> |
field width of blocksize and inode can be changed by #define
|
#
0c131738 |
| 22-Sep-2019 |
christos <christos@NetBSD.org> |
Add a new member to struct vfsstat and grow the unused members 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 moun
Add a new member to struct vfsstat and grow the unused members 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=
show more ...
|
#
e6e2d522 |
| 18-Sep-2019 |
christos <christos@NetBSD.org> |
Print the wedge name with -W instead of mntfrom
|
#
c087160b |
| 26-Aug-2018 |
sevan <sevan@NetBSD.org> |
-G cannot be specified alongside -i or -P.
Heads up by <leot>
|
#
8fdd6346 |
| 05-Mar-2016 |
kamil <kamil@NetBSD.org> |
Correct display of df(1) with the -i parameter
Now the "Mounted on" column should be aligned with /entries.
Patch by Michal Mazurek.
|
#
106e583f |
| 12-Nov-2015 |
christos <christos@NetBSD.org> |
PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX) 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
PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX) 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
show more ...
|
#
c8166169 |
| 07-Jan-2012 |
christos <christos@NetBSD.org> |
use strspct.
|
#
350de00f |
| 29-Aug-2011 |
gson <gson@NetBSD.org> |
Use the same column spacing for the -h output as with the normal output, as the same header line format is used in both cases and it can't line up correctly with both of them otherwise.
|
#
376a4777 |
| 29-Aug-2011 |
enami <enami@NetBSD.org> |
No need to print internal state once debug is done.
|
#
072a49ec |
| 28-Aug-2011 |
christos <christos@NetBSD.org> |
- static/__dead - use strpct from libutil - fix off by one in format
|
#
61ace358 |
| 06-Jun-2009 |
mlelstv <mlelstv@NetBSD.org> |
block numbers are measured in f_frsize units. Make -P option use this instead of f_bsize. Also account for reserved blocks like normal non-P output. Fixes PR bin/41541.
|
#
4a566726 |
| 25-Jan-2009 |
lukem <lukem@NetBSD.org> |
sign-compare fix for amd64
|
#
c6144e48 |
| 18-Jan-2009 |
lukem <lukem@NetBSD.org> |
fix -Wsign-compare issues
|
#
2fe2731d |
| 20-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings.
|
#
9655f5c2 |
| 26-May-2008 |
christos <christos@NetBSD.org> |
PR/38755: murray armfield: /bin posix programs missing setprogname and/or setlocale
|
#
7d01361f |
| 04-Mar-2008 |
christos <christos@NetBSD.org> |
do the -g -G swap for real.
|
#
7ca37f5c |
| 04-Mar-2008 |
christos <christos@NetBSD.org> |
PR/36817: Zafer Aydogan: Don't use -g to implement the same named option in solaris to display statvfs output, use -G instead. I researched this and all other implementations except Solaris (OS/X, Fr
PR/36817: Zafer Aydogan: Don't use -g to implement the same named option 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.
show more ...
|
#
a9b7c5b6 |
| 04-Mar-2008 |
yamt <yamt@NetBSD.org> |
restore whitespace between 'Filesystem' and 'blocks'.
|
#
16d01d9a |
| 22-Dec-2007 |
yamt <yamt@NetBSD.org> |
prtstat: PRIdMAX -> jd as suggested by Joerg Sonnenberger.
|
#
c7bc0cd0 |
| 21-Dec-2007 |
yamt <yamt@NetBSD.org> |
don't cast 64bit values to u_long.
|