Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-26-2009, 05:14 PM   #1
LQ Newbie
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Rep: Reputation: 15
Question fdisk partition table representation

Hello! Can anybody give me the answer on the following question:
I have the disk partition size 1G or 1024MB
But when i run the fdisk its receive the following info:
fdisk -l
Disk /dev/hdd: 1073 MB,1073741824 bytes
As i understand this is another representation of the 1024 value in another counting system. Please explain me how its calculates, what is it a system?
Old 06-26-2009, 05:19 PM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,781
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
1024*1024*1024=1073741824 bytes
It has to do with K standing for kilo, which is 1000 base 10, but 1024 or 2^10 for KB; same with MB for megabytes and GB for gigabytes...

Last edited by mostlyharmless; 06-26-2009 at 05:21 PM.
Old 06-26-2009, 07:09 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Kilo to normal people means 10^3 or 1000

Computer people are not normal--they evolved with two toes on each foot, and can only count in base two. But they WANT to be normal, so they tried to get as close as possible. The figured out that 2^9.9658 was VERY close, but then they discovered that they could not make the CPU do non-integer exponentiation. Sadly, they had to settle for 2^10 = 1024.

Life is full of compromises........
Old 06-27-2009, 03:20 PM   #4
LQ Newbie
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Original Poster
Rep: Reputation: 15
I understood! Thank you for reply!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fdisk - invalid DOS partition table... hjogoo Linux - Hardware 12 01-21-2009 11:08 PM
Hosed partition table with fdisk. Any way to restore from memory? Vanyel Linux - Server 7 10-08-2008 03:06 PM
fdisk will not write partition table winter_wizzerd Slackware 5 01-06-2007 11:08 AM
fdisk said my HD didn't have valid partition table??? bombman Linux - Newbie 6 08-28-2006 11:53 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration