| History log of /src/usr.bin/du |
| Revision | Date | Author | Comments |
| 1.9 | 14-Apr-2009 |
lukem | Enable WARNS=4 by default for usr.bin, except for: awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
|
| 1.8 | 17-Feb-2005 |
xtraeme | branches: 1.8.36; Kill __P(), use ANSI function declarations, constify; WARNS=3.
|
| 1.7 | 28-Sep-1995 |
perry | Add RCS ID
|
| 1.6 | 28-Sep-1995 |
perry | Sync with 4.4BSD-Lite2
|
| 1.5 | 28-Mar-1995 |
glass | Merged with 4.4lite
|
| 1.4 | 28-Jan-1994 |
cgd | don't need -lutil
|
| 1.3 | 06-Aug-1993 |
mycroft | Incorporate new version using getbsize(), with -k flag added.
|
| 1.2 | 31-Jul-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 28-Mar-1995 |
glass | Import from 4.4
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.8.36.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.24 | 01-Sep-2019 |
sevan | du was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
|
| 1.23 | 14-May-2012 |
wiz | branches: 1.23.32; 1.23.34; Add EXIT STATUS section and bump date. From Bug Hunting.
|
| 1.22 | 11-Mar-2012 |
shattered | PR/22405 -- extend du(1) to report inode usage. Patch provided by Jonathan Perkin.
OK by wiz@
|
| 1.21 | 24-Sep-2006 |
wiz | branches: 1.21.40; Remove trailing whitespace.
|
| 1.20 | 23-Sep-2006 |
elad | PR/34220: Tyler Spivey: feature request: --max-depth for du
Thanks to Matt Fleming for porting the -d feature from FreeBSD!
|
| 1.19 | 17-May-2004 |
wiz | Use more macros.
|
| 1.18 | 17-May-2004 |
simonb | Add a "-n" flag that will ignore files/directories with the "nodump" flag set. Useful when used in conjunction with "dump -h" to size dumps.
|
| 1.17 | 07-Aug-2003 |
agc | branches: 1.17.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.16 | 18-Apr-2003 |
grant | add -g for output in gigabytes.
|
| 1.15 | 18-Apr-2003 |
grant | humanize_number() actually prints 'K' as the suffix for 1024 ('k' is used for 1000).
minor whitespace fix.
|
| 1.14 | 27-Sep-2002 |
wiz | Sort options. Bump date for -h addition. Begin new sentences on new lines(!). The abbreviation for 'kilo' is still a small 'k', not a capital one. Add -h to the list of options that disable display in default blocksize.
|
| 1.13 | 27-Sep-2002 |
provos | human-readable output via -h flag. match output from Linux and other BSDs. Partly by Benedikt Meurer <bmeurer@fwdn.de>. approved by perry. closes pr 14687 and 18402.
|
| 1.12 | 01-Dec-2001 |
wiz | Use standard headers.
|
| 1.11 | 01-Dec-2001 |
wiz | Whitespace cleanup.
|
| 1.10 | 08-Jul-2001 |
simonb | Xref getbsize(3).
|
| 1.9 | 30-Dec-2000 |
hubertf | Option similar to -k, only to use megabyte (1024**2) as display unit.
Patch contributed by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk> in PR 11848.
|
| 1.8 | 15-Feb-1998 |
kleink | Add an `-r' flag (which is a no-op) to meet XPG4.2 requirements.
|
| 1.7 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF
|
| 1.6 | 18-Oct-1996 |
thorpej | Implement a -c (Grand Total) option, a'la GNU du(1). From Luke Mewburn <lukem@telstra.com.au>, PR #2805.
|
| 1.5 | 04-Jan-1996 |
jtc | merge in change accidently made to release branch
|
| 1.4 | 28-Mar-1995 |
glass | Merged with 4.4lite
|
| 1.3 | 06-Aug-1993 |
mycroft | Incorporate new version using getbsize(), with -k flag added.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 28-Mar-1995 |
glass | Import from 4.4
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.17.2.1 | 17-May-2004 |
tron | Pull up revision 1.18 (requested by simonb in ticket #347): Add a "-n" flag that will ignore files/directories with the "nodump" flag set. Useful when used in conjunction with "dump -h" to size dumps. --
|
| 1.21.40.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.21.40.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.23.34.1 | 05-Sep-2019 |
martin | Pull up following revision(s) (requested by sevan in ticket #174): lib/libc/sys/chmod.2: revision 1.48 lib/libc/sys/stat.2: revision 1.59 lib/libc/sys/unlink.2: revision 1.30 lib/libc/sys/lseek.2: revision 1.25 lib/libc/sys/getuid.2: revision 1.18 lib/libc/sys/chown.2: revision 1.37 lib/libm/man/exp.3: revision 1.32 lib/libm/man/log.3: revision 1.7 lib/libc/sys/open.2: revision 1.60 lib/libc/stdio/fopen.3: revision 1.36 lib/libc/stdio/putc.3: revision 1.14 lib/libc/sys/mount.2: revision 1.51 share/man/man9/copy.9: revision 1.22 share/man/man9/uiomove.9: revision 1.20 lib/libc/sys/setuid.2: revision 1.23 lib/libc/sys/close.2: revision 1.18 sbin/init/init.8: revision 1.61 lib/libc/sys/write.2: revision 1.36 lib/libc/sys/read.2: revision 1.39 sbin/init/init.8: revision 1.62 lib/libc/sys/wait.2: revision 1.40 usr.bin/tty/tty.1: revision 1.10 lib/libc/sys/link.2: revision 1.33 usr.bin/du/du.1: revision 1.24 lib/libc/stdlib/exit.3: revision 1.17 usr.bin/su/su.1: revision 1.53 usr.bin/mail/mail.1: revision 1.66 lib/libc/sys/fork.2: revision 1.25 usr.bin/su/su.1: revision 1.54 usr.bin/mail/mail.1: revision 1.67 lib/libm/man/sin.3: revision 1.15 share/man/man9/intro.9: revision 1.26 share/man/man5/utmp.5: revision 1.17 lib/libc/compat-43/creat.3: revision 1.17 lib/libc/time/ctime.3: revision 1.61 lib/libcompat/4.1/stty.3: revision 1.10 usr.bin/dc/dc.1: revision 1.3 lib/libm/man/cos.3: revision 1.17 lib/libc/sys/chdir.2: revision 1.23 lib/libc/gen/exec.3: revision 1.30 lib/libc/gen/exec.3: revision 1.31 games/bcd/bcd.6: revision 1.18 games/bcd/bcd.6: revision 1.19 usr.bin/write/write.1: revision 1.7 usr.bin/wc/wc.1: revision 1.18 usr.bin/pr/pr.1: revision 1.24 usr.bin/who/who.1: revision 1.25 lib/libc/sys/mkdir.2: revision 1.30 lib/libc/stdio/getc.3: revision 1.13 usr.bin/sort/sort.1: revision 1.40 usr.bin/mesg/mesg.1: revision 1.11 share/man/man5/passwd.5: revision 1.34 sort was there since v1 https://www.bell-labs.com/usr/dmr/www/man61.pdf
dc was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
du was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
mail was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
mesg was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man13.pdf
su was in v1 https://www.bell-labs.com/usr/dmr/www/man13.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man13.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man14.pdf Update URL
write was in v1 https://www.bell-labs.com/usr/dmr/www/man14.pdf grammar
passwd(5) was in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf
utmp(5) was present in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf
Earliest version of wtmp I could find was in v3 https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5
Document history of chdir(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of chmod(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of chown(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
create was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of exec() Move statement on execlpe() & execvpe() to HISTORY section.
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
fork was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf stat() was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
document history of fstat() https://www.bell-labs.com/usr/dmr/www/man21.pdf
getuid was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
stty & gtty were around since v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf https://www.bell-labs.com/usr/dmr/www/man22.pdf
mount & umount were present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
Open was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
read was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
seek was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
setuid was in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
unlink was presen in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
wait was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
write was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
start documenting history exp was present in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf
Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf
Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf
log appeared in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf
putc & putw were in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf
putchar was in v4 https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3
Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf
Document history. https://www.bell-labs.com/usr/dmr/www/man11.pdf Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which version, hence I've skipped mentioning it. End sentence with a dot. Remove superfluous Pp. Remove superfluous Pp. Remove superfluous Ns. Remove superfluous Pp. fetch(9) -> ufetch(9) fetch(9) -> ufetch(9). Remove superfluous Pp. fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).
|
| 1.23.32.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.36 | 11-Mar-2012 |
shattered | PR/22405 -- extend du(1) to report inode usage. Patch provided by Jonathan Perkin.
OK by wiz@
|
| 1.35 | 01-Sep-2011 |
joerg | branches: 1.35.2; static + __dead
|
| 1.34 | 08-Jul-2010 |
rmind | Add #include <sys/param.h>
|
| 1.33 | 30-Jul-2008 |
dsl | Fix 'total' output from 'du -sc'. Simplify the change (adding -d<depth>) that broke it by noting that -d0 is supposed to be the same as -s. Calling fts_set(fts,p,FTS_SKIP) here is also pointless.
|
| 1.32 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
| 1.31 | 24-Sep-2006 |
wiz | branches: 1.31.18; Fix typo in usage.
|
| 1.30 | 23-Sep-2006 |
elad | PR/34220: Tyler Spivey: feature request: --max-depth for du
Thanks to Matt Fleming for porting the -d feature from FreeBSD!
|
| 1.29 | 10-May-2006 |
lukem | Add -n to the usage message. Noted by Maxim Konovalov <maxim@macomnet.ru>.
|
| 1.28 | 10-May-2006 |
skrll | Fix a bunch of cast lvalues.
|
| 1.27 | 30-Apr-2006 |
liamjfoy | Remove Pflag variable. its unused.
ok christos@
|
| 1.26 | 17-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations, constify; WARNS=3.
|
| 1.25 | 13-Jun-2004 |
dbj | Use open address hashtable with multiplicative double hash probing and exponential hashtable growth for tracking previously seen inodes. This replaces the O(n^2) behavior of linkchk() with an implementation that should be O(n*logn) This addresses NetBSD PR bin/25857
|
| 1.24 | 17-May-2004 |
simonb | Add a "-n" flag that will ignore files/directories with the "nodump" flag set. Useful when used in conjunction with "dump -h" to size dumps.
|
| 1.23 | 07-Aug-2003 |
agc | branches: 1.23.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.22 | 30-May-2003 |
simonb | Pass a NULL to getbsize() for any arguments that aren't needed, and remove the otherwise unused variables.
|
| 1.21 | 10-May-2003 |
simonb | If no files are specified on the command line, put { ".", NULL } in it's own little array instead of writing over argv. Fixes problems where du shows up in ps as ". fts_open `%s'" (and shorter or longer combinations of that depending in what argc was).
|
| 1.20 | 18-Apr-2003 |
grant | add -g for output in gigabytes.
|
| 1.19 | 28-Sep-2002 |
provos | forgot to remove local define of blocksize; noticed by Benedikt Meurer change totalblocks to int64 to prevent integer overflow.
|
| 1.18 | 27-Sep-2002 |
provos | human-readable output via -h flag. match output from Linux and other BSDs. Partly by Benedikt Meurer <bmeurer@fwdn.de>. approved by perry. closes pr 14687 and 18402.
|
| 1.17 | 04-Jan-2001 |
lukem | branches: 1.17.2; use %ll_ instead of the less standard %q_
|
| 1.16 | 30-Dec-2000 |
hubertf | Option similar to -k, only to use megabyte (1024**2) as display unit.
Patch contributed by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk> in PR 11848.
|
| 1.15 | 02-Apr-2000 |
simonb | Include -r flag in usage message.
|
| 1.14 | 15-Feb-1998 |
kleink | branches: 1.14.2; Add an `-r' flag (which is a no-op) to meet XPG4.2 requirements.
|
| 1.13 | 19-Oct-1997 |
mrg | fix compile warnings on the alpha.
|
| 1.12 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF
|
| 1.11 | 18-Oct-1996 |
thorpej | Implement a -c (Grand Total) option, a'la GNU du(1). From Luke Mewburn <lukem@telstra.com.au>, PR #2805.
|
| 1.10 | 28-Sep-1995 |
perry | Sync with 4.4BSD-Lite2
|
| 1.9 | 28-Mar-1995 |
glass | Merged with 4.4lite
|
| 1.8 | 30-Mar-1994 |
cgd | fix usage, and printing of size/name for files
|
| 1.7 | 27-Jan-1994 |
cgd | get rid of local err(); convert to err() and warn() as appropriate
|
| 1.6 | 25-Jan-1994 |
cgd | new definition of getbsize
|
| 1.5 | 13-Oct-1993 |
jtc | #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt declarations can be removed from <stdlib.h>.
|
| 1.4 | 06-Aug-1993 |
mycroft | Incorporate new version using getbsize(), with -k flag added.
|
| 1.3 | 06-Aug-1993 |
deraadt | because of fts library update
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Sep-1995 |
perry | imported from 44lite2
|
| 1.1.1.2 | 28-Mar-1995 |
glass | Import from 4.4
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.2.1 | 02-Apr-2000 |
he | Pull up revision 1.15 (requested by simonb): Include -r flag in usage message.
|
| 1.17.2.1 | 19-Jun-2003 |
grant | Apply patch (requested by simonb in ticket #1284):
If no files are specified on the command line, put { ".", NULL } in it's own little array instead of writing over argv. Fixes problems where du shows up in ps as ". fts_open `%s'" (and shorter or longer combinations of that depending in what argc was).
|
| 1.23.2.1 | 17-May-2004 |
tron | Pull up revision 1.24 (requested by simonb in ticket #347): Add a "-n" flag that will ignore files/directories with the "nodump" flag set. Useful when used in conjunction with "dump -h" to size dumps. --
|
| 1.31.18.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.35.2.1 | 17-Apr-2012 |
yamt | sync with head
|