Subject: Re: bug#6544: Re: bug#6544: Fwd: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10

From: Jim Meyering <[email-masked]>
Date: Tue, 31 May 2011 23:00:09 +0200

tags 6544 + notabug
close 6544
thanks

[email-masked] wrote:
>>> But 126440165670 bytes == 123.476.724,287 kb == 117,757 Gb != 20G (du -sh) > 33G (df, full size of partition). :-)
>
>> Most likely, you are not seeing a bug, but the effect of hard links and
>> sparse files.
>> http://www.gnu.org/software/coreutils/faq/#df-and-du-report-different-information
>> http://www.gnu.org/software/coreutils/faq/#df-Size-and-Used-and-Available-do-not-add-up
>
> Yes, probably you are right at the expense of sparse files, because
> the sum of the sizes issued utility ls close to the amount issued by a
> du -b. But why the du without the keys, like to du -k, du -m and du -h
> gives the correct size (without sparse)?

Good to see it's resolved.
I've closed this issue.