2 .\" Copyright (C) 2001 Andries Brouwer <aeb@cwi.nl>
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
26 .\"*******************************************************************
28 .\" This file was generated with po4a. Translate the source file.
30 .\"*******************************************************************
31 .TH UNITS 7 2012\-08\-05 Linux "Linux Programmer's Manual"
33 units, kilo, kibi, mega, mebi, giga, gibi \- 10 進および 2 進の接頭語
36 SI 単位系では 10 の累乗を示す接頭語を用いる。 キロメートルは 1000 メートル、メガワットは 1000000 ワットである。
42 y ヨクト(yocto) 10^\-24 = 0.000000000000000000000001
43 z ゼプト(zepto) 10^\-21 = 0.000000000000000000001
44 a アト(atto) 10^\-18 = 0.000000000000000001
45 f フェムト(femto) 10^\-15 = 0.000000000000001
46 p ピコ(pico) 10^\-12 = 0.000000000001
47 n ナノ(nano) 10^\-9 = 0.000000001
48 \(mc マイクロ(micro) 10^\-6 = 0.000001
49 m ミリ(milli) 10^\-3 = 0.001
50 c センチ(centi) 10^\-2 = 0.01
51 d デシ(deci) 10^\-1 = 0.1
52 da デカ(deka) 10^ 1 = 10
53 h ヘクト(hecto) 10^ 2 = 100
54 k キロ(kilo) 10^ 3 = 1000
55 M メガ(mega) 10^ 6 = 1000000
56 G ギガ(giga) 10^ 9 = 1000000000
57 T テラ(tera) 10^12 = 1000000000000
58 P ペタ(peta) 10^15 = 1000000000000000
59 E エクサ(exa) 10^18 = 1000000000000000000
60 Z ゼタ(zetta) 10^21 = 1000000000000000000000
61 Y ヨタ(yotta) 10^24 = 1000000000000000000000000
65 マイクロの記号はギリシャ文字のμであるが、 ASCII でテキストが記述されていて、ギリシャ文字が使えない場合は u と書かれることが多い。
69 .UR http://physics.nist.gov\:/cuu\:/Units\:/prefixes.html
73 2 進の接頭語は 10 進の接頭語と似ているが、後ろに \(aqi\(aq が付く (また "Ki" については大文字の \(aqK\(aq)
74 で始まる)。 名前は、だいたい同じくらいの 10 進接頭語の最初の音節に、 2 進数であることを意味する "bi" を足したものになる。
79 Ki キビ(kibi) 2^10 = 1024
80 Mi メビ(mebi) 2^20 = 1048576
81 Gi ギビ(gibi) 2^30 = 1073741824
82 Ti テビ(tebi) 2^40 = 1099511627776
83 Pi ペビ(pebi) 2^50 = 1125899906842624
84 Ei エクシビ(exbi) 2^60 = 1152921504606846976
90 .UR http://physics.nist.gov\:/cuu\:/Units\:/binary.html
93 これらの 2 進の接頭語が導入される前は、 k=1000 と K=1024 のように使うのが割に良く知られた習慣だった (b=ビット、B=バイト
94 の関係に似ている)。 残念ながら M は最初から大文字なので、 2 進であることを示すためにさらに大文字にすることはできなかった。
96 当初はこのことはあまり大きな問題ではなかった。 なぜならメモリモジュールやディスクは 2 の累乗になるものだったので、
97 皆そのようなところでは「キロバイト」を 1024 バイト、 「メガバイト」を 1048576 バイトであるとみなしていたからである。
98 最初は接頭語の「キロ」とか「メガ」を曖昧に援用していたのだが、 そのうちコンピュータに関連する話題では、こちらが「実際の意味」になっていった。
99 しかしその後ディスクのテクノロジーが代わり、 ディスクサイズは任意の数値をとるようになった。 どっちつかずの時期がしばらく続いたあと、
100 ディスクのメーカーすべてが、標準を使うことに合意した。 すなわち k=1000, M=1000k, G=1000M である。
102 .\" also common: 14.4k modem
103 状況はひどくなった。14.4k モデムでは k=1000, 1.44MB フロッピーでは M=1024000 になった。 1998 年に、IEC
104 は上記のような 2 進用の接頭語を承認し、 これによって両者をはっきり区別することが可能になった。
106 したがって今日では、MB=1000000B で、MiB = 1048576B なのである。
108 フリーソフトウェアの世界でも、 プログラムたちはゆっくりとこれらに準拠してきている。 Linux カーネルは、ブートすると次のようなメッセージを出す。
112 hda: 120064896 sectors (61473 MB) w/2048KiB Cache
116 MB はメガバイトで、KiB はキビバイトである。
118 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
119 である。プロジェクトの説明とバグ報告に関する情報は
120 http://www.kernel.org/doc/man\-pages/ に書かれている。