[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: du reports different results for "." (proposed patch)

From: Jim Meyering
Subject: Re: du reports different results for "." (proposed patch)
Date: Thu, 21 Feb 2008 11:01:11 +0100

Andreas Schwab <address@hidden> wrote:
> address@hidden (Bob Proulx) writes:
>> Fun how the total directory size just keeps getting smaller and
>> smaller.  With enough hard links the directory has disappeared!  I
>> will add this to my list of stupid filesystem tricks.
>> This doesn't seem a particularly satisfying result as it doesn't seem
>> like a reasonable outcome.
> Perhaps we should reset the list of encountered hard links with every
> file argument?

du used to do that in some cases, but I changed it a few years ago:


--count-links makes it count *all* hard links,
even the ones in the same command-line-specified directory.

If people think this is important/useful enough
it might deserve a new option.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]