Re: du reports different results for "." (proposed patch)
From:
Andreas Schwab
Subject:
Re: du reports different results for "." (proposed patch)
Date:
Thu, 21 Feb 2008 11:21:39 +0100
User-agent:
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)
Jim Meyering <address@hidden> writes:
> address@hidden (Bob Proulx) wrote:
>> This doesn't seem a particularly satisfying result as it doesn't seem
>> like a reasonable outcome.
>
> Have you looked at the --count-links option?
>
> -l, --count-links count sizes many times if hard linked
That goes too far. What I would naïvely expect is that "du -s a b" and
"du -s a; du -s b" produces the same output.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."