GNU bug report logs -
#10967
Weird 'du' behavior. Bug in coreutils-8.15 ?
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 09 Mar 2012 08:21:35 +0100
with message-id <8762eeme80.fsf <at> rho.meyering.net>
and subject line Re: bug#10967: Weird 'du' behavior. Bug in coreutils-8.15 ?
has caused the debbugs.gnu.org bug report #10967,
regarding Weird 'du' behavior. Bug in coreutils-8.15 ?
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
10967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10967
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
┌─[01:17:15]-[root <at> stavrovski]-[~]
└─› mkdir /tmp/another_test/ && for i in $(seq 1 20); do dd if=/dev/zero
of=/tmp/another_test/file-$i bs=1024 count=10240 ; done
┌─[01:17:17]-[root <at> stavrovski]-[~]
└─› ls -1 /tmp/another_test/* | wc -l
20
┌─[01:17:36]-[root <at> stavrovski]-[~]
└─› du -csxh /tmp/another_test/*
0 total
┌─[01:28:19]-[root <at> stavrovski]-[~]
└─› du --version
du (GNU coreutils) 8.15
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjörn Granlund, David MacKenzie, Paul Eggert,
and Jim Meyering.
┌─[01:39:04]-[root <at> stavrovski]-[~]
└─› cat /etc/issue
Arch Linux \r (\l)
┌─[01:39:22]-[root <at> stavrovski]-[~]
└─› pacman -Qs coreutils
local/coreutils 8.15-1 (base)
with coreutils-8.14 du is working as expected.
strace => http://pastebin.com/dPAKCNwF
--
An Educated Fool
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
Pádraig Brady wrote:
> On 03/08/2012 11:39 AM, Jim Meyering wrote:
>> Pádraig Brady wrote:
>>> On 03/08/2012 10:36 AM, Jim Meyering wrote:
>> ...
>>>> Subject: [PATCH] du: --one-file-system (-x) ignores non-directory arguments
>>>
>>> I find it a bit easier to parse if the summary describes
>>> the change rather than the bug. So something like:
>>>
>>> du: fix -x to include non-directory arguments
>>
>> Thanks for the quick feedback.
>>
>> I see your point, but prefer not to use "include", because that
>> might evoke du's --exclude or --exclude-from options.
>> How about this?
>>
>> du: fix -x: don't ignore non-directory arguments
>
> perfect
With that, I pushed yesterday and am closing the ticket now.
This bug report was last modified 13 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.