sysinfo hard disk calculation

Dear all,
the following screenshot is from the sysinfo:/ in kde.
ImageShack® - Online Photo and Video Hosting
as you can see the sysinfo gives there that 312 gb are used while a simple
bash commant (with root permissions)

does not agree on that

host:/ # du -hs /home/
243G    /home/


Is there any good explanation for that?

I would like to thank you in advance for your reply

Regards
Alex

Well, du gives you the amount of bytes used by files. But there is more on a file system like inodes. There may also be sparse files.

As you say, a simple command will give you the info. In this case, I even would prefer

df /home

Why use such a tool to keep GUI users satisfied when, as system manager, you have commands available?

df /home
Filesystem      1K-blocks      **Used**  Available Use% Mounted on
/dev/sda5      1532493040 **254762580** 1199884292  18% /home


On 2013-03-28 13:06, alaios wrote:
>
> Code:
> --------------------
> df /home
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sda5 1532493040 254762580 1199884292 18% /home
>
>
> --------------------

254762580 bytes is 242,9 GiB, the same as du says (for “du” G is GiB,
and GB is GB, ie, multiples of 10. They have not adapted to current
measurement unit specifications.

I have no explanation on why the GUI says different, but I don’t use
GUIs for these things, even less KDE.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

sysinfo is deprecated for the reasons you have encountered; use kinfocenter instead.