summaryrefslogtreecommitdiffstats
path: root/usr.bin/du
Commit message (Collapse)AuthorAgeFilesLines
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
|
* Remove unused variables.stefanf2005-04-091-2/+1
|
* Use 64bit 'fts_bignum' field instead of 32bit (on 32bit archs) fieldpjd2005-01-071-11/+13
| | | | | | | | | | | | 'fts_number' to remember number of blocks. This makes du(1) 64bit-clean. This work is part of the BigDisk project: http://www.FreeBSD.org/projects/bigdisk/ Discussed on: arch@ MFC after: 5 days
* Add a missing full-stop to match the rest of the items in a list.keramida2004-10-241-1/+1
|
* Use the length modifier 'll' instead of 'q' to print long longs.stefanf2004-07-281-1/+1
|
* Respect locale settings from the environment.tjr2004-07-151-0/+3
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* typos.phk2004-06-021-2/+2
| | | | Pointed out by: ru
* Give du(1) a -m option to report in megabytes.phk2004-06-022-10/+9
| | | | | Submitted by: Vasily Korytov <deskpot@msk.yell.ru> PR: 66976
* Use humanize_number(3) to format sizes into a human readable form.pjd2004-05-242-69/+11
|
* Mark du(1) as WARNS6 clean.pjd2004-05-241-0/+1
| | | | Tested on: alpha, amd64, i386, ia64, sparc64
* More style fixes, per bde.kientzle2004-05-021-6/+4
|
* Style fixes, most suggested by bde.kientzle2004-05-011-24/+19
|
* Speed up hardlink detection by using a self-sizing hashkientzle2004-04-301-32/+141
| | | | | | | | | | | | | | table rather than the old linear list search. On my "hardlink detection torture test", this reduced user time from 4700 seconds down to 4.2 seconds and wallclock time from 1:24:48 down to 1:08. (Yes, that's over one THOUSAND times reduction in user time. ;-) In the worst case, the new code doubles peak memory usage, though it could actually reduce memory usage in many cases. MFC after: 1 week PR: misc/42167, bin/51151
* -{h,k} are mutually exclisive. So only pay attention to the last of theobrien2003-03-301-2/+2
| | | | two when both are given.
* Back out rev 1.27; getbsize(3)'s original interface has been restored.mike2002-12-301-2/+1
| | | | Approved by: markm
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* Change the type of an unused variable to appease a warning.markm2002-10-231-1/+2
|
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-15/+8
|
* Consistently use FBSDIDobrien2002-06-301-3/+2
|
* More consistancy. file system > filesystemtrhodes2002-05-161-1/+1
|
* Use `The .Nm utility'charnier2002-04-191-2/+3
|
* remove __Pimp2002-03-221-7/+7
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* GRR. This was not WARNS=2 clean. You cannot printf a 'long' withpeter2002-02-081-1/+1
| | | | | | | | '%qd'. usr.bin/du/du.c:288: warning: long long int format, long int arg (arg 2) Pointy hat to: markm
* WARNS=2 fixupmarkm2001-12-022-2/+3
|
* Use the correct blocksize when invoked with both -h and -krobert2001-09-041-1/+2
| | | | | | | options. PR: 30275 Reviewed by: jake
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+1
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* Add '-I mask' cmdline flag to ignore/skip files and subdirectoriesroam2001-06-132-2/+70
| | | | | | | | matching a specified shell-glob mask. Reviewed by: no serious objections on -arch and -audit over the last few months MFC after: 1 month
* Make it clear that -P is the default.ru2001-05-251-4/+4
| | | | PR: docs/27629
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Backed out part of the revision 1.10.ru2000-10-161-1/+2
| | | | BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
* Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in mostbde2000-03-271-2/+2
| | | | | | | cases and broke the world in some cases. Fixed style bugs for DPADD and LDADD (don't use += for variables defined only once).
* Use warnx(), -Wall cleaning and remove unused #includecharnier2000-03-262-12/+15
| | | | Better use of .Nm and .Ar
* fix bug with du -hdmharo2000-03-241-1/+1
| | | | Submitted by: dcs
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-2/+4
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* cleanup using suggestions from bdemharo2000-01-271-4/+4
|
* Add human-readable output flag, -hmharo2000-01-253-16/+128
| | | | Reviewed by: obrien
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-062-2/+3
|
* Add missing '\n'; remove redundant 'h' case in getopt switch.rnordier1998-11-051-2/+1
|
* Add -c option to usage string.rnordier1998-11-051-1/+1
| | | | | PR: 8568 Submitted by: Ryan Younce <ryany@pobox.com>
* Print correct total for -c option (previously, the total for the lastdes1998-09-111-1/+1
| | | | | | | directory scanned was printed instead of the real total) PR: bin/7896 Submitted by: Zach Heilig <zach@gaffaneys.com>
* Don't try to dereference a pointer to freed memory.des1998-07-291-7/+4
| | | | PR: bin/7393
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-131-2/+2
| | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* * add a -c option which displays the grand total of all filesjkh1997-12-292-123/+144
| | | | | | | | | | | | | | | | | | | counted. * re-word parts of the man page which I felt were badly worded or ambiguous. * change the behaviour of argument processing so that when more than one of the -P, -H and -L options are specified it will print an error message, rather than choosing the last option specified, this behaviour is more logical and consistent with other utilities. * change the behaviour of argument processing so that negative arguments to the -d option are not allowed. PR: 5388 Submitted by: Niall Smart <rotel@indigo.ie>
* du(1) always exit with value zero.wosch1997-08-291-1/+1
| | | | | | | $ du /foobar du: /foobar: No such file or directory $ echo $? 0
* Document -k flag.charnier1997-06-302-8/+15
|
OpenPOWER on IntegriCloud