On 04/06/05, Thaths <[EMAIL PROTECTED]> wrote: > 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.
Doesn't it also say that the partition starts at cylinder 3457 and ends at cylinder 4673 - ie, spans 1217 cylinders each of 8225280 bytes, for a total of approximately 10 GB? Binand ------------------------------------------------------- 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
