OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man7 / units.7
1 .\" t
2 .\" Copyright (C) 2001 Andries Brouwer <aeb@cwi.nl>
3 .\"
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.
8 .\"
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.
13 .\"
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
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .\"
32 .\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
33 .\" Translated Wed 2 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
34 .\"
35 .TH UNITS 7 2012\-08\-05 Linux "Linux Programmer's Manual"
36 .SH 名前
37 units, kilo, kibi, mega, mebi, giga, gibi \- 10 進および 2 進の接頭語
38 .SH 説明
39 .SS "10 進の接頭語"
40 SI 単位系では 10 の累乗を示す接頭語を用いる。 キロメートルは 1000 メートル、メガワットは 1000000 ワットである。
41 次に標準的な接頭語を示す。
42 .RS
43 .TS
44 l l l.
45 接頭語       名前  値
46 y       ヨクト(yocto)        10^\-24 = 0.000000000000000000000001
47 z       ゼプト(zepto)        10^\-21 = 0.000000000000000000001
48 a       アト(atto)    10^\-18 = 0.000000000000000001
49 f       フェムト(femto)     10^\-15 = 0.000000000000001
50 p       ピコ(pico)    10^\-12 = 0.000000000001
51 n       ナノ(nano)    10^\-9  = 0.000000001
52 \(mc    マイクロ(micro)     10^\-6  = 0.000001
53 m       ミリ(milli)   10^\-3  = 0.001
54 c       センチ(centi)        10^\-2  = 0.01
55 d       デシ(deci)    10^\-1  = 0.1
56 da      デカ(deka)    10^ 1  = 10
57 h       ヘクト(hecto)        10^ 2  = 100
58 k       キロ(kilo)    10^ 3  = 1000
59 M       メガ(mega)    10^ 6  = 1000000
60 G       ギガ(giga)    10^ 9  = 1000000000
61 T       テラ(tera)    10^12  = 1000000000000
62 P       ペタ(peta)    10^15  = 1000000000000000
63 E       エクサ(exa)  10^18  = 1000000000000000000
64 Z       ゼタ(zetta)   10^21  = 1000000000000000000000
65 Y       ヨタ(yotta)   10^24  = 1000000000000000000000000
66 .TE
67 .RE
68
69 マイクロの記号はギリシャ文字のμであるが、 ASCII でテキストが記述されていて、ギリシャ文字が使えない場合は u と書かれることが多い。
70 以下も参考にしてほしい。
71 .sp
72 .RS
73 .UR http://physics.nist.gov\:/cuu\:/Units\:/prefixes.html
74 .UE
75 .RE
76 .SS "2 進の接頭語"
77 2 進の接頭語は 10 進の接頭語と似ているが、後ろに \(aqi\(aq が付く (また "Ki" については大文字の \(aqK\(aq)
78 で始まる)。 名前は、だいたい同じくらいの 10 進接頭語の最初の音節に、 2 進数であることを意味する "bi" を足したものになる。
79 .RS
80 .TS
81 l l l.
82 接頭語       名前  値
83 Ki      キビ(kibi)    2^10 = 1024
84 Mi      メビ(mebi)    2^20 = 1048576
85 Gi      ギビ(gibi)    2^30 = 1073741824
86 Ti      テビ(tebi)    2^40 = 1099511627776
87 Pi      ペビ(pebi)    2^50 = 1125899906842624
88 Ei      エクシビ(exbi)      2^60 = 1152921504606846976
89 .TE
90 .RE
91
92 関連項目
93 .sp
94 .UR http://physics.nist.gov\:/cuu\:/Units\:/binary.html
95 .UE
96 .SS 考察
97 これらの 2 進の接頭語が導入される前は、 k=1000 と K=1024 のように使うのが割に良く知られた習慣だった (b=ビット、B=バイト
98 の関係に似ている)。 残念ながら M は最初から大文字なので、 2 進であることを示すためにさらに大文字にすることはできなかった。
99
100 当初はこのことはあまり大きな問題ではなかった。 なぜならメモリモジュールやディスクは 2 の累乗になるものだったので、
101 皆そのようなところでは「キロバイト」を 1024 バイト、 「メガバイト」を 1048576 バイトであるとみなしていたからである。
102 最初は接頭語の「キロ」とか「メガ」を曖昧に援用していたのだが、 そのうちコンピュータに関連する話題では、こちらが「実際の意味」になっていった。
103 しかしその後ディスクのテクノロジーが代わり、 ディスクサイズは任意の数値をとるようになった。 どっちつかずの時期がしばらく続いたあと、
104 ディスクのメーカーすべてが、標準を使うことに合意した。 すなわち k=1000, M=1000k, G=1000M である。
105
106 .\" also common: 14.4k modem
107 状況はひどくなった。14.4k モデムでは k=1000, 1.44MB フロッピーでは M=1024000 になった。 1998 年に、IEC
108 は上記のような 2 進用の接頭語を承認し、 これによって両者をはっきり区別することが可能になった。
109
110 したがって今日では、MB=1000000B で、MiB = 1048576B なのである。
111
112 フリーソフトウェアの世界でも、 プログラムたちはゆっくりとこれらに準拠してきている。 Linux カーネルは、ブートすると次のようなメッセージを出す。
113
114 .RS
115 .nf
116 hda: 120064896 sectors (61473 MB) w/2048KiB Cache
117 .fi
118 .RE
119
120 MB はメガバイトで、KiB はキビバイトである。
121 .SH この文書について
122 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
123 である。プロジェクトの説明とバグ報告に関する情報は
124 http://www.kernel.org/doc/man\-pages/ に書かれている。