[Top][All Lists]

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

Re: du bug

From: Jim Meyering
Subject: Re: du bug
Date: Sun, 22 Mar 2009 07:50:37 +0100

Eric Blake wrote:
> [please keep replies on the list, so that others may chime in]
> According to Robin McAdam on 3/21/2009 7:26 PM:
>>> That warning was in place to warn of a future change in behavior.  The
>>> change has now been completed, and you will not get that warning in
>>> coreutils 7.1.  But if I guessed wrong, then you will have to be more
>>> explicit on how what you posted shows a bug (that is, give us more
>>> details
>>> on what actually happened vs. what you expected to happen).
>> Documents\ and\ Settings/
>> is reported as both 1.5G  and 4.5G
> Thanks for calling attention to that.  From your original report,
> address@hidden:/mnt/160G-1$ du -s --si  * Documents\ and\ Settings/
> ...
> 4.5G    Documents and Settings
> ...
> 1.5G    Documents and Settings/
> I can explain why it is listed twice - you listed it twice on the command
> line (once via * without a trailing slash, and once and via explicit
> naming with the slash).  But I'm not sure why the two values are coming
> back differently.  Maybe an experiment on a smaller directory is in order?
>  Maybe someone else can point to something to look at?

Hard-linked files could explain that.
In that case, adding the --count-links (-l) option
would make the numbers match.

reply via email to

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