History log of /freebsd-current/usr.bin/du/du.1
Revision Date Author Comments
# b2b8fa1a 28-Apr-2024 Nathan Huff <nhuff@acm.org>

Add libxo support to du

Convert du to use libxo enabling structured output.

[[ minor style fixes by imp ]]

Signed-off-by: Nathan Huff <nhuff@acm.org>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1145


# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 6d6d6c36 09-Oct-2020 Gordon Bergling <gbe@FreeBSD.org>

Fix a few mandoc issues

- no blank before trailing delimiter
- whitespace at end of input line
- sections out of conventional order
- normalizing date format
- AUTHORS section without An macro


# bbb4c4d8 08-Aug-2019 Mark Johnston <markj@FreeBSD.org>

Flesh out the STANDARDS and AUTHORS sections in the du(1) man page.

PR: 239722
Submitted by: Gordon Bergling <gbergling@gmail.com>
MFC after: 3 days


# 476c601b 08-Aug-2017 Kyle Evans <kevans@FreeBSD.org>

du(1): Add --si option to display in terms of powers of 1000

Reviewed by: cem (earlier version), emaste
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D11748


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# 614b56b1 04-Nov-2012 Joel Dahl <joel@FreeBSD.org>

New sentence, new line.

Submitted by: brueffer


# 625dbdef 04-Nov-2012 Joel Dahl <joel@FreeBSD.org>

Add a few basic examples.


# 69739e8d 18-Jul-2012 Dag-Erling Smørgrav <des@FreeBSD.org>

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

MFC after: 1 week


# 6530d2f2 17-Dec-2011 Jilles Tjoelker <jilles@FreeBSD.org>

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


# 653fa521 08-Dec-2011 Glen Barber <gjb@FreeBSD.org>

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


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

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


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# f6ac2391 06-Aug-2010 Joel Dahl <joel@FreeBSD.org>

Fix typos and spelling mistakes.


# f0cc075c 20-Jun-2010 Brian Somers <brian@FreeBSD.org>

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


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# fd543f27 06-Nov-2008 Max Laier <mlaier@FreeBSD.org>

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@


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# fe5628d3c 25-Feb-2008 Giorgos Keramidas <keramida@FreeBSD.org>

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


# cb29445a 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# fadc7151 06-May-2006 Maxim Konovalov <maxim@FreeBSD.org>

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


# f682f10c 21-May-2005 Ruslan Ermilov <ru@FreeBSD.org>

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


# d2c50f8b 23-Oct-2004 Giorgos Keramidas <keramida@FreeBSD.org>

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


# 6a3e8b0a 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# cd4dc87a 02-Jun-2004 Poul-Henning Kamp <phk@FreeBSD.org>

typos.

Pointed out by: ru


# b933ee54 02-Jun-2004 Poul-Henning Kamp <phk@FreeBSD.org>

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

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


# 8d5d039f 12-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

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

Approved by: re


# 46c2a2cf 15-May-2002 Tom Rhodes <trhodes@FreeBSD.org>

More consistancy. file system > filesystem


# 3898680c 19-Apr-2002 Philippe Charnier <charnier@FreeBSD.org>

Use `The .Nm utility'


# 94ba280c 10-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 4bb69e35 13-Jun-2001 Peter Pentchev <roam@FreeBSD.org>

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


# 95a09b05 25-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Make it clear that -P is the default.

PR: docs/27629


# 8fe908ef 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

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


# cb22e4fa 16-Oct-2000 Ruslan Ermilov <ru@FreeBSD.org>

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


# 884bd44c 26-Mar-2000 Philippe Charnier <charnier@FreeBSD.org>

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


# 4e86fcac 02-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove more single-space hard sentence breaks.


# 87faa07b 29-Feb-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

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.


# 54aa1771 25-Jan-2000 Michael Haro <mharo@FreeBSD.org>

Add human-readable output flag, -h

Reviewed by: obrien


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 84717b42 13-May-1998 Poul-Henning Kamp <phk@FreeBSD.org>

.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT

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


# 1aa8a0a9 29-Dec-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

* 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>


# 1aa67f69 30-Jun-1997 Philippe Charnier <charnier@FreeBSD.org>

Document -k flag.


# c115df18 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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.


# 0282769e 23-Oct-1996 Marc G. Fournier <scrappy@FreeBSD.org>

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

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

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


# b8923d4c 29-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

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


# c4b4d743 13-Aug-1995 Mike Pritchard <mpp@FreeBSD.org>

Restore the reference to quot(8).


# 1f4b92cf 12-Aug-1995 Andreas Schulz <ats@FreeBSD.org>

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.


# abb5479a 10-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Gimme my `-k' option back!


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources