<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFCCFF">
<font size="+2"><font face="Tahoma"><br>
Well when you are correct, Michael,<br>
you are correct. <br>
128 GB Flash Drive = 117.x GiB<br>
<br>
Bobbie<br>
</font></font><br>
<div class="moz-cite-prefix">On 1/14/19 10:44 PM, Michael Paoli
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20190114224406.90691ct38uzawda8@webmail.rawbw.com">Blame
it (mostly) on marketing - and consumers not demanding better.
<br>
<br>
I think you've got that also about bass ackwards.
<br>
<br>
128 GiB !~= 117 GB
<br>
It's more like the other way around:
<br>
128,000,000,000 bytes =~ 119.209289550781 GiB
<br>
<br>
<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Binary_prefix">https://en.wikipedia.org/wiki/Binary_prefix</a>
<br>
<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Metric_prefix">https://en.wikipedia.org/wiki/Metric_prefix</a>
<br>
<br>
And, why would marketing/sales do that? Because it "sounds"
<br>
bigger (but isn't) and cost them less to make (less bytes).
<br>
<br>
Let's look at the #s, and % comparing decimal to binary:
<br>
$ perl -e 'for(1..5){my $i=(10**3)**$_;my
$b=(2**10)**$_;print(join(q( ),$i,$b,$i*100/$b.q(%),),"\n",);};'
<br>
1000 1024 97.65625%
<br>
1000000 1048576 95.367431640625%
<br>
1000000000 1073741824 93.1322574615479%
<br>
1000000000000 1099511627776 90.9494701772928%
<br>
1000000000000000 1125899906842624 88.8178419700125%
<br>
$
<br>
<br>
You can also look at the exact size of the device using the
<br>
/sys filesystem ... though it will give you size in 512 byte
<br>
blocks:
<br>
$ (cd /sys/block && grep . /sys/block/sd[a-z]/size)
<br>
/sys/block/sda/size:4004704368
<br>
/sys/block/sdb/size:312581808
<br>
$
<br>
<br>
E.g., have a look at the drives on:
<br>
<a class="moz-txt-link-freetext" href="https://www.wiki.balug.org/wiki/doku.php?id=balug:offered_wanted_hardware_etc">https://www.wiki.balug.org/wiki/doku.php?id=balug:offered_wanted_hardware_etc</a>
<br>
And notice a particular pattern ...
<br>
what's marketed as 80GB is at or just a bit larger than
<br>
80*10^9 bytes, well short of 80*2^30 bytes.
<br>
Likewise for 1TB:
<br>
at or very slightly over 10^12 bytes, well short of 2^40 bytes,
<br>
etc.
<br>
<br>
That's also why the marketing materials tend to have their little
<br>
CYA *, e.g. stuff like:
<br>
1TB*
<br>
*TB=1,000,000,000,000 bytes
<br>
<br>
<blockquote type="cite">From: "Bobbie Sellers"
<a class="moz-txt-link-rfc2396E" href="mailto:bliss-sf4ever@dslextreme.com"><bliss-sf4ever@dslextreme.com></a>
<br>
Subject: [sf-lug] Want a large Flash Drive or a good sized SSD?
<br>
Date: Mon, 14 Jan 2019 10:45:22 -0800
<br>
</blockquote>
<br>
<blockquote type="cite"> Well the drives of course are not
quite as large as labeled
<br>
the 128 GiB USB Flash Drive comes in at 117.x Gigabytes but the
<br>
price is right.
<br>
I bet the 128 and 240 GiB drives come in below the
<br>
labeled size but the prices are good.
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
sf-lug mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sf-lug@linuxmafia.com">sf-lug@linuxmafia.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://linuxmafia.com/mailman/listinfo/sf-lug">http://linuxmafia.com/mailman/listinfo/sf-lug</a>
<br>
SF-LUG is at <a class="moz-txt-link-freetext" href="http://www.sf-lug.org/">http://www.sf-lug.org/</a>
</blockquote>
<br>
</body>
</html>