Update. This bug exists in du. I should add this is a virtualbox mounted folder shared from the local host. However Nautilus and ls has the sizes correct so I don't think it matters that it is a virtualbox mount.
rro...@u910:/media/mediazone$ uname -a Linux u910 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:23 UTC 2009 x86_64 GNU/Linux Du reports wrong size rro...@u910:/media/mediazone$ du -sh 2009.TriNations/ 767M 2009.TriNations/ Nautilus /media/mediazone 10 items, totalling 6.0 GB Windows 7 D:\Mediazone\2009.TriNations 5.98 GB (6,425,764,846 bytes) My own C code I wrote to tally: rro...@u910:~/Desktop$ ./myDu /media/mediazone/2009.TriNations/ 6.0G /media/mediazone/2009.TriNations/ rro...@u910:/media/mediazone$ sudo aptitude show coreutils | grep Version Version: 7.4-2 Filesizes wrong with du: rro...@u910:~/Desktop$ du -shL /media/mediazone/2009.TriNations/* 130M /media/mediazone/2009.TriNations/090912_NZvSA.wmv 117M /media/mediazone/2009.TriNations/2009.Tri.Nations.Game.2.South.Africa.vs.New.Zealand.Bloemfontein 110M /media/mediazone/2009.TriNations/e-090919_NZvAUS.wmv 131M /media/mediazone/2009.TriNations/Rugby-(Tri Nations 2009_ South Africa vs. Australia)-2009-08-08-0.mkv 149M /media/mediazone/2009.TriNations/Rugby-(Tri Nations 2009_ South Africa vs. New Zealand)-2009-08-01-0.mkv 132M /media/mediazone/2009.TriNations/Rugby.Union.Tri.Nations.2009.Australia.v.New.Zealand.20090822.Sky.NZ.mp4 Filesizes correct with ls: rro...@u910:~/Desktop$ ls -lh /media/mediazone/2009.TriNations/ total 650M -rwxrwxrwx 1 root root 1.1G 2009-09-12 20:26 090912_NZvSA.wmv drwxrwxrwx 1 root root 4.0K 2009-07-27 18:19 2009.Tri.Nations.Game.2.South.Africa.vs.New.Zealand.Bloemfontein -rwxrwxrwx 1 root root 876M 2009-09-20 09:17 e-090919_NZvAUS.wmv -rwxrwxrwx 1 root root 1.1G 2009-08-08 20:06 Rugby-(Tri Nations 2009_ South Africa vs. Australia)-2009-08-08-0.mkv -rwxrwxrwx 1 root root 1.2G 2009-08-02 13:44 Rugby-(Tri Nations 2009_ South Africa vs. New Zealand)-2009-08-01-0.mkv -rwxrwxrwx 1 root root 1.1G 2009-08-25 13:44 Rugby.Union.Tri.Nations.2009.Australia.v.New.Zealand.20090822.Sky.NZ.mp4 -- coreutils: du(1) doesn't summarize correctly https://bugs.launchpad.net/bugs/416981 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
