--- Begin Message ---
Subject: |
coreutils: du |
Date: |
Mon, 2 May 2011 17:38:21 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-ARCH; KDE/4.6.2; i686; ; ) |
Dear coreutils team,
I have coreutils 8.11 installed on my system via Arch Linux packages and have
experienced some unexpected behaviour of the "du" utility. When I execute
du -hs . .git
in a folder that contains some files and a subfolder named ".git" the output I
get is
194M .
The output I would expect is
194M .
97M .git
If I change the order of the arguments to read
du -hs .git .
I get the output
97M .git
97M .
which again is not the desired result and in fact wrong because the reported
size for '.' is 97M whereas a simple `du -hs .` reveals the size of '.' as
194M. It would be great if you could fix this bug or tell me what I did wrong
here. :)
Keep up your great work!
Greetings from Germany, Edgar Kalkowski
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#8606: Works in 8.5 but broken from 8.10 onwards |
Date: |
Mon, 02 May 2011 21:24:50 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 |
On 05/02/11 18:51, Debarshi Ray wrote:
> If this is indeed a bug, then I can try to cook a patch.
No, it's expected. In the NEWS file, it's the first bug
fix listed under coreutils 8.6.
--- End Message ---