[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:
http://thread.gmane.org/gmane.comp.gnu.fileutils.bugs/881
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=ca6d256f125ea496cdb059a201f92f77f1ce0c69
--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.
- Re: du reports different results for ".", (continued)
- Re: du reports different results for ".", James Youngman, 2008/02/20
- Re: du reports different results for ".", Mike Frysinger, 2008/02/20
- Re: du reports different results for ".", Bauke Jan Douma, 2008/02/20
- Re: du reports different results for ".", Bauke Jan Douma, 2008/02/20
- Re: du reports different results for ".", Mike Frysinger, 2008/02/20
- Re: du reports different results for ".", Bauke Jan Douma, 2008/02/20
- Re: du reports different results for "." (proposed patch), Paul Eggert, 2008/02/20
- Re: du reports different results for "." (proposed patch), Bob Proulx, 2008/02/20
- Re: du reports different results for "." (proposed patch), Andreas Schwab, 2008/02/21
- Re: du reports different results for "." (proposed patch),
Jim Meyering <=
- Re: du reports different results for "." (proposed patch), Jim Meyering, 2008/02/21
- Re: du reports different results for "." (proposed patch), Andreas Schwab, 2008/02/21
- Re: du reports different results for "." (proposed patch), Andreas Schwab, 2008/02/21
- Re: du reports different results for "." (proposed patch), Paul Eggert, 2008/02/29
- Re: du reports different results for "." (proposed patch), Jim Meyering, 2008/02/21
Re: du reports different results for ".", Bob Proulx, 2008/02/20
du reports different results for ".", Richard Ems, 2008/02/20