On 6/4/05, Arun Khan <[EMAIL PROTECTED]> wrote:
> Figure this one out.
> 
> /dev/hda6 is ~10GB per fdisk but 5.0GB per df (see below).
> 
> # fdisk -l
> Disk /dev/hda: 61.4 GB, 61492838400 bytes
> 255 heads, 63 sectors/track, 7476 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda6            3457        4673     9775521   83  Linux
> 
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda6             5.0G  1.9G  3.1G  38% /home


Where does fdisk say that the partition is 10GB? It says that the
partition contains 9775521 blocks. Each block is 512bytes, you get the
total size to be 5,005,066,752 or 5GB.

Thaths
-- 
   "Good things don't end in -eum; they end in -mania or -teria"
                                   -- Homer J. Simpson


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to