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: Daniel Stavrovski <d <at> stavrovski.net>
To: 10967 <at> debbugs.gnu.org
Subject: bug#10967: Weird 'du' behavior. Bug in coreutils-8.15 ?
Date: Wed, 7 Mar 2012 18:46:09 -0600
[Message part 1 (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 2 (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.