GNOME Bugzilla – Bug 416548
baobab displays wrong totals after scanning FS
Last modified: 2007-03-11 13:39:17 UTC
The bug has been opened on https://launchpad.net/ubuntu/+source/gnome-utils/+bug/89223 "Binary package hint: gnome-utils Feisty up-to-date (Friday March 02 2007) gnome-utils 2.17.92-0ubuntu1 ran baobab, and requested a scan of the fs. It resulted in the root wrongly being shown red. See the attached screenshots. df -k output: # df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda5 2096380 270844 1825536 13% / varrun 771164 268 770896 1% /var/run varlock 771164 4 771160 1% /var/lock procbususb 771164 208 770956 1% /proc/bus/usb udev 771164 208 770956 1% /dev devshm 771164 0 771164 0% /dev/shm /dev/mapper/hda3 96376 63132 33244 66% /boot /dev/mapper/system-home 7339804 2563108 4776696 35% /home /dev/mapper/system-opt 6291260 1589792 4701468 26% /opt /dev/mapper/system-server 12582524 8587956 3994568 69% /srv /dev/mapper/system-tmp 2097084 33304 2063780 2% /tmp /dev/mapper/system-usr 7339804 5394292 1945512 74% /usr /dev/mapper/system-source 9436892 4716484 4720408 50% /usr/src /dev/mapper/system-var 4194172 1459036 2735136 35% /var /dev/sda1 199135612 53325740 145809872 27% /media/disk Notice that /dev/sda1 (last line of the df output) is 27% full. http://librarian.launchpad.net/6599605/baobab.png Summary display after scan http://librarian.launchpad.net/6599606/baobab-2.png display expanding /media one level"
I don't see anything wrong here. Baobab is a tool to scan either the whole filesystem or a single folder. The percentage bars represent the usage percentage of the folder with ref to his father. This means that the root of the tree is always represented as 100%, then its leaves will indicate the percentage of used space "within" the root folder. The total used/free/available space of the mounted filesystem is always shown in the first label of the window, and in next release you will also have all used/available space shown for each mounted device.