LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-26-2009, 05:14 PM   #1
vofka
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
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:46 AM.

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