1 |
On Fri, 13 Oct 2006, gentuxx wrote: |
2 |
|
3 |
> > What size is the drive? If it's over about 130GB, you could be |
4 |
> > running into a problem with the archaic IDE controller on that |
5 |
> > Ultra 5. |
6 |
> |
7 |
> It's 120GB. Solaris "sees" 114GB. |
8 |
|
9 |
It's the old question: is a "megabyte" 2^20 bytes or 10^6 bytes? |
10 |
Marketers like base 10 because they can report bigger megabyte counts |
11 |
on their hard drives, but many engineers still see everything in base |
12 |
2. |
13 |
|
14 |
Hard drives, even in sizes greater than 100G, are still measured in |
15 |
megabytes. So a drive with 1200 base-10 megabytes (120G) only counts |
16 |
as 1144 base-2 megabytes (114G). |
17 |
|
18 |
(1200*(10^6))/(2^20) = 1144 |
19 |
|
20 |
The disparity is even wider if you do battle at the next level up: is |
21 |
a gigabyte 2^30 or 10^9? In that case, the 120G HD is only 111G: |
22 |
|
23 |
(120*(10^9))/(2^30) = 111 |
24 |
|
25 |
Reminds me of Tom Lehrer's semi-classic "New Math": |
26 |
|
27 |
Now, that actually is not the answer that I had in mind, because |
28 |
the book that I got this problem out of wants you to do it in |
29 |
base eight. But don't panic! Base eight is just like base ten |
30 |
really - if you're missing two fingers! Shall we have a go at |
31 |
it? Hang on... |
32 |
|
33 |
-- |
34 |
Paul Heinlein <> heinlein@××××××.com <> www.madboa.com |
35 |
-- |
36 |
gentoo-sparc@g.o mailing list |