Subject: bug#10456: bug in "du"

From: Lubomir Mateev <[email-masked]>
Date: Sun, 8 Jan 2012 12:20:14 +0200

root@thor:/# fdisk -l

Disk /dev/hda: 15.0 GB, 15000330240 bytes
255 heads, 63 sectors/track, 1823 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2cf88a69

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         499     4008186   83  Linux
/dev/hda2             500        1823    10635030    5  Extended
/dev/hda5             500         873     3004123+  83  Linux
/dev/hda6             874         998     1004031   83  Linux
/dev/hda7             999        1123     1004031   83  Linux
/dev/hda8            1124        1780     5277321   83  Linux
/dev/hda9            1781        1823      345366   82  Linux swap

---------------------------------------------------------------------------------------------------

du -h /usr/lib

<cut>
20K     /usr/lib/charset
4.0K    /usr/lib/nss_info
4.0K    /usr/lib/idmap
12K     /usr/lib/wvWare
4.0K    /usr/lib/perfcount
1.6M    /usr/lib/courier-imap/bin
48K     /usr/lib/courier-imap/share/man/man1
32K     /usr/lib/courier-imap/share/man/man8
84K     /usr/lib/courier-imap/share/man
100K    /usr/lib/courier-imap/share
176K    /usr/lib/courier-imap/sbin
4.0K    /usr/lib/courier-imap/var
236K    /usr/lib/courier-imap/libexec
4.0K    /usr/lib/courier-imap/etc/shared
4.0K    /usr/lib/courier-imap/etc/shared.tmp
68K     /usr/lib/courier-imap/etc
2.2M    /usr/lib/courier-imap
4.0K    /usr/lib/caca-sharp
9.5T    /usr/lib

root@thor:/# cat /etc/slackware-version
Slackware 13.0.0.0.0

root@thor:/# uname -a
Linux thor 2.6.23.1VIA #1 PREEMPT Sun Oct 14 14:07:26 EEST 2007 i686
Celeron (Coppermine) GenuineIntel GNU/Linux

root@thor:/# du --version
du (GNU coreutils) 8.4
Copyright (C) 2010 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.