Conky: discrepancy regarding file system "used space"

Forum rules
Before you post please read how to get help
Brian49
Level 5
Level 5
Posts: 611
Joined: Thu Oct 29, 2009 2:27 pm

Conky: discrepancy regarding file system "used space"

Postby Brian49 » Sat Mar 10, 2012 7:03 am

I wonder if anyone can help me solve a puzzle with Conky, please?

If I configure Conky to show "free space"/"file system size" for my main partition, I get this:

5.14GiB/6.75GiB

This implies that the "used space" is 1.61GiB.

But if I configure Conky to show "used space"/"file system size" I get this:

1.28GiB/6.75GiB

So there is a discrepancy of 0.33GiB between the two readings regarding the "used space". Of course it is no big deal, but I would be glad to know what is going on. I have googled the topic without result. Running LMDE Xfce. Many thanks.

User avatar
xenopeek
Level 23
Level 23
Posts: 19252
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Conky: discrepancy regarding file system "used space"

Postby xenopeek » Sat Mar 10, 2012 7:13 am

Moved here by moderator
Image

User avatar
Habitual
Level 12
Level 12
Posts: 4108
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio

Re: Conky: discrepancy regarding file system "used space"

Postby Habitual » Sat Mar 10, 2012 3:54 pm

I think this may be the difference between Gb and GiB

Gb typically is a "1000" bytes multiplier (sales/marketing)
and Gib is the correct/more accurate "1024" bytes multiplier.

but I could be wrong.

have a look ...
http://wintelguy.com/gb2gib.html
Windows assumes you're an idiot.
Linux demands proof of it.

Brian49
Level 5
Level 5
Posts: 611
Joined: Thu Oct 29, 2009 2:27 pm

Re: Conky: discrepancy regarding file system "used space"

Postby Brian49 » Sat Mar 10, 2012 4:07 pm

Thanks for responding, but I don't think that can be the answer, as all the readings are presumably based on the same system of units. And even if two systems were being used, that couldn't explain the difference between 1.28 and 1.61.


Return to “Compiz, Conky, Docks, & Widgets”

Who is online

Users browsing this forum: No registered users and 2 guests