GNU bug report logs - #10967
Weird 'du' behavior. Bug in coreutils-8.15 ?

Previous Next

Package: coreutils;

Reported by: Daniel Stavrovski <d <at> stavrovski.net>

Date: Thu, 8 Mar 2012 00:50:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Stavrovski <d <at> stavrovski.net>
Subject: bug#10967: closed (Re: bug#10967: Weird 'du' behavior. Bug in
 coreutils-8.15 ?)
Date: Fri, 09 Mar 2012 07:23:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10967: Weird 'du' behavior. Bug in coreutils-8.15 ?

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10967 <at> debbugs.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)]
From: Jim Meyering <jim <at> meyering.net>
To: 10967-done <at> debbugs.gnu.org
Subject: Re: bug#10967: Weird 'du' behavior. Bug in coreutils-8.15 ?
Date: Fri, 09 Mar 2012 08:21:35 +0100
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.

[Message part 3 (message/rfc822, inline)]
From: Daniel Stavrovski <d <at> stavrovski.net>
To: bug-coreutils <at> gnu.org
Subject: Weird 'du' behavior. Bug in coreutils-8.15 ?
Date: Wed, 7 Mar 2012 18:46:09 -0600
[Message part 4 (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 5 (text/html, inline)]

This bug report was last modified 13 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.