GNU bug report logs -
#6544
Fwd: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Rus.
Previous Next
Reported by: aureliano <at> pochtamt.ru
Date: Wed, 30 Jun 2010 17:58:02 UTC
Severity: normal
Tags: notabug
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6544 in the body.
You can then email your comments to 6544 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#6544
; Package
coreutils
.
(Wed, 30 Jun 2010 17:58:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
aureliano <at> pochtamt.ru
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 30 Jun 2010 17:58:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
----- forwarded letter begin -----
Date: Wed, 30 Jun 2010 21:11:33 +0400
From: aureliano <at> pochtamt.ru
Subject: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Rus.
To: fileutils-bugs <at> gnu.ai.mit.edu
Hello.
Send to you interest listing from my console
+---
$ du -s ~/.aMule
20129448 /home/aureliano/.aMule
$ du -sh ~/.aMule
20G /home/aureliano/.aMule
$ du -bs ~/.aMule
126440165670 /home/aureliano/.aMule
$ df -h
Файловая система Разм Исп Дост Исп% смонтирована на
[...skip...]
/dev/sda5 33G 28G 2,9G 91% /home
$ du --version
du (GNU coreutils) 7.4
Copyright (C) 2009 Free Software Foundation, Inc.
Лицензия GPLv3+: GNU GPL версии 3 или более поздней .
Это свободное программное обеспечение: вы можете свободно изменять и распространять его.
Программное обеспечение распространяется без гарантии в максимальной степени разрешенной законодательством .
Авторы программы -- Torbjrn Granlund, David MacKenzie, Paul Eggert
и Jim Meyering.
$ uname -a
Linux extensa5220 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010 i686 GNU/Linux
+---
But 126440165670 bytes == 123.476.724,287 kb == 117,757 Gb != 20G (du -sh) > 33G (df, full size of partition). :-)
Best regards. Aureliano.
----- forwarded letter end -----
[Message part 2 (text/html, inline)]
Information forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#6544
; Package
coreutils
.
(Wed, 30 Jun 2010 18:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 6544 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 06/30/2010 11:41 AM, aureliano <at> pochtamt.ru wrote:
Hello, and thanks for taking the time to write.
> $ du --version
> du (GNU coreutils) 7.4
Consider upgrading; the latest stable version is 8.5. However, that is
unlikely to be related to your problem.
>
> 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
--
Eric Blake eblake <at> redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#6544
; Package
coreutils
.
(Wed, 30 Jun 2010 19:35:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 6544 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello!
>> 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)?
Best regards. Aureliano.
On 06/30/2010 22:03:25, "Eric Blake" wrote:
On 06/30/2010 11:41 AM, aureliano <at> pochtamt.ru wrote:
Hello, and thanks for taking the time to write.
> $ du --version
> du (GNU coreutils) 7.4
Consider upgrading; the latest stable version is 8.5. However, that is
unlikely to be related to your problem.
>
> 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
--
Eric Blake eblake <at> redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
[Message part 2 (text/html, inline)]
Added tag(s) notabug.
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Tue, 31 May 2011 21:01:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
6544 <at> debbugs.gnu.org and aureliano <at> pochtamt.ru
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Tue, 31 May 2011 21:01:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 29 Jun 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.