Why so big?

Karl Larsen k5di at zianet.com
Sat May 17 15:31:51 UTC 2008


Karl Larsen wrote:
> Chris wrote:
>   
>> On Fri, 16 May 2008 05:38:19 -0600
>> Karl Larsen <k5di at zianet.com> wrote:
>>
>>   
>>     
>>> steve wrote:
>>>       

        The Disk Usage Analyser shows in Scan Filesystem that the root 
directroy of my 7.10 Ubuntu has a total of 18.6 GB of space. It shows 
that the partitions at /f7home is 9.8 GB and the one at /home is 6.2 GB. 
If you subtract home and f7home you get 2.6GB of space for the rest of 
the system. This is wrong.

        When I use df -h I get different numbers as follows. It shows 
f7home to be 15 GB and home is 19 GB. It shows the system to be 8.8 GB 
using 6.4 GB of the space.

        Fdisk shows the home partition to be 19.5 GB and the system is 
9.33 GB. This is more in line with df than DUA. With fdisk you can do a 
calculation from the entire hard disk for the one partition we are 
measuring. The hard drive has a total of 160 GB. It is made up of 255 
heads, 63 sectors/track, and 19457 cylinders. So a cylinder is 16065 * 
512 = 8225280 bytes.

        Looking at the partition with Ubuntu in it, starts with cylinder 
8962 and ends at 10123. This is 1161 cylinders that is 1161 * 8225280 
bytes =
9549550080 bytes. This is 9.55 GB.

         So how can you even think that Ubuntu can be in a 2.7 GB partition?

        The Disk Usage Analyser needs some work I think.
Karl

-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list