You are not logged in.
Hi,
Different utilities show different disk usage:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 29G 8.0G 20G 29% /
none 474M 12K 474M 1% /dev/shm
/dev/sda3 261G 247G 971M 100% /home
Disk Space widget:
Home: 14.2 GiB
Root: 20.9 GiB
df results look more credible
Curiously, Root usage checks, more or less. Could it be something more subtle than a mere Disk Space widget bug?
Last edited by Llama (2009-06-13 06:49:55)
Offline
29G - 8G gives you 20.9GiB for root
261G -247G gives you 14.2 GiB for home
Offline
29G - 8G gives you 20.9GiB for root
261G -247G gives you 14.2 GiB for home
:D
Which indicator is useless, then? df or Disk Space?
Offline
Maybe both are working well (you need to know the math and conditions each program uses).
I would go with df though, if I'm not wrong it takes into account the reserved space for root that each partition usually has. Because a normal user can't access it it doesn't count as free space.
Maybe the Disk Space widget doesn't take that into account and gives you different results.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Use "command watch" widget with df, and you're done. Tweak it with awk to get some prettier look if you wish
Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox
Offline
Maybe both are working well (you need to know the math and conditions each program uses).
I would go with df though, if I'm not wrong it takes into account the reserved space for root that each partition usually has. Because a normal user can't access it it doesn't count as free space.Maybe the Disk Space widget doesn't take that into account and gives you different results.
You mean, in the range of gigabytes? Sounds funny.
Offline