bug-coreutils
[Top][All Lists]
Advanced

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

Re: du bug


From: Micah Cowan
Subject: Re: du bug
Date: Sat, 21 Mar 2009 23:23:56 -0700
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

It's a small thing, and may be just a red herring, but I'd be curious
whether there's a difference in reported size for with and without a
trailing slash; since he explicitly gave it with a slash, and the *
would've given it without (as seen above), it might be interesting to
see if there are different results between those two.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknF2XwACgkQ7M8hyUobTrFs0ACdFg4O1ayh2ZyQe0LpQm06IU+d
IhUAnjPKotaOMM7Blt170xl+Wthv5lnJ
=UqoH
-----END PGP SIGNATURE-----




reply via email to

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