If one creates a sparse file on a directory whith:
dd if=/dev/zero bs=1k count=1 seek=1M of=sparse-file
filelight says a lot of disk space is used on that dir... but this is false:
$ ls -l sparse-file
-rw-r--r-- 1 ..... ..... 1073742848 2004-02-02 22:28 sparse-file
$ du -h sparse-file
4,0K sparse-file
even worse if the same file has lots of links... after
$ ln sparse-file sparse-file.link
filelight thinks this directory uses 2Gb on disk, while...
$ ls -l
totale 8
-rw-r--r-- 2 bodrato bodrato 1073742848 2004-02-02 22:28 sparse-file
-rw-r--r-- 2 bodrato bodrato 1073742848 2004-02-02 22:28 sparse-file.link
bodrato@debian:~/prova$ du -h
4,5K .
... it uses less than 5Kb
I think this bug is upstream's...
Thank's,
Marco