Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
120gb hd shows up as 111.81 gb hd in gparted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
g3npirate
n00b
n00b


Joined: 23 Mar 2006
Posts: 48

PostPosted: Wed Jan 03, 2007 3:09 am    Post subject: 120gb hd shows up as 111.81 gb hd in gparted Reply with quote

i ran fdisk /dev/hdb and listed the partition table and got this :

disk /dev/hdb: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

device boot start end blocks id system
/dev/hdb 1 14596 117242338+ 83 Linux



after i saw this i ran gparted again and checked /dev/hdb, it says i only have a 111.81 gb drive, any good idea why so?
Back to top
View user's profile Send private message
drizek
n00b
n00b


Joined: 26 Jan 2006
Posts: 32
Location: Believe in America

PostPosted: Wed Jan 03, 2007 3:17 am    Post subject: Reply with quote

When they advertise the size of the hard drive, 1gb=1000mb. For the OS however, 1gb=1024mb.

This is perfectly normal.
_________________
Stand With Mittens
Back to top
View user's profile Send private message
broken_chaos
Guru
Guru


Joined: 18 Jan 2006
Posts: 370
Location: Ontario, Canada

PostPosted: Wed Jan 03, 2007 4:25 am    Post subject: Reply with quote

To elaborate using your fdisk byte count...

120060444672 * 1K/1024
=117246528K * 1M/1024K
=114498.5625M * 1G/1024M
=111.81500244140625G
~=111.8G
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum