History log of /freebsd-10-stable/usr.bin/du/du.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 242551 04-Nov-2012 joel

New sentence, new line.

Submitted by: brueffer


# 242550 04-Nov-2012 joel

Add a few basic examples.


# 238602 18-Jul-2012 des

Add -g (gigabyte) flag to complement -k (kilobyte) and -m (megabyte).

MFC after: 1 week


# 228669 17-Dec-2011 jilles

du: Allow multiple -HLP options, the last one wins.

This matches 4.4BSD tradition and other utilities with these options and is
required by POSIX (POSIX does not specify -P, only -HL).

MFC after: 2 weeks


# 228356 09-Dec-2011 gjb

Update du(1):

- Sort arguments alphabetically where appropriate
- '-B blocksize' is not mutually exclusive of '-h|-k|-m'
- Mention '-t' in synopsis
- Other wording improvements
- Update usage() output to reflect the new synopsis [1]
- Other miscellaneous improvements

PR: 162438
Submitted by: arundel
Reviewed by: Benjamin Kaduk (kaduk ! mit.edu), jhb[1] (original version)
MFC after: 1 week


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 210933 06-Aug-2010 joel

Fix typos and spelling mistakes.


# 209362 20-Jun-2010 brian

Add a -t switch for masking output that's above or below certain thresholds.
This switch makes it a lot easier to locate problem areas when a process
is threatening to consume all of your disk space.

PR: 144192
Submitted by: gk
MFC after: 3 weeks


# 184733 06-Nov-2008 mlaier

Add two new options to du(1):
-A Display the apparent size instead of the disk usage. This can be
helpful when operating on compressed volumes or sparse files.

-B blocksize
Calculate block counts in blocksize byte blocks. This is differ-
ent from the -k, -m options or setting BLOCKSIZE and gives an
estimate of how much space the examined file hierachy would
require on a filesystem with the given blocksize. Unless in -A
mode, blocksize is rounded up to the next multiple of 512.

The former is similar to GNU's du(1) --apparent-size. The latter is
different from what GNU's du(1) -B does, which is equivalent to setting
BLOCKSIZE in our implementation and is rather pointless as it doesn't add
any real value (i.e. you can achieve the same with a simple awk-script).

No change in the normal output or processing.

Reviewed by: keramida@, Peter French
Otherwise silience from: freebsd-hackers@


# 176561 25-Feb-2008 keramida

Implement from scratch a -l option for du(1), to match the same option
of the GNU utility. The default behavior of our original `du' is to
count hardlinked files only once for each invocation of the utility.
With the new -l option they count towards the final size every time
they are found.

PR: bin/117944
Submitted by: keramida
Reviewed by: des, obrien
MFC after: 2 weeks


# 162792 29-Sep-2006 ru

Markup fixes.


# 158339 06-May-2006 maxim

o Implement "-n" flag: ignore files and directories with user "nodump"
flag set. Useful for calculation dump -h dump size.

PR: bin/96864
Submitted by: Dmitry Kazarov
Obtained from: NetBSD (man page)
MFC after: 1 month


# 146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


# 136848 23-Oct-2004 keramida

Add a missing full-stop to match the rest of the items in a list.


# 131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 129988 02-Jun-2004 phk

typos.

Pointed out by: ru


# 129986 02-Jun-2004 phk

Give du(1) a -m option to report in megabytes.

Submitted by: Vasily Korytov <deskpot@msk.yell.ru>
PR: 66976


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 96704 16-May-2002 trhodes

More consistancy. file system > filesystem


# 95083 19-Apr-2002 charnier

Use `The .Nm utility'


# 81462 10-Aug-2001 ru

mdoc(7) police: join split punctuation to macro calls.


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 78158 13-Jun-2001 roam

Add '-I mask' cmdline flag to ignore/skip files and subdirectories
matching a specified shell-glob mask.

Reviewed by: no serious objections on -arch and -audit over
the last few months
MFC after: 1 month


# 77160 25-May-2001 ru

Make it clear that -P is the default.

PR: docs/27629


# 68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 67202 16-Oct-2000 ru

Backed out part of the revision 1.10.
BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.


# 58601 26-Mar-2000 charnier

Use warnx(), -Wall cleaning and remove unused #include
Better use of .Nm and .Ar


# 57695 02-Mar-2000 sheldonh

Remove more single-space hard sentence breaks.


# 57670 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 56597 25-Jan-2000 mharo

Add human-readable output flag, -h

Reviewed by: obrien


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 36014 13-May-1998 phk

.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT

PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>


# 32097 29-Dec-1997 jkh

* add a -c option which displays the grand total of all files
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>


# 27099 30-Jun-1997 charnier

Document -k flag.


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 19120 23-Oct-1996 scrappy

Add a 'depth (-d#)' flag to du

patched (context diff), compiled (w/ -Wall) and tested

Submitted by: John-Mark Gurney <jmg@nike.efn.org>


# 17891 29-Aug-1996 wosch

[HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41


# 10041 13-Aug-1995 mpp

Restore the reference to quot(8).


# 10034 12-Aug-1995 ats

Submitted by: careilly@tcd.ie Colman Reilly
replace the reference of quot(8) with a reference to quota(1).
Colman Reilly noticed the missing quot, GNATS bin/671.


# 2009 10-Aug-1994 wollman

Gimme my `-k' option back!


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources