Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 19:17:26 +0200
From:      Wilko Bulte <wb@freebie.xs4all.nl>
To:        Alexey Dokuchaev <danfe@regency.nsu.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: strtonum(3) in FreeBSD?
Message-ID:  <20050416171726.GA27283@freebie.xs4all.nl>
In-Reply-To: <20050416165000.GA69374@regency.nsu.ru>
References:  <4261185D.1060202@gamersimpact.com> <13591.1113660644@bizet.nethelp.no> <20050416165000.GA69374@regency.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 16, 2005 at 11:50:00PM +0700, Alexey Dokuchaev wrote..
> On Sat, Apr 16, 2005 at 04:10:44PM +0200, sthaug@nethelp.no wrote:
> > > > K may so be 1024, but M may not, because M must be 1000000,
> > > > always. SI prefices are the same among all units.
> > > 
> > > When talking about digital data storage K means times 2^10, M means 
> > > times 2^20, G means 2^30 and T means 2^40.
> > > 
> > > 1K = 1 * 2^10 bytes = 1024 bytes
> > > 1M = 1 * 2^20 bytes = 1048576 bytes
> > > 1G = 1 * 2^30 bytes = 1073741824 bytes
> > 
> > The disk drive manufacturers seem to disagree with you. For instance
> > Seagate:
> > 
> > http://www.seagate.com/products/discselect/glossary/index.html#cap
> > 
> > "Most disc drive companies, including Seagate, calculate disc capacity
> > based on the assumption that 1 megabyte = 1000 kilobytes and 1
> > gigabyte=1000 megabytes."
> 
> So their drives look bigger than they really are.  Duh!

Whether you like it or not, this is pretty much the industry standard
in the storage industry.  Not much option but to get used to it..

-- 
Wilko Bulte				wilko@FreeBSD.org



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