Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 22:30:01 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r227164 - head/usr.bin/du
Message-ID:  <20111106223001.GA91996@freebsd.org>
In-Reply-To: <20111106215630.GQ2258@hoeg.nl>
References:  <201111060815.pA68FIvC008341@svn.freebsd.org> <20111106204619.GA76768@freebsd.org> <20111106215630.GQ2258@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun Nov  6 11, Ed Schouten wrote:
> Hi Alexander,
> 
> * Alexander Best <arundel@freebsd.org>, 20111106 21:46:
> > this diff was flying around in my /usr/src, which makes some code a bit more
> > readable. maybe this is something worth having in HEAD?
> 
> Looks good. It seems we can also get rid of the `listall' variable here.
> The rest of the code also uses the `*flag' variables, so there's no
> reason why we can't just use `aflag'. Does this patch look good to you?

loking good. :)

i also found this man page update.

cheers.
alex

> 
> -- 
>  Ed Schouten <ed@80386.nl>
>  WWW: http://80386.nl/





--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="du.1.diff"

diff --git a/usr.bin/du/du.1 b/usr.bin/du/du.1
index ef8b5ac..f85cdf3 100644
--- a/usr.bin/du/du.1
+++ b/usr.bin/du/du.1
@@ -28,7 +28,7 @@
 .\"	@(#)du.1	8.2 (Berkeley) 4/1/94
 .\" $FreeBSD$
 .\"
-.Dd November 6, 2008
+.Dd November 6, 2011
 .Dt DU 1
 .Os
 .Sh NAME
@@ -65,7 +65,9 @@ Calculate block counts in
 .Ar blocksize
 byte blocks.
 This is different from the
-.Fl k, m
+.Fl k
+and
+.Fl m
 options or setting
 .Ev BLOCKSIZE
 and gives an estimate of how much space the examined file hierarchy would
@@ -154,6 +156,25 @@ or
 .Fl L
 options are specified, storage used by any symbolic links which are
 followed is not counted or displayed.
+.Pp
+The
+.Fl a, d
+and
+.Fl s
+options are mutually exclusive.
+.Pp
+The
+.Fl H, L
+and
+.Fl P
+options are mutually exclusive.
+.Pp
+The
+.Fl h, k
+and
+.Fl m
+options all override each other; the last one specified determines
+the block count used.
 .Sh ENVIRONMENT
 .Bl -tag -width BLOCKSIZE
 .It Ev BLOCKSIZE

--8t9RHnE3ZwKMSgU+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111106223001.GA91996>