2 .\" Copyright (C) 2001 Andries Brouwer <aeb@cwi.nl>
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
25 .\" Translated Wed 2 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
27 .TH UNITS 7 2001-12-22 "Linux" "Linux Programmer's Manual"
29 .\"O units, kilo, kibi, mega, mebi, giga, gibi \- decimal and binary prefixes
31 units, kilo, kibi, mega, mebi, giga, gibi \- 10 ¿Ê¤ª¤è¤Ó 2 ¿Ê¤ÎÀÜƬ¸ì
34 .\"O .SS Decimal prefixes
36 .\"O The SI system of units uses prefixes that indicate powers of ten.
37 .\"O A kilometer is 1000 meter, and a megawatt is 1000000 watt.
38 .\"O Below the standard prefixes.
39 SI ñ°Ì·Ï¤Ç¤Ï 10 ¤ÎÎß¾è¤ò¼¨¤¹ÀÜƬ¸ì¤òÍѤ¤¤ë¡£
40 ¥¥í¥á¡¼¥È¥ë¤Ï 1000 ¥á¡¼¥È¥ë¡¢¥á¥¬¥ï¥Ã¥È¤Ï 1000000 ¥ï¥Ã¥È¤Ç¤¢¤ë¡£
41 ¼¡¤Ëɸ½àŪ¤ÊÀÜƬ¸ì¤ò¼¨¤¹¡£
45 .\"O Prefix Name Value
47 .\"O y yocto 10^-24 = 0.000000000000000000000001
48 .\"O z zepto 10^-21 = 0.000000000000000000001
49 .\"O a atto 10^-18 = 0.000000000000000001
50 .\"O f femto 10^-15 = 0.000000000000001
51 .\"O p pico 10^-12 = 0.000000000001
52 .\"O n nano 10^-9 = 0.000000001
53 .\"O u micro 10^-6 = 0.000001
54 .\"O m milli 10^-3 = 0.001
55 .\"O c centi 10^-2 = 0.01
56 .\"O d deci 10^-1 = 0.1
57 .\"O da deka 10^ 1 = 10
58 .\"O h hecto 10^ 2 = 100
59 .\"O k kilo 10^ 3 = 1000
60 .\"O M mega 10^ 6 = 1000000
61 .\"O G giga 10^ 9 = 1000000000
62 .\"O T tera 10^12 = 1000000000000
63 .\"O P peta 10^15 = 1000000000000000
64 .\"O E exa 10^18 = 1000000000000000000
65 .\"O Z zetta 10^21 = 1000000000000000000000
66 .\"O Y yotta 10^24 = 1000000000000000000000000
67 y ¥è¥¯¥È(yocto) 10^-24 = 0.000000000000000000000001
68 z ¥¼¥×¥È(zepto) 10^-21 = 0.000000000000000000001
69 a ¥¢¥È(atto) 10^-18 = 0.000000000000000001
70 f ¥Õ¥§¥à¥È(femto) 10^-15 = 0.000000000000001
71 p ¥Ô¥³(pico) 10^-12 = 0.000000000001
72 n ¥Ê¥Î(nano) 10^-9 = 0.000000001
73 u ¥Þ¥¤¥¯¥í(micro) 10^-6 = 0.000001
74 m ¥ß¥ê(milli) 10^-3 = 0.001
75 c ¥»¥ó¥Á(centi) 10^-2 = 0.01
76 d ¥Ç¥·(deci) 10^-1 = 0.1
77 da ¥Ç¥«(deka) 10^ 1 = 10
78 h ¥Ø¥¯¥È(hecto) 10^ 2 = 100
79 k ¥¥í(kilo) 10^ 3 = 1000
80 M ¥á¥¬(mega) 10^ 6 = 1000000
81 G ¥®¥¬(giga) 10^ 9 = 1000000000
82 T ¥Æ¥é(tera) 10^12 = 1000000000000
83 P ¥Ú¥¿(peta) 10^15 = 1000000000000000
84 E ¥¨¥¯¥µ(exa) 10^18 = 1000000000000000000
85 Z ¥¼¥¿(zetta) 10^21 = 1000000000000000000000
86 Y ¥è¥¿(yotta) 10^24 = 1000000000000000000000000
91 .\"O The symbol for micro is the Greek letter mu, often written u
92 .\"O in an ASCII context where this Greek letter is not available.
94 ¥Þ¥¤¥¯¥í¤Îµ¹æ¤Ï¥®¥ê¥·¥ãʸ»ú¤Î¦Ì¤Ç¤¢¤ë¤¬¡¢
95 ASCII ¤Ç¥Æ¥¥¹¥È¤¬µ½Ò¤µ¤ì¤Æ¤¤¤Æ¡¢¥®¥ê¥·¥ãʸ»ú¤¬»È¤¨¤Ê¤¤¾ì¹ç¤Ï
96 u ¤È½ñ¤«¤ì¤ë¤³¤È¤¬Â¿¤¤¡£
99 http://physics.nist.gov/cuu/Units/prefixes.html
103 .\"O .SS Binary prefixes
105 .\"O The binary prefixes resemble the decimal ones,
106 .\"O but have an additional \(aqi\(aq
107 .\"O (and "Ki" starts with a capital \(aqK\(aq).
108 .\"O The names are formed by taking the
109 .\"O first syllable of the names of the decimal prefix with roughly the same
110 .\"O size, followed by "bi" for "binary".
111 2 ¿Ê¤ÎÀÜƬ¸ì¤Ï 10 ¿Ê¤ÎÀÜƬ¸ì¤È»÷¤Æ¤¤¤ë¤¬¡¢¸å¤í¤Ë \(aqi\(aq ¤¬ÉÕ¤¯
112 (¤Þ¤¿ "Ki" ¤Ë¤Ä¤¤¤Æ¤ÏÂçʸ»ú¤Î \(aqK\(aq) ¤Ç»Ï¤Þ¤ë)¡£
113 ̾Á°¤Ï¡¢¤À¤¤¤¿¤¤Æ±¤¸¤¯¤é¤¤¤Î 10 ¿ÊÀÜƬ¸ì¤ÎºÇ½é¤Î²»Àá¤Ë¡¢
114 2 ¿Ê¿ô¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë "bi" ¤ò¤·¤¿¤â¤Î¤Ë¤Ê¤ë¡£
118 .\"O Prefix Name Value
120 .\"O Ki kibi 2^10 = 1024
121 .\"O Mi mebi 2^20 = 1048576
122 .\"O Gi gibi 2^30 = 1073741824
123 .\"O Ti tebi 2^40 = 1099511627776
124 .\"O Pi pebi 2^50 = 1125899906842624
125 .\"O Ei exbi 2^60 = 1152921504606846976
126 Ki ¥¥Ó(kibi) 2^10 = 1024
127 Mi ¥á¥Ó(mebi) 2^20 = 1048576
128 Gi ¥®¥Ó(gibi) 2^30 = 1073741824
129 Ti ¥Æ¥Ó(tebi) 2^40 = 1099511627776
130 Pi ¥Ú¥Ó(pebi) 2^50 = 1125899906842624
131 Ei ¥¨¥¯¥·¥Ó(exbi) 2^60 = 1152921504606846976
138 http://physics.nist.gov/cuu/Units/binary.html
144 .\"O Before these binary prefixes were introduced, it was fairly
145 .\"O common to use k=1000 and K=1024, just like b=bit, B=byte.
146 .\"O Unfortunately, the M is capital already, and cannot be
147 .\"O capitalized to indicate binary-ness.
148 ¤³¤ì¤é¤Î 2 ¿Ê¤ÎÀÜƬ¸ì¤¬Æ³Æþ¤µ¤ì¤ëÁ°¤Ï¡¢
149 k=1000 ¤È K=1024 ¤Î¤è¤¦¤Ë»È¤¦¤Î¤¬³ä¤ËÎɤ¯ÃΤé¤ì¤¿½¬´·¤À¤Ã¤¿
150 (b=¥Ó¥Ã¥È¡¢B=¥Ð¥¤¥È ¤Î´Ø·¸¤Ë»÷¤Æ¤¤¤ë)¡£
151 »ÄÇ°¤Ê¤¬¤é M ¤ÏºÇ½é¤«¤éÂçʸ»ú¤Ê¤Î¤Ç¡¢
152 2 ¿Ê¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤¿¤á¤Ë¤µ¤é¤ËÂçʸ»ú¤Ë¤¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤«¤Ã¤¿¡£
154 .\"O At first that didn't matter too much, since memory modules
155 .\"O and disks came in sizes that were powers of two, so everyone
156 .\"O knew that in such contexts "kilobyte" and "megabyte" meant
157 .\"O 1024 and 1048576 bytes, respectively.
158 .\"O What originally was a
159 .\"O sloppy use of the prefixes "kilo" and "mega" started to become
160 .\"O regarded as the "real true meaning" when computers were involved.
161 .\"O But then disk technology changed, and disk sizes became arbitrary numbers.
162 .\"O After a period of uncertainty all disk manufacturers settled on the
163 .\"O standard, namely k=1000, M=1000k, G=1000M.
164 Åö½é¤Ï¤³¤Î¤³¤È¤Ï¤¢¤Þ¤êÂ礤ÊÌäÂê¤Ç¤Ï¤Ê¤«¤Ã¤¿¡£
165 ¤Ê¤¼¤Ê¤é¥á¥â¥ê¥â¥¸¥å¡¼¥ë¤ä¥Ç¥£¥¹¥¯¤Ï 2 ¤ÎÎß¾è¤Ë¤Ê¤ë¤â¤Î¤À¤Ã¤¿¤Î¤Ç¡¢
166 ³§¤½¤Î¤è¤¦¤Ê¤È¤³¤í¤Ç¤Ï¡Ö¥¥í¥Ð¥¤¥È¡×¤ò 1024 ¥Ð¥¤¥È¡¢
167 ¡Ö¥á¥¬¥Ð¥¤¥È¡×¤ò 1048576 ¥Ð¥¤¥È¤Ç¤¢¤ë¤È¤ß¤Ê¤·¤Æ¤¤¤¿¤«¤é¤Ç¤¢¤ë¡£
168 ºÇ½é¤ÏÀÜƬ¸ì¤Î¡Ö¥¥í¡×¤È¤«¡Ö¥á¥¬¡×¤òÛ£Ëæ¤Ë±çÍѤ·¤Æ¤¤¤¿¤Î¤À¤¬¡¢
169 ¤½¤Î¤¦¤Á¥³¥ó¥Ô¥å¡¼¥¿¤Ë´ØÏ¢¤¹¤ëÏÃÂê¤Ç¤Ï¡¢¤³¤Á¤é¤¬¡Ö¼ÂºÝ¤Î°ÕÌ£¡×¤Ë¤Ê¤Ã¤Æ¤¤¤Ã¤¿¡£
170 ¤·¤«¤·¤½¤Î¸å¥Ç¥£¥¹¥¯¤Î¥Æ¥¯¥Î¥í¥¸¡¼¤¬Âå¤ï¤ê¡¢
171 ¥Ç¥£¥¹¥¯¥µ¥¤¥º¤ÏǤ°Õ¤Î¿ôÃͤò¤È¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£
172 ¤É¤Ã¤Á¤Ä¤«¤º¤Î»þ´ü¤¬¤·¤Ð¤é¤¯Â³¤¤¤¿¤¢¤È¡¢
173 ¥Ç¥£¥¹¥¯¤Î¥á¡¼¥«¡¼¤¹¤Ù¤Æ¤¬¡¢É¸½à¤ò»È¤¦¤³¤È¤Ë¹ç°Õ¤·¤¿¡£
174 ¤¹¤Ê¤ï¤Á k=1000, M=1000k, G=1000M ¤Ç¤¢¤ë¡£
176 .\"O The situation was messy: in the 14k4 modems, k=1000; in the 1.44MB
177 .\"O .\" also common: 14.4k modem
178 .\"O diskettes, M=1024000; etc.
179 .\"O In 1998 the IEC approved the standard
180 .\"O that defines the binary prefixes given above, enabling people
181 .\"O to be precise and unambiguous.
182 ¾õ¶·¤Ï¤Ò¤É¤¯¤Ê¤Ã¤¿¡£14.4k ¥â¥Ç¥à¤Ç¤Ï k=1000,
183 1.44MB ¥Õ¥í¥Ã¥Ô¡¼¤Ç¤Ï M=1024000 ¤Ë¤Ê¤Ã¤¿¡£
184 1998 ǯ¤Ë¡¢IEC ¤Ï¾åµ¤Î¤è¤¦¤Ê 2 ¿ÊÍѤÎÀÜƬ¸ì¤ò¾µÇ§¤·¡¢
185 ¤³¤ì¤Ë¤è¤Ã¤Æξ¼Ô¤ò¤Ï¤Ã¤¤ê¶èÊ̤¹¤ë¤³¤È¤¬²Äǽ¤Ë¤Ê¤Ã¤¿¡£
187 .\"O Thus, today, MB = 1000000B and MiB = 1048576B.
188 ¤·¤¿¤¬¤Ã¤Æº£Æü¤Ç¤Ï¡¢MB=1000000B ¤Ç¡¢MiB = 1048576B ¤Ê¤Î¤Ç¤¢¤ë¡£
190 .\"O In the free software world programs are slowly
191 .\"O being changed to conform.
192 .\"O When the Linux kernel boots and says
193 ¥Õ¥ê¡¼¥½¥Õ¥È¥¦¥§¥¢¤ÎÀ¤³¦¤Ç¤â¡¢
194 ¥×¥í¥°¥é¥à¤¿¤Á¤Ï¤æ¤Ã¤¯¤ê¤È¤³¤ì¤é¤Ë½àµò¤·¤Æ¤¤Æ¤¤¤ë¡£
195 Linux ¥«¡¼¥Í¥ë¤Ï¡¢¥Ö¡¼¥È¤¹¤ë¤È¼¡¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤ò½Ð¤¹¡£
200 hda: 120064896 sectors (61473 MB) w/2048KiB Cache
205 .\"O the MB are megabytes and the KiB are kibibytes.
206 MB ¤Ï¥á¥¬¥Ð¥¤¥È¤Ç¡¢KiB ¤Ï¥¥Ó¥Ð¥¤¥È¤Ç¤¢¤ë¡£