Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 13:22:24 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Travis Poppe <tlp@liquidx.org>
Cc:        freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Re: Harddrive size being reported incorrectly?
Message-ID:  <20051229192224.GC63497@over-yonder.net>
In-Reply-To: <200512291202.51955.tlp@liquidx.org>
References:  <200512291202.51955.tlp@liquidx.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 29, 2005 at 12:02:51PM -0700 I heard the voice of
Travis Poppe, and lo! it spake thus:
> 
> reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a
> 305245MB (or 298GB drive) in two separate machines. When it has
> finally been formatted for use, I get 289GB of available space.
> 
> Now, I understand that harddrive manufacturers measure things
> differently (1000kbytes per gbyte rather than 1024, or something
> like that) than expected, but I've been told by a few people that I
> should be getting around 305-312GB of available space after the
> drive has been formatted. 

Don't be told.  Do the math.

320,000,000,000 bytes (hard drive manufacturer 'gigabytes'), divided
by 1024 gives 312,500,000 kbytes, divided by 1024 gives 305,175.8
mbytes, divided by 1024 gives 298.023 gbytes according to a quick
dc(1).


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051229192224.GC63497>