OSDN Git Service

Update version in ja.po to 3.78
[linuxjm/LDP_man-pages.git] / po4a / filesystem / po / ja.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2015-01-23 22:22+0900\n"
10 "PO-Revision-Date: 2015-01-23 22:31+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: build/C/man5/filesystems.5:26
20 #, no-wrap
21 msgid "FILESYSTEMS"
22 msgstr "FILESYSTEMS"
23
24 #. type: TH
25 #: build/C/man5/filesystems.5:26
26 #, no-wrap
27 msgid "2014-01-15"
28 msgstr "2014-01-15"
29
30 #. type: TH
31 #: build/C/man5/filesystems.5:26 build/C/man3/fts.3:40 build/C/man3/ftw.3:35
32 #: build/C/man2/getxattr.2:25 build/C/man3/isfdtype.3:26
33 #: build/C/man2/listxattr.2:25 build/C/man2/mount.2:40
34 #: build/C/man7/path_resolution.7:25 build/C/man2/removexattr.2:25
35 #: build/C/man2/setxattr.2:25 build/C/man2/spu_create.2:25
36 #: build/C/man2/spu_run.2:26 build/C/man7/spufs.7:27 build/C/man2/stat.2:40
37 #: build/C/man2/statfs.2:28 build/C/man3/statvfs.3:30 build/C/man2/sysfs.2:27
38 #: build/C/man2/umount.2:30 build/C/man2/ustat.2:30
39 #, no-wrap
40 msgid "Linux"
41 msgstr "Linux"
42
43 #. type: TH
44 #: build/C/man5/filesystems.5:26 build/C/man3/fts.3:40 build/C/man3/ftw.3:35
45 #: build/C/man3/getfsent.3:27 build/C/man3/getmntent.3:32
46 #: build/C/man2/getxattr.2:25 build/C/man3/isfdtype.3:26
47 #: build/C/man2/listxattr.2:25 build/C/man2/mount.2:40
48 #: build/C/man7/path_resolution.7:25 build/C/man2/removexattr.2:25
49 #: build/C/man2/setxattr.2:25 build/C/man2/spu_create.2:25
50 #: build/C/man2/spu_run.2:26 build/C/man7/spufs.7:27 build/C/man2/stat.2:40
51 #: build/C/man2/statfs.2:28 build/C/man3/statvfs.3:30 build/C/man2/sysfs.2:27
52 #: build/C/man2/umount.2:30 build/C/man2/ustat.2:30
53 #, no-wrap
54 msgid "Linux Programmer's Manual"
55 msgstr "Linux Programmer's Manual"
56
57 #. type: SH
58 #: build/C/man5/filesystems.5:28 build/C/man3/fts.3:41 build/C/man3/ftw.3:36
59 #: build/C/man3/getfsent.3:28 build/C/man3/getmntent.3:33
60 #: build/C/man2/getxattr.2:26 build/C/man3/isfdtype.3:27
61 #: build/C/man2/listxattr.2:26 build/C/man2/mount.2:41
62 #: build/C/man7/path_resolution.7:26 build/C/man2/removexattr.2:26
63 #: build/C/man2/setxattr.2:26 build/C/man2/spu_create.2:26
64 #: build/C/man2/spu_run.2:27 build/C/man7/spufs.7:28 build/C/man2/stat.2:41
65 #: build/C/man2/statfs.2:29 build/C/man3/statvfs.3:31 build/C/man2/sysfs.2:28
66 #: build/C/man2/umount.2:31 build/C/man2/ustat.2:31
67 #, no-wrap
68 msgid "NAME"
69 msgstr "名前"
70
71 #. type: Plain text
72 #: build/C/man5/filesystems.5:32
73 msgid ""
74 "filesystems - Linux filesystem types: minix, ext, ext2, ext3, ext4, "
75 "Reiserfs, XFS, JFS, xia, msdos, umsdos, vfat, ntfs, proc, nfs, iso9660, "
76 "hpfs, sysv, smb, ncpfs"
77 msgstr ""
78 "filesystems - Linux のファイルシステム種別: minix, ext, ext2, ext3, ext4,\n"
79 "Reiserfs, XFS, JFS, xia, msdos, umsdos, vfat, ntfs, proc, nfs, iso9660,\n"
80 "hpfs, sysv, smb, ncpfs"
81
82 #. type: SH
83 #: build/C/man5/filesystems.5:32 build/C/man3/fts.3:61 build/C/man3/ftw.3:55
84 #: build/C/man3/getfsent.3:42 build/C/man3/getmntent.3:65
85 #: build/C/man2/getxattr.2:42 build/C/man3/isfdtype.3:55
86 #: build/C/man2/listxattr.2:41 build/C/man2/mount.2:51
87 #: build/C/man7/path_resolution.7:28 build/C/man2/removexattr.2:39
88 #: build/C/man2/setxattr.2:42 build/C/man2/spu_create.2:40
89 #: build/C/man2/spu_run.2:39 build/C/man7/spufs.7:30 build/C/man2/stat.2:97
90 #: build/C/man2/statfs.2:37 build/C/man3/statvfs.3:39 build/C/man2/sysfs.2:36
91 #: build/C/man2/umount.2:41 build/C/man2/ustat.2:43
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr "説明"
95
96 #. type: Plain text
97 #: build/C/man5/filesystems.5:45
98 msgid ""
99 "When, as is customary, the B<proc> filesystem is mounted on I</proc>, you "
100 "can find in the file I</proc/filesystems> which filesystems your kernel "
101 "currently supports; see B<proc>(5)  for more details.  If you need a "
102 "currently unsupported filesystem, insert the corresponding module or "
103 "recompile the kernel."
104 msgstr ""
105 "B<proc> ファイルシステムが慣習どおりに I</proc> にマウントされている場合、 現"
106 "在のカーネルがどのファイルシステムをサポートしているか 知るためにはファイル "
107 "I</proc/filesystems> を見ればよい。 詳細は B<proc>(5) 参照。 必要なファイルシ"
108 "ステムが現在のカーネルにサポートされて いない場合、適切なモジュールを組み込む"
109 "か、それもだめならば カーネルを再コンパイルすること。"
110
111 #. type: Plain text
112 #: build/C/man5/filesystems.5:50
113 msgid "In order to use a filesystem, you have to I<mount> it; see B<mount>(8)."
114 msgstr ""
115 "ファイルシステムを使うためには、 I<マウント> する必要がある。 B<mount>(8)  を"
116 "参照のこと。"
117
118 #. type: Plain text
119 #: build/C/man5/filesystems.5:52
120 msgid "Below a short description of a few of the available filesystems."
121 msgstr "以下は利用可能なファイルシステムのうち、いくつかの簡単な説明である。"
122
123 #. type: TP
124 #: build/C/man5/filesystems.5:52
125 #, no-wrap
126 msgid "B<minix>"
127 msgstr "B<minix>"
128
129 #. type: Plain text
130 #: build/C/man5/filesystems.5:59
131 msgid ""
132 "is the filesystem used in the Minix operating system, the first to run under "
133 "Linux.  It has a number of shortcomings, including a 64MB partition size "
134 "limit, short filenames, and a single timestamp.  It remains useful for "
135 "floppies and RAM disks."
136 msgstr ""
137 "Minix オペレーティングシステムのファイルシステム。 Linux で動いた最初のファイ"
138 "ルシステムでもある。これには多くの欠点がある。 パーティションのサイズが最大 "
139 "64MB であること、短いファイル名しか使えない、タイムスタンプが一つだけである、"
140 "などなど。 フロッピーや RAM ディスクに便利なのでまだ残っている。"
141
142 #. type: TP
143 #: build/C/man5/filesystems.5:59
144 #, no-wrap
145 msgid "B<ext>"
146 msgstr "B<ext>"
147
148 #. type: Plain text
149 #: build/C/man5/filesystems.5:68
150 msgid ""
151 "is an elaborate extension of the B<minix> filesystem.  It has been "
152 "completely superseded by the second version of the extended filesystem "
153 "(B<ext2>)  and has been removed from the kernel (in 2.1.21)."
154 msgstr ""
155 "B<minix> ファイルシステムの手の込んだ拡張である。これは第二拡張ファイルシステ"
156 "ム (second extended filesystem : B<ext2>)  に完全にとって代わられ、カーネル "
157 "2.1.21 で取り除かれた。"
158
159 #. type: TP
160 #: build/C/man5/filesystems.5:68
161 #, no-wrap
162 msgid "B<ext2>"
163 msgstr "B<ext2>"
164
165 #. type: Plain text
166 #: build/C/man5/filesystems.5:78
167 msgid ""
168 "is the high performance disk filesystem used by Linux for fixed disks as "
169 "well as removable media.  The second extended filesystem was designed as an "
170 "extension of the extended filesystem (B<ext>).  B<ext2> offers the best "
171 "performance (in terms of speed and CPU usage) of the filesystems supported "
172 "under Linux."
173 msgstr ""
174 "Linux の高性能なファイルシステムである。これは固定ディスクだけではなく リムー"
175 "バブルディスクにもよく使われる。 拡張ファイルシステム (B<ext>)  の発展として"
176 "第二拡張ファイルシステム (B<ext2>)  が設計された。この B<ext2> は Linux の"
177 "ファイルシステムの中で (スピードおよび CPU の使用量の面で) 最も よいパフォー"
178 "マンスを発揮する。"
179
180 #. type: TP
181 #: build/C/man5/filesystems.5:78
182 #, no-wrap
183 msgid "B<ext3>"
184 msgstr "B<ext3>"
185
186 #. type: Plain text
187 #: build/C/man5/filesystems.5:83
188 msgid ""
189 "is a journaling version of the ext2 filesystem.  It is easy to switch back "
190 "and forth between ext2 and ext3."
191 msgstr ""
192 "ext2 ファイルシステムにジャーナル機能をつけたものである。\n"
193 "ext2 と ext3 は簡単に行きつ戻りつできる。"
194
195 #. type: TP
196 #: build/C/man5/filesystems.5:83
197 #, no-wrap
198 msgid "B<ext4>"
199 msgstr "B<ext4>"
200
201 #. type: Plain text
202 #: build/C/man5/filesystems.5:88
203 msgid ""
204 "is a set of upgrades to ext3 including substantial performance and "
205 "reliability enhancements, plus large increases in volume, file, and "
206 "directory size limits."
207 msgstr ""
208 "ext3 の改良版であり、性能と信頼性のかなりの改善と、ボリューム、ファイル、\n"
209 "ディレクトリのサイズの上限の大幅な拡張が行われている。"
210
211 #. type: TP
212 #: build/C/man5/filesystems.5:88
213 #, no-wrap
214 msgid "B<Reiserfs>"
215 msgstr "B<Reiserfs>"
216
217 #. type: Plain text
218 #: build/C/man5/filesystems.5:92
219 msgid ""
220 "is a journaling filesystem, designed by Hans Reiser, that was integrated "
221 "into Linux in kernel 2.4.1."
222 msgstr ""
223 "Hans Reiser によって設計されたジャーナリングファイルシステムである。\n"
224 "カーネル 2.4.1 で Linux に統合された。"
225
226 #. type: TP
227 #: build/C/man5/filesystems.5:92
228 #, no-wrap
229 msgid "B<XFS>"
230 msgstr "B<XFS>"
231
232 #. type: Plain text
233 #: build/C/man5/filesystems.5:96
234 msgid ""
235 "is a journaling filesystem, developed by SGI, that was integrated into Linux "
236 "in kernel 2.4.20."
237 msgstr ""
238 "SGI により開発されたジャーナリングファイルシステムである。\n"
239 "カーネル 2.4.20 で Linux に統合された。"
240
241 #. type: TP
242 #: build/C/man5/filesystems.5:96
243 #, no-wrap
244 msgid "B<JFS>"
245 msgstr "B<JFS>"
246
247 #. type: Plain text
248 #: build/C/man5/filesystems.5:100
249 msgid ""
250 "is a journaling filesystem, developed by IBM, that was integrated into Linux "
251 "in kernel 2.4.24."
252 msgstr ""
253 "IBM により開発されたジャーナリングファイルシステムである。\n"
254 "カーネル 2.4.24 で Linux に統合された。"
255
256 #. type: TP
257 #: build/C/man5/filesystems.5:100
258 #, no-wrap
259 msgid "B<xiafs>"
260 msgstr "B<xiafs>"
261
262 #. type: Plain text
263 #: build/C/man5/filesystems.5:110
264 msgid ""
265 "was designed and implemented to be a stable, safe filesystem by extending "
266 "the Minix filesystem code.  It provides the basic most requested features "
267 "without undue complexity.  The B<xia> filesystem is no longer actively "
268 "developed or maintained.  It was removed from the kernel in 2.1.21."
269 msgstr ""
270 "は Minix ファイルシステムの拡張で、より安定し安全なファイルシステムとして 設"
271 "計、実装された。これは、いらない複雑さは避けつつ必要な基本的機能を 備えてい"
272 "る。 B<xia> ファイルシステムは、もはや開発もメンテナンスも行われていない。 "
273 "カーネル 2.1.21 で取り除かれた。"
274
275 #. type: TP
276 #: build/C/man5/filesystems.5:110
277 #, no-wrap
278 msgid "B<msdos>"
279 msgstr "B<msdos>"
280
281 #. type: Plain text
282 #: build/C/man5/filesystems.5:116
283 msgid ""
284 "is the filesystem used by DOS, Windows, and some OS/2 computers.  B<msdos> "
285 "filenames can be no longer than 8 characters, followed by an optional period "
286 "and 3 character extension."
287 msgstr ""
288 "は DOS や Windows、いくらかの OS/2 コンピュータが使っているファイル システム"
289 "である。 この B<msdos> ファイルシステムでは「8 文字の名前+ピリオド+3 文字の"
290 "拡張子」より 長いファイル名はつけることができない。"
291
292 #. type: TP
293 #: build/C/man5/filesystems.5:116
294 #, no-wrap
295 msgid "B<umsdos>"
296 msgstr "B<umsdos>"
297
298 #. type: Plain text
299 #: build/C/man5/filesystems.5:123
300 msgid ""
301 "is an extended DOS filesystem used by Linux.  It adds capability for long "
302 "filenames, UID/GID, POSIX permissions, and special files (devices, named "
303 "pipes, etc.)  under the DOS filesystem, without sacrificing compatibility "
304 "with DOS."
305 msgstr ""
306 "は DOS ファイルシステムを拡張した Linux のファイルシステムである。 これは "
307 "DOS ファイルシステムのもとで、長いファイル名や UID/GID、POSIX 形式の パーミッ"
308 "ション、(デバイスファイルや名前付きパイプなどの) 特殊ファイルを 使えるように"
309 "したものである。DOS との互換性がある。"
310
311 #. type: TP
312 #: build/C/man5/filesystems.5:123
313 #, no-wrap
314 msgid "B<vfat>"
315 msgstr "B<vfat>"
316
317 #. type: Plain text
318 #: build/C/man5/filesystems.5:127
319 msgid ""
320 "is an extended DOS filesystem used by Microsoft Windows95 and Windows NT.  "
321 "VFAT adds the capability to use long filenames under the MSDOS filesystem."
322 msgstr ""
323 "は Microsoft Windows95 と Windows NT が使う DOS ファイルシステムの拡張であ"
324 "る。 長いファイル名が使えるようになっている。"
325
326 #. type: TP
327 #: build/C/man5/filesystems.5:127
328 #, no-wrap
329 msgid "B<ntfs>"
330 msgstr "B<ntfs>"
331
332 #. type: Plain text
333 #: build/C/man5/filesystems.5:132
334 msgid ""
335 "replaces Microsoft Window's FAT filesystems (VFAT, FAT32).  It has "
336 "reliability, performance, and space-utilization enhancements plus features "
337 "like ACLs, journaling, encryption, and so on."
338 msgstr ""
339 "Microsoft Windows の FAT ファイルシステム (VFAT, FAT32) を置き換えるものであ"
340 "る。\n"
341 "信頼性、性能、容量効率の向上に加えて、ACL、ジャーナリング、暗号化などの機能"
342 "が\n"
343 "追加されている。"
344
345 #. type: TP
346 #: build/C/man5/filesystems.5:132
347 #, no-wrap
348 msgid "B<proc>"
349 msgstr "B<proc>"
350
351 #. type: Plain text
352 #: build/C/man5/filesystems.5:140
353 msgid ""
354 "is a pseudo filesystem which is used as an interface to kernel data "
355 "structures rather than reading and interpreting I</dev/kmem>.  In "
356 "particular, its files do not take disk space.  See B<proc>(5)."
357 msgstr ""
358 "はカーネルデータ構造へのインターフェイスとなる疑似ファイルシステムである。 こ"
359 "れは I</dev/kmem> を読んで解釈することの代わりとして使うことができる。 この"
360 "ファイルシステムのファイルはディスクスペースを使用しない。 B<proc>(5)  を参照"
361 "のこと。"
362
363 #. type: TP
364 #: build/C/man5/filesystems.5:140
365 #, no-wrap
366 msgid "B<iso9660>"
367 msgstr "B<iso9660>"
368
369 #. type: Plain text
370 #: build/C/man5/filesystems.5:143
371 msgid "is a CD-ROM filesystem type conforming to the ISO 9660 standard."
372 msgstr "は ISO 9660 標準に沿った CD-ROM のファイルシステムである。"
373
374 #. type: TP
375 #: build/C/man5/filesystems.5:144
376 #, no-wrap
377 msgid "B<High Sierra>"
378 msgstr "B<High Sierra>"
379
380 #. type: Plain text
381 #: build/C/man5/filesystems.5:151
382 msgid ""
383 "Linux supports High Sierra, the precursor to the ISO 9660 standard for CD-"
384 "ROM filesystems.  It is automatically recognized within the B<iso9660> "
385 "filesystem support under Linux."
386 msgstr ""
387 "Linux はハイシェラ (High Sierra) をサポートしている。これは ISO 9660 標準が "
388 "決まるより前に使われていた CD-ROM ファイルシステムである。Linux の "
389 "B<iso9660> ファイルシステムサポートがハイシェラファイルシステムを自動で 認識"
390 "することができる。"
391
392 #. type: TP
393 #: build/C/man5/filesystems.5:151
394 #, no-wrap
395 msgid "B<Rock Ridge>"
396 msgstr "B<Rock Ridge>"
397
398 #. type: Plain text
399 #: build/C/man5/filesystems.5:162
400 msgid ""
401 "Linux also supports the System Use Sharing Protocol records specified by the "
402 "Rock Ridge Interchange Protocol.  They are used to further describe the "
403 "files in the B<iso9660> filesystem to a UNIX host, and provide information "
404 "such as long filenames, UID/GID, POSIX permissions, and devices.  It is "
405 "automatically recognized within the B<iso9660> filesystem support under "
406 "Linux."
407 msgstr ""
408 "Linux はロックリッジ (Rock Ridge) 変換プロトコルで規定された システム使用\n"
409 "共有プロトコルもサポートしている。これは UNIX ホ ストのファイルを "
410 "B<iso9660> \n"
411 "ファイルシステムでより詳しく記述するために使用され、長いファイル名や UID/"
412 "GID、\n"
413 "POSIX 形式のパーミッション、デバイスファイル などの情報を提供する。Linux の\n"
414 "B<iso9660> ファイルシステムサポートがロックリッジファイルシステムを自動で\n"
415 "認識することができる。"
416
417 #. type: TP
418 #: build/C/man5/filesystems.5:163
419 #, no-wrap
420 msgid "B<hpfs>"
421 msgstr "B<hpfs>"
422
423 #. type: Plain text
424 #: build/C/man5/filesystems.5:168
425 msgid ""
426 "is the High Performance Filesystem, used in OS/2.  This filesystem is read-"
427 "only under Linux due to the lack of available documentation."
428 msgstr ""
429 "は OS/2 で使われる高性能ファイルシステム(High Performance Filesystem)であ"
430 "る。 このファイルシステムはドキュメントが入手できないため、 Linux では読み込"
431 "み専用 (Read-only) でしか使用できない。"
432
433 #. type: TP
434 #: build/C/man5/filesystems.5:168
435 #, no-wrap
436 msgid "B<sysv>"
437 msgstr "B<sysv>"
438
439 #. type: Plain text
440 #: build/C/man5/filesystems.5:172
441 msgid ""
442 "is an implementation of the SystemV/Coherent filesystem for Linux.  It "
443 "implements all of Xenix FS, SystemV/386 FS, and Coherent FS."
444 msgstr ""
445 "は SystemV/Coherent ファイルシステムの Linux での実装である。 Xenix, "
446 "SystemV/386, Coherent 各ファイルシステムを使うことができる。"
447
448 #. type: TP
449 #: build/C/man5/filesystems.5:172
450 #, no-wrap
451 msgid "B<nfs>"
452 msgstr "B<nfs>"
453
454 #. type: Plain text
455 #: build/C/man5/filesystems.5:175
456 msgid ""
457 "is the network filesystem used to access disks located on remote computers."
458 msgstr ""
459 "はネットワークファイルシステムである。 離れたコンピュータのディスクを使うこと"
460 "ができる。"
461
462 #. type: TP
463 #: build/C/man5/filesystems.5:175
464 #, no-wrap
465 msgid "B<smb>"
466 msgstr "B<smb>"
467
468 #. type: Plain text
469 #: build/C/man5/filesystems.5:179
470 msgid ""
471 "is a network filesystem that supports the SMB protocol, used by Windows for "
472 "Workgroups, Windows NT, and Lan Manager."
473 msgstr ""
474 "は SMB プロトコルをサポートしたネットワークファイルシステムである。 Windows "
475 "for Workgroups, Windows NT, Lan Manager が使っている。"
476
477 #. type: Plain text
478 #: build/C/man5/filesystems.5:186
479 msgid ""
480 "To use B<smb> fs, you need a special mount program, which can be found in "
481 "the ksmbfs package, found at E<.UR ftp://sunsite.unc.edu\\:/pub\\:/Linux\\:/"
482 "system\\:/Filesystems\\:/smbfs> E<.UE .>"
483 msgstr ""
484 "B<smb> ファイルシステムを使うためには ksmbfs パッケージに含まれる 特殊なマウ"
485 "ントプログラムが必要である。 ksmbfs は E<.UR ftp://sunsite.unc.edu\\:/pub\\:/"
486 "Linux\\:/system\\:/Filesystems\\:/smbfs> E<.UE> にある。"
487
488 #. type: TP
489 #: build/C/man5/filesystems.5:186
490 #, no-wrap
491 msgid "B<ncpfs>"
492 msgstr "B<ncpfs>"
493
494 #. type: Plain text
495 #: build/C/man5/filesystems.5:190
496 msgid ""
497 "is a network filesystem that supports the NCP protocol, used by Novell "
498 "NetWare."
499 msgstr ""
500 "は NCP プロトコルをサポートしたファイルシステムである。Novell NetWare が 使っ"
501 "ている。"
502
503 #. type: Plain text
504 #: build/C/man5/filesystems.5:196
505 msgid ""
506 "To use B<ncpfs>, you need special programs, which can be found at E<.UR "
507 "ftp://linux01.gwdg.de\\:/pub\\:/ncpfs> E<.UE .>"
508 msgstr ""
509 "B<ncpfs> を使うためには E<.UR ftp://linux01.gwdg.de\\:/pub\\:/ncpfs> E<.UE> "
510 "にある特殊なプログラムが必要である。"
511
512 #. type: SH
513 #: build/C/man5/filesystems.5:196 build/C/man3/fts.3:790
514 #: build/C/man3/ftw.3:422 build/C/man3/getfsent.3:139
515 #: build/C/man3/getmntent.3:220 build/C/man2/getxattr.2:141
516 #: build/C/man3/isfdtype.3:102 build/C/man2/listxattr.2:153
517 #: build/C/man2/mount.2:488 build/C/man7/path_resolution.7:237
518 #: build/C/man2/removexattr.2:110 build/C/man2/setxattr.2:152
519 #: build/C/man2/spu_create.2:270 build/C/man2/spu_run.2:264
520 #: build/C/man7/spufs.7:766 build/C/man2/stat.2:920 build/C/man2/statfs.2:314
521 #: build/C/man3/statvfs.3:188 build/C/man2/umount.2:176
522 #: build/C/man2/ustat.2:118
523 #, no-wrap
524 msgid "SEE ALSO"
525 msgstr "関連項目"
526
527 #. type: Plain text
528 #: build/C/man5/filesystems.5:201
529 msgid "B<proc>(5), B<fsck>(8), B<mkfs>(8), B<mount>(8)"
530 msgstr "B<proc>(5), B<fsck>(8), B<mkfs>(8), B<mount>(8)"
531
532 #. type: SH
533 #: build/C/man5/filesystems.5:201 build/C/man3/fts.3:796
534 #: build/C/man3/ftw.3:426 build/C/man3/getfsent.3:142
535 #: build/C/man3/getmntent.3:224 build/C/man2/getxattr.2:151
536 #: build/C/man3/isfdtype.3:104 build/C/man2/listxattr.2:163
537 #: build/C/man2/mount.2:495 build/C/man7/path_resolution.7:242
538 #: build/C/man2/removexattr.2:120 build/C/man2/setxattr.2:162
539 #: build/C/man2/spu_create.2:275 build/C/man2/spu_run.2:269
540 #: build/C/man7/spufs.7:773 build/C/man2/stat.2:930 build/C/man2/statfs.2:318
541 #: build/C/man3/statvfs.3:190 build/C/man2/sysfs.2:104
542 #: build/C/man2/umount.2:181 build/C/man2/ustat.2:121
543 #, no-wrap
544 msgid "COLOPHON"
545 msgstr "この文書について"
546
547 #. type: Plain text
548 #: build/C/man5/filesystems.5:209 build/C/man3/fts.3:804
549 #: build/C/man3/ftw.3:434 build/C/man3/getfsent.3:150
550 #: build/C/man3/getmntent.3:232 build/C/man2/getxattr.2:159
551 #: build/C/man3/isfdtype.3:112 build/C/man2/listxattr.2:171
552 #: build/C/man2/mount.2:503 build/C/man7/path_resolution.7:250
553 #: build/C/man2/removexattr.2:128 build/C/man2/setxattr.2:170
554 #: build/C/man2/spu_create.2:283 build/C/man2/spu_run.2:277
555 #: build/C/man7/spufs.7:781 build/C/man2/stat.2:938 build/C/man2/statfs.2:326
556 #: build/C/man3/statvfs.3:198 build/C/man2/sysfs.2:112
557 #: build/C/man2/umount.2:189 build/C/man2/ustat.2:129
558 msgid ""
559 "This page is part of release 3.78 of the Linux I<man-pages> project.  A "
560 "description of the project, information about reporting bugs, and the latest "
561 "version of this page, can be found at \\%http://www.kernel.org/doc/man-"
562 "pages/."
563 msgstr ""
564 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.78 の一部\n"
565 "である。プロジェクトの説明とバグ報告に関する情報は\n"
566 "http://www.kernel.org/doc/man-pages/ に書かれている。"
567
568 #. type: TH
569 #: build/C/man3/fts.3:40
570 #, no-wrap
571 msgid "FTS"
572 msgstr "FTS"
573
574 #. type: TH
575 #: build/C/man3/fts.3:40
576 #, no-wrap
577 msgid "2014-03-18"
578 msgstr "2014-03-18"
579
580 #. type: Plain text
581 #: build/C/man3/fts.3:44
582 msgid ""
583 "fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file "
584 "hierarchy"
585 msgstr ""
586 "fts, fts_open, fts_read, fts_children, fts_set, fts_close - ファイル階層をた"
587 "どる"
588
589 #. type: SH
590 #: build/C/man3/fts.3:44 build/C/man3/ftw.3:38 build/C/man3/getfsent.3:30
591 #: build/C/man3/getmntent.3:36 build/C/man2/getxattr.2:28
592 #: build/C/man3/isfdtype.3:29 build/C/man2/listxattr.2:28
593 #: build/C/man2/mount.2:43 build/C/man2/removexattr.2:28
594 #: build/C/man2/setxattr.2:28 build/C/man2/spu_create.2:28
595 #: build/C/man2/spu_run.2:29 build/C/man2/stat.2:43 build/C/man2/statfs.2:31
596 #: build/C/man3/statvfs.3:33 build/C/man2/sysfs.2:30 build/C/man2/umount.2:33
597 #: build/C/man2/ustat.2:33
598 #, no-wrap
599 msgid "SYNOPSIS"
600 msgstr "書式"
601
602 #. type: Plain text
603 #: build/C/man3/fts.3:49
604 #, no-wrap
605 msgid ""
606 "B<#include E<lt>sys/types.hE<gt>>\n"
607 "B<#include E<lt>sys/stat.hE<gt>>\n"
608 "B<#include E<lt>fts.hE<gt>>\n"
609 msgstr ""
610 "B<#include E<lt>sys/types.hE<gt>>\n"
611 "B<#include E<lt>sys/stat.hE<gt>>\n"
612 "B<#include E<lt>fts.hE<gt>>\n"
613
614 #. type: Plain text
615 #: build/C/man3/fts.3:52
616 #, no-wrap
617 msgid ""
618 "B<FTS *fts_open(char * const *>I<path_argv>B<, int >I<options>B<, >\n"
619 "B<              int (*>I<compar>B<)(const FTSENT **, const FTSENT **));>\n"
620 msgstr ""
621 "B<FTS *fts_open(char * const *>I<path_argv>B<, int >I<options>B<, >\n"
622 "B<              int (*>I<compar>B<)(const FTSENT **, const FTSENT **));>\n"
623
624 #. type: Plain text
625 #: build/C/man3/fts.3:54
626 #, no-wrap
627 msgid "B<FTSENT *fts_read(FTS *>I<ftsp>B<);>\n"
628 msgstr "B<FTSENT *fts_read(FTS *>I<ftsp>B<);>\n"
629
630 #. type: Plain text
631 #: build/C/man3/fts.3:56
632 #, no-wrap
633 msgid "B<FTSENT *fts_children(FTS *>I<ftsp>B<, int >I<options>B<);>\n"
634 msgstr "B<FTSENT *fts_children(FTS *>I<ftsp>B<, int >I<options>B<);>\n"
635
636 #. type: Plain text
637 #: build/C/man3/fts.3:58
638 #, no-wrap
639 msgid "B<int fts_set(FTS *>I<ftsp>B<, FTSENT *>I<f>B<, int >I<options>B<);>\n"
640 msgstr "B<int fts_set(FTS *>I<ftsp>B<, FTSENT *>I<f>B<, int >I<options>B<);>\n"
641
642 #. type: Plain text
643 #: build/C/man3/fts.3:60
644 #, no-wrap
645 msgid "B<int fts_close(FTS *>I<ftsp>B<);>\n"
646 msgstr "B<int fts_close(FTS *>I<ftsp>B<);>\n"
647
648 #. type: Plain text
649 #: build/C/man3/fts.3:87
650 msgid ""
651 "The fts functions are provided for traversing file hierarchies.  A simple "
652 "overview is that the B<fts_open>()  function returns a \"handle\" on a file "
653 "hierarchy, which is then supplied to the other fts functions.  The function "
654 "B<fts_read>()  returns a pointer to a structure describing one of the files "
655 "in the file hierarchy.  The function B<fts_children>()  returns a pointer to "
656 "a linked list of structures, each of which describes one of the files "
657 "contained in a directory in the hierarchy.  In general, directories are "
658 "visited two distinguishable times; in preorder (before any of their "
659 "descendants are visited) and in postorder (after all of their descendants "
660 "have been visited).  Files are visited once.  It is possible to walk the "
661 "hierarchy \"logically\" (visiting the files that symbolic links point to)  "
662 "or physically (visiting the symbolic links themselves), order the walk of "
663 "the hierarchy or prune and/or revisit portions of the hierarchy."
664 msgstr ""
665 "fts 関数群は、ファイル階層をたどるために提供されている。 簡単に概略すると次の"
666 "ようになる。 B<fts_open>()  関数は、他の fts 関数群に渡すための、ファイル階層"
667 "の「ハンドル」を返す。 B<fts_read>()  関数は、ファイル階層中にある 1 つのファ"
668 "イルを記述する構造体へのポインタを返す。 B<fts_children>()  関数は、階層中の"
669 "ディレクトリにあるファイルを記述する構造体の リンクリストへのポインタを返"
670 "す。 一般にディレクトリは、 preorder (正方向:下の階層のディレクトリをたどる"
671 "前) と postorder (逆方向:下の階層のディレクトリをすべてたどった後) という、 "
672 "異なる方向で 2 回たどられる。ファイルは 1 回たどられる。 ディレクトリ階層を"
673 "「論理的に」(シンボリックリングが指すファイルを見て) 辿ることも、 物理的に "
674 "(シンボリックリンク自身を見て) 辿ることも可能である。 また、階層中の移動の道"
675 "筋を指示すること・ 余分なものを取り除くこと・階層の一部を再びたどることが可能"
676 "である。"
677
678 #. type: Plain text
679 #: build/C/man3/fts.3:108
680 msgid ""
681 "Two structures are defined (and typedef'd) in the include file I<E<lt>fts."
682 "hE<gt>>.  The first is I<FTS>, the structure that represents the file "
683 "hierarchy itself.  The second is I<FTSENT>, the structure that represents a "
684 "file in the file hierarchy.  Normally, an I<FTSENT> structure is returned "
685 "for every file in the file hierarchy.  In this manual page, \"file\" and "
686 "\"FTSENT structure\" are generally interchangeable.  The I<FTSENT> structure "
687 "contains at least the following fields, which are described in greater "
688 "detail below:"
689 msgstr ""
690 "2 つの構造体がインクルードファイル I<E<lt>fts.hE<gt>> で定義されている (さら"
691 "に typedef されている)。 1 つ目は、ファイル階層そのものを表現する I<FTS> 構造"
692 "体である。 2 つ目は、ファイル階層中のファイルを表現する I<FTSENT> 構造体であ"
693 "る。 I<FTSENT> 構造体は通常、ファイル階層中のすべてのファイルに対して返され"
694 "る。 この man ページでは、「ファイル」と 「I<FTSENT> 構造体」を一般に読み変え"
695 "ることができる。 I<FTSENT> 構造体は、少なくとも次のようなフィールドを持ってお"
696 "り、 以下でより詳しく説明されている。"
697
698 #. type: Plain text
699 #: build/C/man3/fts.3:127
700 #, no-wrap
701 msgid ""
702 "typedef struct _ftsent {\n"
703 "    unsigned short fts_info;     /* flags for FTSENT structure */\n"
704 "    char          *fts_accpath;  /* access path */\n"
705 "    char          *fts_path;     /* root path */\n"
706 "    short          fts_pathlen;  /* strlen(fts_path) */\n"
707 "    char          *fts_name;     /* filename */\n"
708 "    short          fts_namelen;  /* strlen(fts_name) */\n"
709 "    short          fts_level;    /* depth (-1 to N) */\n"
710 "    int            fts_errno;    /* file errno */\n"
711 "    long           fts_number;   /* local numeric value */\n"
712 "    void          *fts_pointer;  /* local address value */\n"
713 "    struct ftsent *fts_parent;   /* parent directory */\n"
714 "    struct ftsent *fts_link;     /* next file structure */\n"
715 "    struct ftsent *fts_cycle;    /* cycle structure */\n"
716 "    struct stat   *fts_statp;    /* stat(2) information */\n"
717 "} FTSENT;\n"
718 msgstr ""
719 "typedef struct _ftsent {\n"
720 "    unsigned short fts_info;     /* FTSENT 構造体のためのフラグ */\n"
721 "    char          *fts_accpath;  /* アクセスパス */\n"
722 "    char          *fts_path;     /* ルートパス */\n"
723 "    short          fts_pathlen;  /* fts_path の長さ */\n"
724 "    char          *fts_name;     /* ファイル名 */\n"
725 "    short          fts_namelen;  /* fts_name の長さ */\n"
726 "    short          fts_level;    /* 深さ (-1 〜 N) */\n"
727 "    int            fts_errno;    /* ファイルのエラー番号 */\n"
728 "    long           fts_number;   /* ローカルな番号 */\n"
729 "    void          *fts_pointer;  /* ローカルなアドレス番号 */\n"
730 "    struct ftsent *fts_parent;   /* 親ディレクトリ */\n"
731 "    struct ftsent *fts_link;     /* 次のファイル構造体 */\n"
732 "    struct ftsent *fts_cycle;    /* 循環している構造体 */\n"
733 "    struct stat   *fts_statp;    /* stat(2) の情報 */\n"
734 "} FTSENT;\n"
735
736 #.  .Bl -tag -width "fts_namelen"
737 #. type: Plain text
738 #: build/C/man3/fts.3:132
739 msgid "These fields are defined as follows:"
740 msgstr "これらのフィールドは、次のように定義されている。"
741
742 #. type: TP
743 #: build/C/man3/fts.3:132
744 #, no-wrap
745 msgid "I<fts_info>"
746 msgstr "I<fts_info>"
747
748 #.  .Bl  -tag -width FTS_DEFAULT
749 #. type: Plain text
750 #: build/C/man3/fts.3:144
751 msgid ""
752 "One of the following flags describing the returned I<FTSENT> structure and "
753 "the file it represents.  With the exception of directories without errors "
754 "(B<FTS_D>), all of these entries are terminal, that is, they will not be "
755 "revisited, nor will any of their descendants be visited."
756 msgstr ""
757 "このフィールドは、返された I<FTSENT> 構造体とファイルを説明する以下のフラグの"
758 "いずれかを表している。 エラーのないディレクトリ (B<FTS_D>), の場合は例外とし"
759 "て、それ以外のすべてのエントリは終端である。 つまり、エントリは再びたどられる"
760 "こともなく、 それより下の階層がたどられることもない。"
761
762 #. type: TP
763 #: build/C/man3/fts.3:145
764 #, no-wrap
765 msgid "B<FTS_D>"
766 msgstr "B<FTS_D>"
767
768 #. type: Plain text
769 #: build/C/man3/fts.3:148
770 msgid "A directory being visited in preorder."
771 msgstr "preorder でたどられるディレクトリ。"
772
773 #. type: TP
774 #: build/C/man3/fts.3:148
775 #, no-wrap
776 msgid "B<FTS_DC>"
777 msgstr "B<FTS_DC>"
778
779 #. type: Plain text
780 #: build/C/man3/fts.3:156
781 msgid ""
782 "A directory that causes a cycle in the tree.  (The I<fts_cycle> field of the "
783 "I<FTSENT> structure will be filled in as well.)"
784 msgstr ""
785 "ツリーの中で循環しているディレクトリ。 (I<FTSENT> 構造体の I<fts_cycle> "
786 "フィールドも同様に埋められる。)"
787
788 #. type: TP
789 #: build/C/man3/fts.3:156
790 #, no-wrap
791 msgid "B<FTS_DEFAULT>"
792 msgstr "B<FTS_DEFAULT>"
793
794 #. type: Plain text
795 #: build/C/man3/fts.3:164
796 msgid ""
797 "Any I<FTSENT> structure that represents a file type not explicitly described "
798 "by one of the other I<fts_info> values."
799 msgstr ""
800 "ファイルタイプを表現する I<FTSENT> 構造体が、 I<fts_info> の他のいずれかの値"
801 "で明示的に説明されていない。"
802
803 #. type: TP
804 #: build/C/man3/fts.3:164
805 #, no-wrap
806 msgid "B<FTS_DNR>"
807 msgstr "B<FTS_DNR>"
808
809 #. type: Plain text
810 #: build/C/man3/fts.3:170
811 msgid ""
812 "A directory which cannot be read.  This is an error return, and the "
813 "I<fts_errno> field will be set to indicate what caused the error."
814 msgstr ""
815 "読み込みができないディレクトリ。 これはエラーの場合の返り値であり、 何がエ"
816 "ラーを起こしたかを示すために I<fts_errno> フィールドが設定される。"
817
818 #. type: TP
819 #: build/C/man3/fts.3:170
820 #, no-wrap
821 msgid "B<FTS_DOT>"
822 msgstr "B<FTS_DOT>"
823
824 #. type: Plain text
825 #: build/C/man3/fts.3:180
826 msgid ""
827 "A file named \".\" or \"..\" which was not specified as a filename to "
828 "B<fts_open>()  (see B<FTS_SEEDOT>)."
829 msgstr ""
830 "B<fts_open>()  へのファイル名として指定されなかった \".\" または \"..\" とい"
831 "う名前のファイル (B<FTS_SEEDOT> を参照すること)。"
832
833 #. type: TP
834 #: build/C/man3/fts.3:180
835 #, no-wrap
836 msgid "B<FTS_DP>"
837 msgstr "B<FTS_DP>"
838
839 #. type: Plain text
840 #: build/C/man3/fts.3:190
841 msgid ""
842 "A directory being visited in postorder.  The contents of the I<FTSENT> "
843 "structure will be unchanged from when it was returned in preorder, that is, "
844 "with the I<fts_info> field set to B<FTS_D>."
845 msgstr ""
846 "postorder でたどられるディレクトリ。 I<FTSENT> 構造体の内容は、preorder のと"
847 "きに返された状態 (つまり、 I<fts_info> フィールドが B<FTS_D> に設定されている"
848 "状態) から変更されない。"
849
850 #. type: TP
851 #: build/C/man3/fts.3:190
852 #, no-wrap
853 msgid "B<FTS_ERR>"
854 msgstr "B<FTS_ERR>"
855
856 #. type: Plain text
857 #: build/C/man3/fts.3:195
858 msgid ""
859 "This is an error return, and the I<fts_errno> field will be set to indicate "
860 "what caused the error."
861 msgstr ""
862 "これはエラーの場合の返り値であり、 I<fts_errno> フィールドは、何がエラーを起"
863 "こしたかを示す値に設定される。"
864
865 #. type: TP
866 #: build/C/man3/fts.3:195
867 #, no-wrap
868 msgid "B<FTS_F>"
869 msgstr "B<FTS_F>"
870
871 #. type: Plain text
872 #: build/C/man3/fts.3:198
873 msgid "A regular file."
874 msgstr "通常のファイル。"
875
876 #. type: TP
877 #: build/C/man3/fts.3:198
878 #, no-wrap
879 msgid "B<FTS_NS>"
880 msgstr "B<FTS_NS>"
881
882 #. type: Plain text
883 #: build/C/man3/fts.3:209
884 msgid ""
885 "A file for which no B<stat>(2)  information was available.  The contents of "
886 "the I<fts_statp> field are undefined.  This is an error return, and the "
887 "I<fts_errno> field will be set to indicate what caused the error."
888 msgstr ""
889 "B<stat>(2)  情報が得られなかったファイル。 I<fts_statp> フィールドの内容は定"
890 "義されない。 これはエラーの場合の返り値であり、 I<fts_errno> フィールドは、何"
891 "がエラーを起こしたかを示す値に設定される。"
892
893 #. type: TP
894 #: build/C/man3/fts.3:209
895 #, no-wrap
896 msgid "B<FTS_NSOK>"
897 msgstr "B<FTS_NSOK>"
898
899 #. type: Plain text
900 #: build/C/man3/fts.3:217
901 msgid ""
902 "A file for which no B<stat>(2)  information was requested.  The contents of "
903 "the I<fts_statp> field are undefined."
904 msgstr ""
905 "B<stat>(2)  情報が要求されなかったファイル。 I<fts_statp> フィールドの内容は"
906 "定義されない。"
907
908 #. type: TP
909 #: build/C/man3/fts.3:217
910 #, no-wrap
911 msgid "B<FTS_SL>"
912 msgstr "B<FTS_SL>"
913
914 #. type: Plain text
915 #: build/C/man3/fts.3:220
916 msgid "A symbolic link."
917 msgstr "シンボリックリンク。"
918
919 #. type: TP
920 #: build/C/man3/fts.3:220
921 #, no-wrap
922 msgid "B<FTS_SLNONE>"
923 msgstr "B<FTS_SLNONE>"
924
925 #.  .El
926 #. type: Plain text
927 #: build/C/man3/fts.3:228
928 msgid ""
929 "A symbolic link with a nonexistent target.  The contents of the I<fts_statp> "
930 "field reference the file characteristic information for the symbolic link "
931 "itself."
932 msgstr ""
933 "リンク先の存在しないシンボリックリンク。 I<fts_statp> フィールドの内容は、シ"
934 "ンボリックリンクそのもののファイル特性情報を参照する。"
935
936 #. type: TP
937 #: build/C/man3/fts.3:229
938 #, no-wrap
939 msgid "I<fts_accpath>"
940 msgstr "I<fts_accpath>"
941
942 #. type: Plain text
943 #: build/C/man3/fts.3:232
944 msgid "A path for accessing the file from the current directory."
945 msgstr "現在のディレクトリからファイルにアクセスするためのパス。"
946
947 #. type: TP
948 #: build/C/man3/fts.3:232
949 #, no-wrap
950 msgid "I<fts_path>"
951 msgstr "I<fts_path>"
952
953 #. type: Plain text
954 #: build/C/man3/fts.3:238
955 msgid ""
956 "The path for the file relative to the root of the traversal.  This path "
957 "contains the path specified to B<fts_open>()  as a prefix."
958 msgstr ""
959 "階層をたどるときのルートからみたファイルの相対的なパス。 このパスには、 "
960 "B<fts_open>()  に指定したパスがプレフィックスとして含まれる。"
961
962 #. type: TP
963 #: build/C/man3/fts.3:238
964 #, no-wrap
965 msgid "I<fts_pathlen>"
966 msgstr "I<fts_pathlen>"
967
968 #. type: Plain text
969 #: build/C/man3/fts.3:242
970 msgid "The length of the string referenced by I<fts_path>."
971 msgstr "I<fts_path> で参照される文字列の長さ。"
972
973 #. type: TP
974 #: build/C/man3/fts.3:242
975 #, no-wrap
976 msgid "I<fts_name>"
977 msgstr "I<fts_name>"
978
979 #. type: Plain text
980 #: build/C/man3/fts.3:245
981 msgid "The name of the file."
982 msgstr "ファイルの名前。"
983
984 #. type: TP
985 #: build/C/man3/fts.3:245
986 #, no-wrap
987 msgid "I<fts_namelen>"
988 msgstr "I<fts_namelen>"
989
990 #. type: Plain text
991 #: build/C/man3/fts.3:249
992 msgid "The length of the string referenced by I<fts_name>."
993 msgstr "I<fts_name> で参照される文字列の長さ。"
994
995 #. type: TP
996 #: build/C/man3/fts.3:249
997 #, no-wrap
998 msgid "I<fts_level>"
999 msgstr "I<fts_level>"
1000
1001 #. type: Plain text
1002 #: build/C/man3/fts.3:260
1003 msgid ""
1004 "The depth of the traversal, numbered from -1 to N, where this file was "
1005 "found.  The I<FTSENT> structure representing the parent of the starting "
1006 "point (or root)  of the traversal is numbered -1, and the I<FTSENT> "
1007 "structure for the root itself is numbered 0."
1008 msgstr ""
1009 "階層をたどって、このファイルがみつかった深さ。 -1 〜 N の数値で表される。 階"
1010 "層をたどるときの出発点 (ルート) の親ディレクトリを表す I<FTSENT> 構造体では "
1011 "-1 となる。 また、ルート自身の I<FTSENT> 構造体では 0 になる。"
1012
1013 #. type: TP
1014 #: build/C/man3/fts.3:260
1015 #, no-wrap
1016 msgid "I<fts_errno>"
1017 msgstr "I<fts_errno>"
1018
1019 #. type: Plain text
1020 #: build/C/man3/fts.3:283
1021 msgid ""
1022 "Upon return of a I<FTSENT> structure from the B<fts_children>()  or "
1023 "B<fts_read>()  functions, with its I<fts_info> field set to B<FTS_DNR>, "
1024 "B<FTS_ERR> or B<FTS_NS>, the I<fts_errno> field contains the value of the "
1025 "external variable I<errno> specifying the cause of the error.  Otherwise, "
1026 "the contents of the I<fts_errno> field are undefined."
1027 msgstr ""
1028 "関数 B<fts_children>()  と B<fts_read>()  から返される I<FTSENT> 構造体の "
1029 "I<fts_info> フィールドが B<FTS_DNR>, B<FTS_ERR>, B<FTS_NS> に設定されている場"
1030 "合、 I<fts_errno> フィールドにはエラーの原因を示す外部変数 I<errno> の値が入"
1031 "る。 それ以外の場合、 I<fts_errno> フィールドの内容は定義されない。"
1032
1033 #. type: TP
1034 #: build/C/man3/fts.3:283
1035 #, no-wrap
1036 msgid "I<fts_number>"
1037 msgstr "I<fts_number>"
1038
1039 #. type: Plain text
1040 #: build/C/man3/fts.3:289
1041 msgid ""
1042 "This field is provided for the use of the application program and is not "
1043 "modified by the fts functions.  It is initialized to 0."
1044 msgstr ""
1045 "このフィールドは、アプリケーションプログラムから使用するために提供され、 fts "
1046 "関数群では変更されない。 このフィールドは 0 で初期化される。"
1047
1048 #. type: TP
1049 #: build/C/man3/fts.3:289
1050 #, no-wrap
1051 msgid "I<fts_pointer>"
1052 msgstr "I<fts_pointer>"
1053
1054 #. type: Plain text
1055 #: build/C/man3/fts.3:296
1056 msgid ""
1057 "This field is provided for the use of the application program and is not "
1058 "modified by the fts functions.  It is initialized to NULL."
1059 msgstr ""
1060 "このフィールドは、アプリケーションプログラムから使用するために提供され、 fts "
1061 "関数群では変更されない。 このフィールドは B<NULL> で初期化される。"
1062
1063 #. type: TP
1064 #: build/C/man3/fts.3:296
1065 #, no-wrap
1066 msgid "I<fts_parent>"
1067 msgstr "I<fts_parent>"
1068
1069 #. type: Plain text
1070 #: build/C/man3/fts.3:310
1071 msgid ""
1072 "A pointer to the I<FTSENT> structure referencing the file in the hierarchy "
1073 "immediately above the current file, that is, the directory of which this "
1074 "file is a member.  A parent structure for the initial entry point is "
1075 "provided as well, however, only the I<fts_level>, I<fts_number> and "
1076 "I<fts_pointer> fields are guaranteed to be initialized."
1077 msgstr ""
1078 "現在のファイルのすぐ上の階層にあるファイル (つまり、現在のファイルがメンバー"
1079 "になっているディレクトリ) を参照する I<FTSENT> 構造体へのポインタ。 最初の出"
1080 "発点に対しても、親となる構造体は与えられる。 しかし、 I<fts_level>, "
1081 "I<fts_number>, I<fts_pointer> フィールドのみの初期化しか保証されない。"
1082
1083 #. type: TP
1084 #: build/C/man3/fts.3:310
1085 #, no-wrap
1086 msgid "I<fts_link>"
1087 msgstr "I<fts_link>"
1088
1089 #. type: Plain text
1090 #: build/C/man3/fts.3:321
1091 msgid ""
1092 "Upon return from the B<fts_children>()  function, the I<fts_link> field "
1093 "points to the next structure in the NULL-terminated linked list of directory "
1094 "members.  Otherwise, the contents of the I<fts_link> field are undefined."
1095 msgstr ""
1096 "B<fts_children>()  から返される場合、 I<fts_link> フィールドはディレクトリメ"
1097 "ンバーのヌル終端されたリンクリストの形式で、 次の構造体を指し示す。 それ以外"
1098 "の場合、 I<fts_link> フィールドは定義されない。"
1099
1100 #. type: TP
1101 #: build/C/man3/fts.3:321
1102 #, no-wrap
1103 msgid "I<fts_cycle>"
1104 msgstr "I<fts_cycle>"
1105
1106 #. type: Plain text
1107 #: build/C/man3/fts.3:337
1108 msgid ""
1109 "If a directory causes a cycle in the hierarchy (see B<FTS_DC>), either "
1110 "because of a hard link between two directories, or a symbolic link pointing "
1111 "to a directory, the I<fts_cycle> field of the structure will point to the "
1112 "I<FTSENT> structure in the hierarchy that references the same file as the "
1113 "current I<FTSENT> structure.  Otherwise, the contents of the I<fts_cycle> "
1114 "field are undefined."
1115 msgstr ""
1116 "2 つのディレクトリにハードリンクが張られているため、 または、シンボリックリン"
1117 "クがあるディレクトリを指しているために、 ディレクトリが循環する階層構造を作っ"
1118 "ている場合 (B<FTS_DC> を参照)、 構造体の I<fts_cycle> フィールドは、階層中で"
1119 "現在の I<FTSENT> 構造体と同じファイルを参照している I<FTSENT> 構造体を指し示"
1120 "す。 それ以外の場合、 I<fts_cycle> フィールドは定義されない。"
1121
1122 #. type: TP
1123 #: build/C/man3/fts.3:337
1124 #, no-wrap
1125 msgid "I<fts_statp>"
1126 msgstr "I<fts_statp>"
1127
1128 #.  .El
1129 #. type: Plain text
1130 #: build/C/man3/fts.3:343
1131 msgid "A pointer to B<stat>(2)  information for the file."
1132 msgstr "このファイルの B<stat>(2)  情報へのポインタ。"
1133
1134 #. type: Plain text
1135 #: build/C/man3/fts.3:370
1136 msgid ""
1137 "A single buffer is used for all of the paths of all of the files in the file "
1138 "hierarchy.  Therefore, the I<fts_path> and I<fts_accpath> fields are "
1139 "guaranteed to be null-terminated I<only> for the file most recently returned "
1140 "by B<fts_read>().  To use these fields to reference any files represented by "
1141 "other I<FTSENT> structures will require that the path buffer be modified "
1142 "using the information contained in that I<FTSENT> structure's I<fts_pathlen> "
1143 "field.  Any such modifications should be undone before further calls to "
1144 "B<fts_read>()  are attempted.  The I<fts_name> field is always null-"
1145 "terminated."
1146 msgstr ""
1147 "ファイル階層中のすべてのファイルのパスに対して、 ただ 1 つのバッファーが使わ"
1148 "れる。 したがって、 I<fts_path> と I<fts_accpath> フィールドは、 "
1149 "B<fts_read>()  によって返された最も新しいファイルに対して「のみ」ヌル終端され"
1150 "ることが保証される。 これらのフィールドを、他の I<FTSENT> 構造体で表現される"
1151 "ファイルを参照するために使うには、 I<FTSENT> 構造体の I<fts_pathlen> フィール"
1152 "ドにある情報を使ってパスのバッファーを修正する必要がある。 これらの修正は、さ"
1153 "らに B<fts_read>()  を呼び出そうとする場合には、元に戻しておかなければならな"
1154 "い。 I<fts_name> フィールドは、常に B<NUL> 終端される。"
1155
1156 #. type: SS
1157 #: build/C/man3/fts.3:370
1158 #, no-wrap
1159 msgid "fts_open()"
1160 msgstr "fts_open()"
1161
1162 #. type: Plain text
1163 #: build/C/man3/fts.3:377
1164 msgid ""
1165 "The B<fts_open>()  function takes a pointer to an array of character "
1166 "pointers naming one or more paths which make up a logical file hierarchy to "
1167 "be traversed.  The array must be terminated by a null pointer."
1168 msgstr ""
1169 "B<fts_open>()  関数は、文字列ポインタの配列へのポインタを引き数に取る。 この"
1170 "文字列ポインタは、論理ファイル階層をつくる 1 つ以上のパスの名前になる。 配列"
1171 "は、 null ポインタで終端されなければならない。"
1172
1173 #.  .Bl -tag -width "FTS_PHYSICAL"
1174 #. type: Plain text
1175 #: build/C/man3/fts.3:387
1176 msgid ""
1177 "There are a number of options, at least one of which (either B<FTS_LOGICAL> "
1178 "or B<FTS_PHYSICAL>)  must be specified.  The options are selected by ORing "
1179 "the following values:"
1180 msgstr ""
1181 "多くのオプションがあり、少なくとも 1 つ (B<FTS_LOGICAL> または "
1182 "B<FTS_PHYSICAL>)  が指定されなければならない。 オプションは以下の値の論理和を"
1183 "とって選択する。"
1184
1185 #. type: TP
1186 #: build/C/man3/fts.3:387
1187 #, no-wrap
1188 msgid "B<FTS_COMFOLLOW>"
1189 msgstr "B<FTS_COMFOLLOW>"
1190
1191 #. type: Plain text
1192 #: build/C/man3/fts.3:393
1193 msgid ""
1194 "This option causes any symbolic link specified as a root path to be followed "
1195 "immediately whether or not B<FTS_LOGICAL> is also specified."
1196 msgstr ""
1197 "このオプションは、 B<FTS_LOGICAL> の指定にかかわらず、 ルートパスに指定された"
1198 "シンボリックリンクをすぐにたどらせる。"
1199
1200 #. type: TP
1201 #: build/C/man3/fts.3:393
1202 #, no-wrap
1203 msgid "B<FTS_LOGICAL>"
1204 msgstr "B<FTS_LOGICAL>"
1205
1206 #. type: Plain text
1207 #: build/C/man3/fts.3:412
1208 msgid ""
1209 "This option causes the fts routines to return I<FTSENT> structures for the "
1210 "targets of symbolic links instead of the symbolic links themselves.  If this "
1211 "option is set, the only symbolic links for which I<FTSENT> structures are "
1212 "returned to the application are those referencing nonexistent files.  Either "
1213 "B<FTS_LOGICAL> or B<FTS_PHYSICAL> I<must> be provided to the B<fts_open>()  "
1214 "function."
1215 msgstr ""
1216 "このオプションは、 fts ルーチンにシンボリックリンクそのものではなく、 シンボ"
1217 "リックリンクが指しているファイルの I<FTSENT> 構造体を返させる。 このオプショ"
1218 "ンが設定された場合、 I<FTSENT> 構造体がアプリケーションに返されるような シン"
1219 "ボリックリンクのみが、存在しないファイルを参照している。 B<FTS_LOGICAL> また"
1220 "は B<FTS_PHYSICAL> のどちらかを、 B<fts_open>()  関数に与えなければ「ならな"
1221 "い」。"
1222
1223 #. type: TP
1224 #: build/C/man3/fts.3:412
1225 #, no-wrap
1226 msgid "B<FTS_NOCHDIR>"
1227 msgstr "B<FTS_NOCHDIR>"
1228
1229 #. type: Plain text
1230 #: build/C/man3/fts.3:428
1231 msgid ""
1232 "As a performance optimization, the fts functions change directories as they "
1233 "walk the file hierarchy.  This has the side-effect that an application "
1234 "cannot rely on being in any particular directory during the traversal.  The "
1235 "B<FTS_NOCHDIR> option turns off this optimization, and the fts functions "
1236 "will not change the current directory.  Note that applications should not "
1237 "themselves change their current directory and try to access files unless "
1238 "B<FTS_NOCHDIR> is specified and absolute pathnames were provided as "
1239 "arguments to B<fts_open>()."
1240 msgstr ""
1241 "パフォーマンスの最適化のため、 fts 関数群はファイル階層をたどるときディレクト"
1242 "リを変える。 これには、階層をたどっている間は アプリケーションがある特定の"
1243 "ディレクトリにいるということに 依存できない、という副作用がある。 "
1244 "B<FTS_NOCHDIR> オプションで最適化を無効にすると、 fts 関数群は現在のディレク"
1245 "トリを変更しない。 B<FTS_NOCHDIR> が指定され、かつ B<fts_open>()  の引き数と"
1246 "して絶対パス名が与えられたとき以外、アプリケーションは、 自らカレントディレク"
1247 "トリを変更したり、 ファイルにアクセスしたりすべきではない、という点に注意する"
1248 "こと。"
1249
1250 #. type: TP
1251 #: build/C/man3/fts.3:428
1252 #, no-wrap
1253 msgid "B<FTS_NOSTAT>"
1254 msgstr "B<FTS_NOSTAT>"
1255
1256 #. type: Plain text
1257 #: build/C/man3/fts.3:444
1258 msgid ""
1259 "By default, returned I<FTSENT> structures reference file characteristic "
1260 "information (the I<statp> field) for each file visited.  This option relaxes "
1261 "that requirement as a performance optimization, allowing the fts functions "
1262 "to set the I<fts_info> field to B<FTS_NSOK> and leave the contents of the "
1263 "I<statp> field undefined."
1264 msgstr ""
1265 "デフォルトでは、返された I<FTSENT> 構造体は、たどられた各ファイルについての"
1266 "ファイル特徴情報 I<( statp> フィールド) を参照する。 このオプションは、 fts "
1267 "関数群が I<fts_info> フィールドを B<FTS_NSOK> に設定し I<statp> の内容を定義"
1268 "されないままにすることを許すことにより、 パフォーマンスの最適化に必要なものを"
1269 "緩和する。"
1270
1271 #. type: TP
1272 #: build/C/man3/fts.3:444
1273 #, no-wrap
1274 msgid "B<FTS_PHYSICAL>"
1275 msgstr "B<FTS_PHYSICAL>"
1276
1277 #. type: Plain text
1278 #: build/C/man3/fts.3:463
1279 msgid ""
1280 "This option causes the fts routines to return I<FTSENT> structures for "
1281 "symbolic links themselves instead of the target files they point to.  If "
1282 "this option is set, I<FTSENT> structures for all symbolic links in the "
1283 "hierarchy are returned to the application.  Either B<FTS_LOGICAL> or "
1284 "B<FTS_PHYSICAL> I<must> be provided to the B<fts_open>()  function."
1285 msgstr ""
1286 "このオプションは、 fts ルーチンにシンボリックリンクが指しているファイルではな"
1287 "く、 シンボリックリンク自身の I<FTSENT> 構造体を返させる。 このオプションが設"
1288 "定されると、階層中のすべてのシンボリックリンクの I<FTSENT> 構造体がアプリケー"
1289 "ションに返される。 B<FTS_LOGICAL> または B<FTS_PHYSICAL> のどちらかを "
1290 "B<fts_open>()  関数に与えなければ「ならない」。"
1291
1292 #. type: TP
1293 #: build/C/man3/fts.3:463
1294 #, no-wrap
1295 msgid "B<FTS_SEEDOT>"
1296 msgstr "B<FTS_SEEDOT>"
1297
1298 #. type: Plain text
1299 #: build/C/man3/fts.3:476
1300 msgid ""
1301 "By default, unless they are specified as path arguments to B<fts_open>(), "
1302 "any files named \".\" or \"..\" encountered in the file hierarchy are "
1303 "ignored.  This option causes the fts routines to return I<FTSENT> structures "
1304 "for them."
1305 msgstr ""
1306 "デフォルトでは、 B<fts_open>()  のパス引き数として指定されない限り、ファイル"
1307 "階層中にある \".\" または \"..\" という名前のファイルは無視される。 このオプ"
1308 "ションは、 fts ルーチンにこれらのファイルの I<FTSENT> 構造体を返させる。"
1309
1310 #. type: TP
1311 #: build/C/man3/fts.3:476
1312 #, no-wrap
1313 msgid "B<FTS_XDEV>"
1314 msgstr "B<FTS_XDEV>"
1315
1316 #.  .El
1317 #. type: Plain text
1318 #: build/C/man3/fts.3:482
1319 msgid ""
1320 "This option prevents fts from descending into directories that have a "
1321 "different device number than the file from which the descent began."
1322 msgstr ""
1323 "このオプションは、 fts が下り始めのファイルとは異なるデバイス番号を持ってい"
1324 "る ディレクトリに下りるのを阻止する。"
1325
1326 #. type: Plain text
1327 #: build/C/man3/fts.3:521
1328 msgid ""
1329 "The argument B<compar>()  specifies a user-defined function which may be "
1330 "used to order the traversal of the hierarchy.  It takes two pointers to "
1331 "pointers to I<FTSENT> structures as arguments and should return a negative "
1332 "value, zero, or a positive value to indicate if the file referenced by its "
1333 "first argument comes before, in any order with respect to, or after, the "
1334 "file referenced by its second argument.  The I<fts_accpath>, I<fts_path> and "
1335 "I<fts_pathlen> fields of the I<FTSENT> structures may I<never> be used in "
1336 "this comparison.  If the I<fts_info> field is set to B<FTS_NS> or "
1337 "B<FTS_NSOK>, the I<fts_statp> field may not either.  If the B<compar>()  "
1338 "argument is NULL, the directory traversal order is in the order listed in "
1339 "I<path_argv> for the root paths, and in the order listed in the directory "
1340 "for everything else."
1341 msgstr ""
1342 "引き数 B<compar>()  は、階層をたどる順番を決めるのに使われるユーザー定義関数"
1343 "を指定する。 この関数は、引き数として I<FTSENT> 構造体のポインタのポインタを "
1344 "2 つとり、 1 番目の引き数で参照されているファイルが 2 番目の引き数で参照され"
1345 "ているファイルより 前にある場合は負の値・同じ場合はゼロ・後にある場合は正の値"
1346 "を 返さなければならない。 I<FTSENT> 構造体の I<fts_accpath>, I<fts_path>, "
1347 "I<fts_pathlen> フィールドは、この比較に「絶対」使ってはいけない。 "
1348 "I<fts_info> フィールドが B<FTS_NS> または B<FTS_NSOK> に設定される場合、 "
1349 "I<fts_statp> フィールドはこれらのどちらでもない。 B<compar>()  引き数が "
1350 "B<NULL> の場合、ディレクトリをたどる順番は、ルートパスについては "
1351 "I<path_argv> のなかでリストされた順番で、 その他のファイルについてはディレク"
1352 "トリ内でリストされた順番となる。"
1353
1354 #. type: SS
1355 #: build/C/man3/fts.3:521
1356 #, no-wrap
1357 msgid "fts_read()"
1358 msgstr "fts_read()"
1359
1360 #. type: Plain text
1361 #: build/C/man3/fts.3:534
1362 msgid ""
1363 "The B<fts_read>()  function returns a pointer to an I<FTSENT> structure "
1364 "describing a file in the hierarchy.  Directories (that are readable and do "
1365 "not cause cycles) are visited at least twice, once in preorder and once in "
1366 "postorder.  All other files are visited at least once.  (Hard links between "
1367 "directories that do not cause cycles or symbolic links to symbolic links may "
1368 "cause files to be visited more than once, or directories more than twice.)"
1369 msgstr ""
1370 "B<fts_read>()  関数は、階層中のファイルを記述する I<FTSENT> 構造体へのポイン"
1371 "タを返す。 (読み込み可能で、循環していない) ディレクトリは、 1 回は preorder "
1372 "で、もう 1 回は postorder で、少なくとも 2 回たどられる。 他のファイルは、少"
1373 "なくとも 1 回たどられる。 (ディレクトリ間のハードリンクによって 循環やシンボ"
1374 "リックリンクへのシンボリックリンクが起こらない場合、 ファイルは 2 回以上、"
1375 "ディレクトリは 3 回以上たどられる。)"
1376
1377 #. type: Plain text
1378 #: build/C/man3/fts.3:555
1379 msgid ""
1380 "If all the members of the hierarchy have been returned, B<fts_read>()  "
1381 "returns NULL and sets the external variable I<errno> to 0.  If an error "
1382 "unrelated to a file in the hierarchy occurs, B<fts_read>()  returns NULL and "
1383 "sets I<errno> appropriately.  If an error related to a returned file occurs, "
1384 "a pointer to an I<FTSENT> structure is returned, and I<errno> may or may not "
1385 "have been set (see I<fts_info>)."
1386 msgstr ""
1387 "階層中のすべてのメンバーが返された場合、 B<fts_read>()  は B<NULL> を返し、外"
1388 "部変数 I<errno> を 0 にする。 階層中のファイルに関係しないエラーが起こった場"
1389 "合、 B<fts_read>()  は B<NULL> を返し、 I<errno> をエラーに対応した値にす"
1390 "る。 階層中のファイルに関係したエラーが起こった場合、 I<FTSENT> 構造体へのポ"
1391 "インタが返され、 I<errno> は設定される場合と設定されない場合がある "
1392 "(I<fts_info> を参照すること)。"
1393
1394 #. type: Plain text
1395 #: build/C/man3/fts.3:572
1396 msgid ""
1397 "The I<FTSENT> structures returned by B<fts_read>()  may be overwritten after "
1398 "a call to B<fts_close>()  on the same file hierarchy stream, or, after a "
1399 "call to B<fts_read>()  on the same file hierarchy stream unless they "
1400 "represent a file of type directory, in which case they will not be "
1401 "overwritten until after a call to B<fts_read>()  after the I<FTSENT> "
1402 "structure has been returned by the function B<fts_read>()  in postorder."
1403 msgstr ""
1404 "B<fts_read>()  によって返される I<FTSENT> 構造体は、同じファイル階層ストリー"
1405 "ムへの B<fts_close>()  の呼出しの後に上書きされる。 また、同じファイル階層ス"
1406 "トリームへの B<fts_read>()  の呼出しの後でも、構造体がディレクトリを表現して"
1407 "いない限り上書きされる。 この場合、 B<fts_read>()  関数によって postorder で "
1408 "I<FTSENT> 構造体が返された後、 B<fts_read>()  の呼出しがあるまで、 これらの構"
1409 "造体は上書きされない。"
1410
1411 #. type: SS
1412 #: build/C/man3/fts.3:572
1413 #, no-wrap
1414 msgid "fts_children()"
1415 msgstr "fts_children()"
1416
1417 #. type: Plain text
1418 #: build/C/man3/fts.3:590
1419 msgid ""
1420 "The B<fts_children>()  function returns a pointer to an I<FTSENT> structure "
1421 "describing the first entry in a NULL-terminated linked list of the files in "
1422 "the directory represented by the I<FTSENT> structure most recently returned "
1423 "by B<fts_read>().  The list is linked through the I<fts_link> field of the "
1424 "I<FTSENT> structure, and is ordered by the user-specified comparison "
1425 "function, if any.  Repeated calls to B<fts_children>()  will re-create this "
1426 "linked list."
1427 msgstr ""
1428 "B<fts_children>()  関数は、 I<FTSENT> 構造体へのポインタを返す。 この構造体"
1429 "は、( B<fts_read>()  で最も新しく返された I<FTSENT> 構造体で表現されるディレ"
1430 "クトリにあるファイルの) ヌル終端されたリンクリストの最初のエントリを記述す"
1431 "る。 このリストは、 I<FTSENT> 構造体の I<fts_link> フィールドを使ってリンクさ"
1432 "れ、 ユーザー指定の比較関数がある場合は、それで順序づけられる。 "
1433 "B<fts_children>()  の呼出しを繰り返すことで、 このリンクリストは再生成され"
1434 "る。"
1435
1436 #. type: Plain text
1437 #: build/C/man3/fts.3:618
1438 msgid ""
1439 "As a special case, if B<fts_read>()  has not yet been called for a "
1440 "hierarchy, B<fts_children>()  will return a pointer to the files in the "
1441 "logical directory specified to B<fts_open>(), that is, the arguments "
1442 "specified to B<fts_open>().  Otherwise, if the I<FTSENT> structure most "
1443 "recently returned by B<fts_read>()  is not a directory being visited in "
1444 "preorder, or the directory does not contain any files, B<fts_children>()  "
1445 "returns NULL and sets I<errno> to zero.  If an error occurs, "
1446 "B<fts_children>()  returns NULL and sets I<errno> appropriately."
1447 msgstr ""
1448 "特別な場合として、 B<fts_read>()  がファイル階層について呼ばれていない場合、 "
1449 "B<fts_children>()  は B<fts_open>()  に指定された論理ディレクトリ (つまり、 "
1450 "B<fts_open>()  に指定された引き数) の中にあるファイルへのポインタを返す。 そ"
1451 "れ以外の場合で、 B<fts_read>()  によって最も新しく返された I<FTSENT> 構造体"
1452 "が preorder でたどられたディレクトリでない場合や 何も含んでいないディレクトリ"
1453 "の場合は、 B<fts_children>()  は B<NULL> を返し、 I<errno> を 0 にする。 エ"
1454 "ラーが起こった場合、 B<fts_children>()  は B<NULL> を返し、 I<errno> をエラー"
1455 "に対応した値にする。"
1456
1457 #. type: Plain text
1458 #: build/C/man3/fts.3:629
1459 msgid ""
1460 "The I<FTSENT> structures returned by B<fts_children>()  may be overwritten "
1461 "after a call to B<fts_children>(), B<fts_close>()  or B<fts_read>()  on the "
1462 "same file hierarchy stream."
1463 msgstr ""
1464 "B<fts_children>()  によって返される I<FTSENT> 構造体は、同じファイル階層スト"
1465 "リームへの B<fts_children>(), B<fts_close>(), B<fts_read>()  の呼出しの後に上"
1466 "書きされる場合がある。"
1467
1468 #.  .Bl -tag -width FTS_NAMEONLY
1469 #. type: Plain text
1470 #: build/C/man3/fts.3:633
1471 msgid "I<Option> may be set to the following value:"
1472 msgstr "I<option> は、次の値に設定できる。"
1473
1474 #. type: TP
1475 #: build/C/man3/fts.3:633
1476 #, no-wrap
1477 msgid "B<FTS_NAMEONLY>"
1478 msgstr "B<FTS_NAMEONLY>"
1479
1480 #.  .El
1481 #. type: Plain text
1482 #: build/C/man3/fts.3:643
1483 msgid ""
1484 "Only the names of the files are needed.  The contents of all the fields in "
1485 "the returned linked list of structures are undefined with the exception of "
1486 "the I<fts_name> and I<fts_namelen> fields."
1487 msgstr ""
1488 "ファイル名のみが必要とされている。 返された構造体のリンクリストの "
1489 "I<fts_name>, I<fts_namelen> フィールド以外の すべてのフィールドの内容は定義さ"
1490 "れない。"
1491
1492 #. type: SS
1493 #: build/C/man3/fts.3:643
1494 #, no-wrap
1495 msgid "fts_set()"
1496 msgstr "fts_set()"
1497
1498 #.  .Bl -tag -width FTS_PHYSICAL
1499 #. type: Plain text
1500 #: build/C/man3/fts.3:658
1501 msgid ""
1502 "The function B<fts_set>()  allows the user application to determine further "
1503 "processing for the file I<f> of the stream I<ftsp>.  The B<fts_set>()  "
1504 "function returns 0 on success, and -1 if an error occurs.  I<Option> must be "
1505 "set to one of the following values:"
1506 msgstr ""
1507 "関数 B<fts_set>()  は、ユーザーアプリケーションが ストリーム I<ftsp> のファイ"
1508 "ル I<f> について更なる処理を決定すること許す。 B<fts_set>()  関数は、成功した"
1509 "場合は 0 を、エラーが起こった場合は -1 を返す。 I<option> は、次の値のいずれ"
1510 "か 1 つに設定されなければならない。"
1511
1512 #. type: TP
1513 #: build/C/man3/fts.3:658
1514 #, no-wrap
1515 msgid "B<FTS_AGAIN>"
1516 msgstr "B<FTS_AGAIN>"
1517
1518 #. type: Plain text
1519 #: build/C/man3/fts.3:676
1520 msgid ""
1521 "Revisit the file; any file type may be revisited.  The next call to "
1522 "B<fts_read>()  will return the referenced file.  The I<fts_stat> and "
1523 "I<fts_info> fields of the structure will be reinitialized at that time, but "
1524 "no other fields will have been changed.  This option is meaningful only for "
1525 "the most recently returned file from B<fts_read>().  Normal use is for "
1526 "postorder directory visits, where it causes the directory to be revisited "
1527 "(in both preorder and postorder) as well as all of its descendants."
1528 msgstr ""
1529 "ファイルを再びたどる。すべてのファイルタイプが再びたどられる。 次の "
1530 "B<fts_read>()  の呼出しにより、参照されているファイルが返される。 構造体の "
1531 "I<fts_stat>, I<fts_info> フィールドはこの時に初期化されるが、他のフィールドは"
1532 "変更されない。 このオプションは、 B<fts_read>()  によって最も新しく返された"
1533 "ファイルについてのみ意味を持つ。 通常は、postorder でディレクトリをたどる場合"
1534 "に使用し、 その下の階層と同様に、 ディレクトリを (preorder と postorder の両"
1535 "方で) 再びたどらせる。"
1536
1537 #. type: TP
1538 #: build/C/man3/fts.3:676
1539 #, no-wrap
1540 msgid "B<FTS_FOLLOW>"
1541 msgstr "B<FTS_FOLLOW>"
1542
1543 #. type: Plain text
1544 #: build/C/man3/fts.3:704
1545 msgid ""
1546 "The referenced file must be a symbolic link.  If the referenced file is the "
1547 "one most recently returned by B<fts_read>(), the next call to B<fts_read>()  "
1548 "returns the file with the I<fts_info> and I<fts_statp> fields reinitialized "
1549 "to reflect the target of the symbolic link instead of the symbolic link "
1550 "itself.  If the file is one of those most recently returned by "
1551 "B<fts_children>(), the I<fts_info> and I<fts_statp> fields of the structure, "
1552 "when returned by B<fts_read>(), will reflect the target of the symbolic link "
1553 "instead of the symbolic link itself.  In either case, if the target of the "
1554 "symbolic link does not exist, the fields of the returned structure will be "
1555 "unchanged and the I<fts_info> field will be set to B<FTS_SLNONE>."
1556 msgstr ""
1557 "参照されてるファイルは、シンボリックリンクでなければならない。 参照されている"
1558 "ファイルが B<fts_read>()  によって最も新しく返されたものである場合、次の "
1559 "B<fts_read>()  の呼出しでは、シンボリックリンクそのものではなく、 シンボリッ"
1560 "クリンクが指している先を反映するように I<fts_info>, I<fts_statp> を再び初期化"
1561 "したファイルが返される。 ファイルが B<fts_children>()  によって最も新しく返さ"
1562 "れたものの 1 つである場合、 B<fts_read>()  によって返されたとき、構造体の "
1563 "I<fts_info>, I<fts_statp> フィールドは、シンボリックリンクそのものではなく、 "
1564 "シンボリックリンクが指している先を反映する。 どちらの場合でも、シンボリックリ"
1565 "ンクが指している先がないときは、 返された構造体のフィールドは変更されず、 "
1566 "I<fts_info> フィールドが B<FTS_SLNONE> に設定される。"
1567
1568 #. type: Plain text
1569 #: build/C/man3/fts.3:708
1570 msgid ""
1571 "If the target of the link is a directory, the preorder return, followed by "
1572 "the return of all of its descendants, followed by a postorder return, is "
1573 "done."
1574 msgstr ""
1575 "リンク先がディレクトリの場合、 ファイルが preorder で返された後、下の階層のす"
1576 "べてファイルが返され、 その後で postorder で返される。"
1577
1578 #. type: TP
1579 #: build/C/man3/fts.3:708
1580 #, no-wrap
1581 msgid "B<FTS_SKIP>"
1582 msgstr "B<FTS_SKIP>"
1583
1584 #.  .El
1585 #. type: Plain text
1586 #: build/C/man3/fts.3:716
1587 msgid ""
1588 "No descendants of this file are visited.  The file may be one of those most "
1589 "recently returned by either B<fts_children>()  or B<fts_read>()."
1590 msgstr ""
1591 "このファイルの下の階層はたどられない。 このファイルは、 B<fts_children>()  ま"
1592 "たは B<fts_read>()  のどちらかによって最も新しく返されたものの 1 つである。"
1593
1594 #. type: SS
1595 #: build/C/man3/fts.3:716
1596 #, no-wrap
1597 msgid "fts_close()"
1598 msgstr "fts_close()"
1599
1600 #. type: Plain text
1601 #: build/C/man3/fts.3:729
1602 msgid ""
1603 "The B<fts_close>()  function closes a file hierarchy stream I<ftsp> and "
1604 "restores the current directory to the directory from which B<fts_open>()  "
1605 "was called to open I<ftsp>.  The B<fts_close>()  function returns 0 on "
1606 "success, and -1 if an error occurs."
1607 msgstr ""
1608 "B<fts_close>()  関数は、ファイル階層ストリーム I<ftsp> を閉じる。そして、現在"
1609 "のディレクトリを I<ftsp> を開くために B<fts_open>()  が呼ばれたディレクトリに"
1610 "復元する。 B<fts_close>()  関数は、成功した場合は 0 を、エラーが起こった場合"
1611 "は -1 を返す。"
1612
1613 #. type: SH
1614 #: build/C/man3/fts.3:729 build/C/man2/getxattr.2:106
1615 #: build/C/man3/isfdtype.3:83 build/C/man2/listxattr.2:127
1616 #: build/C/man2/mount.2:318 build/C/man2/removexattr.2:83
1617 #: build/C/man2/setxattr.2:110 build/C/man2/spu_create.2:172
1618 #: build/C/man2/spu_run.2:153 build/C/man2/stat.2:522
1619 #: build/C/man2/statfs.2:162 build/C/man3/statvfs.3:101
1620 #: build/C/man2/sysfs.2:79 build/C/man2/umount.2:104 build/C/man2/ustat.2:79
1621 #, no-wrap
1622 msgid "ERRORS"
1623 msgstr "エラー"
1624
1625 #. type: Plain text
1626 #: build/C/man3/fts.3:738
1627 msgid ""
1628 "The function B<fts_open>()  may fail and set I<errno> for any of the errors "
1629 "specified for B<open>(2)  and B<malloc>(3)."
1630 msgstr ""
1631 "関数 B<fts_open>()  が失敗した場合、 I<errno> は、ライブラリ関数 B<open>(2)  "
1632 "と B<malloc>(3)  に対して指定されるエラーに設定される。"
1633
1634 #. type: Plain text
1635 #: build/C/man3/fts.3:747
1636 msgid ""
1637 "The function B<fts_close>()  may fail and set I<errno> for any of the errors "
1638 "specified for B<chdir>(2)  and B<close>(2)."
1639 msgstr ""
1640 "関数 B<fts_close>()  が失敗した場合、 I<errno> は、ライブラリ関数 "
1641 "B<chdir>(2)  と B<close>(2)  に対して指定されるエラーに設定される。"
1642
1643 #. type: Plain text
1644 #: build/C/man3/fts.3:761
1645 msgid ""
1646 "The functions B<fts_read>()  and B<fts_children>()  may fail and set "
1647 "I<errno> for any of the errors specified for B<chdir>(2), B<malloc>(3), "
1648 "B<opendir>(3), B<readdir>(3), and B<stat>(2)."
1649 msgstr ""
1650 "関数 B<fts_read>()  と B<fts_children>()  が失敗した場合、 I<errno> は、ライ"
1651 "ブラリ関数 B<chdir>(2), B<malloc>(3), B<opendir>(3), B<readdir>(3), "
1652 "B<stat>(2)  に対して指定されるエラーに設定される。"
1653
1654 #. type: Plain text
1655 #: build/C/man3/fts.3:770
1656 msgid ""
1657 "In addition, B<fts_children>(), B<fts_open>(), and B<fts_set>()  may fail "
1658 "and set I<errno> as follows:"
1659 msgstr ""
1660 "更に、 B<fts_children>(), B<fts_open>(), B<fts_set>()  が失敗した場合、 "
1661 "I<errno> が次の値にされる。"
1662
1663 #. type: TP
1664 #: build/C/man3/fts.3:770 build/C/man2/mount.2:354
1665 #: build/C/man2/spu_create.2:186 build/C/man2/spu_run.2:174
1666 #: build/C/man2/stat.2:585 build/C/man2/sysfs.2:84 build/C/man2/umount.2:125
1667 #: build/C/man2/umount.2:129 build/C/man2/ustat.2:84
1668 #, no-wrap
1669 msgid "B<EINVAL>"
1670 msgstr "B<EINVAL>"
1671
1672 #. type: Plain text
1673 #: build/C/man3/fts.3:773
1674 msgid "The options were invalid."
1675 msgstr "オプションが無効であった。"
1676
1677 #. type: SH
1678 #: build/C/man3/fts.3:773 build/C/man3/ftw.3:339 build/C/man2/getxattr.2:130
1679 #: build/C/man2/listxattr.2:142 build/C/man2/mount.2:412
1680 #: build/C/man2/removexattr.2:99 build/C/man2/setxattr.2:141
1681 #: build/C/man2/spu_create.2:246 build/C/man2/spu_run.2:188
1682 #: build/C/man2/stat.2:595 build/C/man2/umount.2:156
1683 #, no-wrap
1684 msgid "VERSIONS"
1685 msgstr "バージョン"
1686
1687 #. type: Plain text
1688 #: build/C/man3/fts.3:775
1689 msgid "These functions are available in Linux since glibc2."
1690 msgstr "これらの関数は、Linux では glibc2 から使用可能である。"
1691
1692 #. type: SH
1693 #: build/C/man3/fts.3:775 build/C/man3/ftw.3:342 build/C/man3/getfsent.3:115
1694 #: build/C/man3/getmntent.3:202 build/C/man2/getxattr.2:133
1695 #: build/C/man3/isfdtype.3:88 build/C/man2/listxattr.2:145
1696 #: build/C/man2/mount.2:423 build/C/man2/removexattr.2:102
1697 #: build/C/man2/setxattr.2:144 build/C/man2/spu_create.2:250
1698 #: build/C/man2/spu_run.2:192 build/C/man2/stat.2:599
1699 #: build/C/man2/statfs.2:218 build/C/man3/statvfs.3:164
1700 #: build/C/man2/sysfs.2:92 build/C/man2/umount.2:162 build/C/man2/ustat.2:94
1701 #, no-wrap
1702 msgid "CONFORMING TO"
1703 msgstr "準拠"
1704
1705 #. type: Plain text
1706 #: build/C/man3/fts.3:777
1707 msgid "4.4BSD."
1708 msgstr "4.4BSD."
1709
1710 #. type: SH
1711 #: build/C/man3/fts.3:777 build/C/man2/statfs.2:305 build/C/man2/sysfs.2:101
1712 #, no-wrap
1713 msgid "BUGS"
1714 msgstr "バグ"
1715
1716 #.  https://sourceware.org/bugzilla/show_bug.cgi?id=15838
1717 #.  https://sourceware.org/bugzilla/show_bug.cgi?id=11460
1718 #.  The following statement is years old, and seems no closer to
1719 #.  being true -- mtk
1720 #.  The
1721 #.  .I fts
1722 #.  utility is expected to be included in a future
1723 #.  POSIX.1
1724 #.  revision.
1725 #. type: Plain text
1726 #: build/C/man3/fts.3:790
1727 msgid ""
1728 "All of the APIs described in this man page are not safe when compiling a "
1729 "program using the LFS APIs (e.g., when compiling with I<-"
1730 "D_FILE_OFFSET_BITS=64>)."
1731 msgstr ""
1732 "このマニュアルページで説明した API はいずれも、 LFS API を使うプログラムをコ"
1733 "ンパイルする場合 (例えば、I<-D_FILE_OFFSET_BITS=64> でコンパイルする場合な"
1734 "ど)、安全ではない。"
1735
1736 #. type: Plain text
1737 #: build/C/man3/fts.3:796
1738 msgid "B<find>(1), B<chdir>(2), B<stat>(2), B<ftw>(3), B<qsort>(3)"
1739 msgstr "B<find>(1), B<chdir>(2), B<stat>(2), B<ftw>(3), B<qsort>(3)"
1740
1741 #. type: TH
1742 #: build/C/man3/ftw.3:35
1743 #, no-wrap
1744 msgid "FTW"
1745 msgstr "FTW"
1746
1747 #. type: TH
1748 #: build/C/man3/ftw.3:35
1749 #, no-wrap
1750 msgid "2014-12-31"
1751 msgstr "2014-12-31"
1752
1753 #. type: Plain text
1754 #: build/C/man3/ftw.3:38
1755 msgid "ftw, nftw - file tree walk"
1756 msgstr "ftw, nftw - ファイルツリーを歩きまわる"
1757
1758 #. type: Plain text
1759 #: build/C/man3/ftw.3:41
1760 #, no-wrap
1761 msgid "B<#include E<lt>ftw.hE<gt>>\n"
1762 msgstr "B<#include E<lt>ftw.hE<gt>>\n"
1763
1764 #. type: Plain text
1765 #: build/C/man3/ftw.3:46
1766 #, no-wrap
1767 msgid ""
1768 "B<int ftw(const char *>I<dirpath>B<,>\n"
1769 "B<        int (*>I<fn>B<) (const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
1770 "B<                   int >I<typeflag>B<),>\n"
1771 "B<        int >I<nopenfd>B<);>\n"
1772 msgstr ""
1773 "B<int ftw(const char *>I<dirpath>B<,>\n"
1774 "B<        int (*>I<fn>B<) (const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
1775 "B<                   int >I<typeflag>B<),>\n"
1776 "B<        int >I<nopenfd>B<);>\n"
1777
1778 #. type: Plain text
1779 #: build/C/man3/ftw.3:49
1780 #, no-wrap
1781 msgid ""
1782 "B<#define _XOPEN_SOURCE 500>   /* See feature_test_macros(7) */\n"
1783 "B<#include E<lt>ftw.hE<gt>>\n"
1784 msgstr ""
1785 "B<#define _XOPEN_SOURCE 500>   /* feature_test_macros(7) 参照 */\n"
1786 "B<#define _XOPEN_SOURCE 500>\n"
1787 "B<#include E<lt>ftw.hE<gt>>\n"
1788
1789 #. type: Plain text
1790 #: build/C/man3/ftw.3:54
1791 #, no-wrap
1792 msgid ""
1793 "B<int nftw(const char *>I<dirpath>B<,>\n"
1794 "B<        int (*>I<fn>B<) (const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
1795 "B<                   int >I<typeflag>B<, struct FTW *>I<ftwbuf>B<),>\n"
1796 "B<        int >I<nopenfd>B<, int >I<flags>B<);>\n"
1797 msgstr ""
1798 "B<int nftw(const char *>I<dirpath>B<,>\n"
1799 "B<        int (*>I<fn>B<) (const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
1800 "B<                   int >I<typeflag>B<, struct FTW *>I<ftwbuf>B<),>\n"
1801 "B<        int >I<nopenfd>B<, int >I<flags>B<);>\n"
1802
1803 #. type: Plain text
1804 #: build/C/man3/ftw.3:62
1805 msgid ""
1806 "B<ftw>()  walks through the directory tree that is located under the "
1807 "directory I<dirpath>, and calls I<fn>() once for each entry in the tree.  By "
1808 "default, directories are handled before the files and subdirectories they "
1809 "contain (preorder traversal)."
1810 msgstr ""
1811 "B<ftw>()  は、 I<dirpath> で指定されたディレクトリ以下のディレクトリツリー全"
1812 "体を歩きまわり、 ツリー中でエントリが見付かるごとに、 I<fn>()  を呼び出す。 "
1813 "デフォルトでは、ディレクトリそのものが、そのディレクトリにあるファイルや サブ"
1814 "ディレクトリよりも先に処理される (行きがけ順探索; preorder traversal)。"
1815
1816 #. type: Plain text
1817 #: build/C/man3/ftw.3:75
1818 msgid ""
1819 "To avoid using up all of the calling process's file descriptors, I<nopenfd> "
1820 "specifies the maximum number of directories that B<ftw>()  will hold open "
1821 "simultaneously.  When the search depth exceeds this, B<ftw>()  will become "
1822 "slower because directories have to be closed and reopened.  B<ftw>()  uses "
1823 "at most one file descriptor for each level in the directory tree."
1824 msgstr ""
1825 "呼び出し元プロセスが利用可能なファイルディスクリプタを使い切って しまわないよ"
1826 "うにするため、 B<ftw>()  が同時にオープンするディレクトリの最大数を "
1827 "I<nopenfd> で指定することができる。 探索の深さがこの値を越えると、 一つのディ"
1828 "レクトリを閉じてから他のディレクトリをオープンし直すこと になるので、 "
1829 "B<ftw>()  の動作は遅くなる。 B<ftw>()  は、ディレクトリツリーの階層 1 レベル"
1830 "につき、 最大でも一つのファイルディスクリプタしか使用しない。"
1831
1832 #. type: Plain text
1833 #: build/C/man3/ftw.3:104
1834 msgid ""
1835 "For each entry found in the tree, B<ftw>()  calls I<fn>() with three "
1836 "arguments: I<fpath>, I<sb>, and I<typeflag>.  I<fpath> is the pathname of "
1837 "the entry, and is expressed either as a pathname relative to the calling "
1838 "process's current working directory at the time of the call to B<ftw>(), if "
1839 "I<dirpath> was expressed as a relative pathname, or as an absolute pathname, "
1840 "if I<dirpath> was expressed as an absolute pathname.  I<sb> is a pointer to "
1841 "the I<stat> structure returned by a call to B<stat>(2)  for I<fpath>.  "
1842 "I<typeflag> is an integer that has one of the following values:"
1843 msgstr ""
1844 "ディレクトリツリーで見つかったエントリ毎に、 B<ftw>()  は I<fpath>, I<sb>, "
1845 "I<typeflag> の 3つを引き数として I<fn>()  を呼び出す。 I<fpath> はエントリの"
1846 "パス名である。 I<dirpath> が相対パス名で指定された場合には、 I<fpath> は "
1847 "B<ftw>()  が呼び出された時点の呼び出し元プロセスのカレントワーキングディレク"
1848 "トリ からの相対パス名となる。 I<dirpath> が絶対パス名で指定された場合には、 "
1849 "I<fpath> は絶対パス名となる。 I<sb> は I<fpath> に対する B<stat>(2)  の呼び出"
1850 "しで返される I<stat> 構造体へのポインタである。 I<typeflag> は整数で、以下の"
1851 "値のいずれか一つである:"
1852
1853 #. type: TP
1854 #: build/C/man3/ftw.3:104
1855 #, no-wrap
1856 msgid "B<FTW_F>"
1857 msgstr "B<FTW_F>"
1858
1859 #. type: Plain text
1860 #: build/C/man3/ftw.3:108
1861 msgid "I<fpath> is a regular file."
1862 msgstr "I<fpath> が通常のファイルである"
1863
1864 #. type: TP
1865 #: build/C/man3/ftw.3:108
1866 #, no-wrap
1867 msgid "B<FTW_D>"
1868 msgstr "B<FTW_D>"
1869
1870 #. type: Plain text
1871 #: build/C/man3/ftw.3:112
1872 msgid "I<fpath> is a directory."
1873 msgstr "I<fpath> がディレクトリである"
1874
1875 #. type: TP
1876 #: build/C/man3/ftw.3:112
1877 #, no-wrap
1878 msgid "B<FTW_DNR>"
1879 msgstr "B<FTW_DNR>"
1880
1881 #. type: Plain text
1882 #: build/C/man3/ftw.3:116
1883 msgid "I<fpath> is a directory which can't be read."
1884 msgstr "I<fpath> が読み込みできないディレクトリである"
1885
1886 #. type: TP
1887 #: build/C/man3/ftw.3:116
1888 #, no-wrap
1889 msgid "B<FTW_NS>"
1890 msgstr "B<FTW_NS>"
1891
1892 #. type: Plain text
1893 #: build/C/man3/ftw.3:130
1894 msgid ""
1895 "The B<stat>(2)  call failed on I<fpath>, which is not a symbolic link.  The "
1896 "probable cause for this is that the caller had read permission on the parent "
1897 "directory, so that the filename I<fpath> could be seen, but did not have "
1898 "execute permission, so that the file could not be reached for B<stat>(2)."
1899 msgstr ""
1900 "B<stat>(2) の呼び出しがシンボリックリンクでない I<fpath> で失敗した。 これの"
1901 "よくある原因は、呼び出し元が親ディレクトリに対する読み込み許可を持っており、 "
1902 "ファイル名 I<fpath> を見ることができたが、実行許可は持っておらず、 そのため "
1903 "B<stat>(2) ではそのファイルに到達できなかった、というものである。"
1904
1905 #. type: Plain text
1906 #: build/C/man3/ftw.3:139
1907 msgid ""
1908 "If I<fpath> is a symbolic link and B<stat>(2)  failed, POSIX.1-2001 states "
1909 "that it is undefined whether B<FTW_NS> or B<FTW_SL> (see below)  is passed "
1910 "in I<typeflag>."
1911 msgstr ""
1912 "I<fpath> がシンボリックリンクで、かつ B<stat>(2)  が失敗した場合、 B<FTW_NS> "
1913 "と B<FTW_SL> (後述) のどちらが I<typeflag> に渡されるかは未定義であると、"
1914 "POSIX.1-2001 には書かれている。"
1915
1916 #. type: Plain text
1917 #: build/C/man3/ftw.3:150
1918 msgid ""
1919 "To stop the tree walk, I<fn>() returns a nonzero value; this value will "
1920 "become the return value of B<ftw>().  As long as I<fn>() returns 0, "
1921 "B<ftw>()  will continue either until it has traversed the entire tree, in "
1922 "which case it will return zero, or until it encounters an error (such as a "
1923 "B<malloc>(3)  failure), in which case it will return -1."
1924 msgstr ""
1925 "ツリーの探索を止めたい場合は、 I<fn>()  が 0 以外の値を返せば良い (この値は "
1926 "B<ftw>()  自身の戻り値となる)。 それ以外の場合は B<ftw>()  はツリー全体の探索"
1927 "を続け、すべてのツリーを探索し終えたところで 0 を返す。探索中に "
1928 "(B<malloc>(3)  の失敗などの) エラーが起こると -1 を返す。"
1929
1930 #. type: Plain text
1931 #: build/C/man3/ftw.3:160
1932 msgid ""
1933 "Because B<ftw>()  uses dynamic data structures, the only safe way to exit "
1934 "out of a tree walk is to return a nonzero value from I<fn>().  To allow a "
1935 "signal to terminate the walk without causing a memory leak, have the handler "
1936 "set a global flag that is checked by I<fn>().  I<Don't> use B<longjmp>(3)  "
1937 "unless the program is going to terminate."
1938 msgstr ""
1939 "B<ftw>()  は動的なデータ構造を用いるので、ツリー探索を安全に中断する唯一の方"
1940 "法は 0 以外の値を I<fn>()  の返り値とすることである。割り込みを扱うには、 例"
1941 "えば発生した割り込みをマークしておいて、 0 以外の値を返すようにする シグナル"
1942 "によりメモリリークを起こさずに探索を終了できるようにするには、 シグナルハンド"
1943 "ラで I<fn>()  がチェックするグローバルなフラグをセットするようにすればよい。 "
1944 "プログラムを終了させる場合以外は、 B<longjmp>(3)  を使用しないこと。"
1945
1946 #. type: SS
1947 #: build/C/man3/ftw.3:160
1948 #, no-wrap
1949 msgid "nftw()"
1950 msgstr "nftw()"
1951
1952 #. type: Plain text
1953 #: build/C/man3/ftw.3:167
1954 msgid ""
1955 "The function B<nftw>()  is the same as B<ftw>(), except that it has one "
1956 "additional argument, I<flags>, and calls I<fn>() with one more argument, "
1957 "I<ftwbuf>."
1958 msgstr ""
1959 "関数 B<nftw>()  は B<ftw>()  と同じだが、引き数 I<flags> が追加される点と、 "
1960 "I<fn>()  の引き数に I<ftwbuf> が追加される点が異なる。"
1961
1962 #. type: Plain text
1963 #: build/C/man3/ftw.3:170
1964 msgid ""
1965 "This I<flags> argument is formed by ORing zero or more of the following "
1966 "flags:"
1967 msgstr ""
1968 "この I<flags> 引き数は下記のフラグの 0 個以上の論理和を取ったものである:"
1969
1970 #. type: TP
1971 #: build/C/man3/ftw.3:170
1972 #, no-wrap
1973 msgid "B<FTW_ACTIONRETVAL> (since glibc 2.3.3)"
1974 msgstr "B<FTW_ACTIONRETVAL> (glibc 2.3.3 以降)"
1975
1976 #. type: Plain text
1977 #: build/C/man3/ftw.3:179
1978 msgid ""
1979 "If this glibc-specific flag is set, then B<nftw>()  handles the return value "
1980 "from I<fn>()  differently.  I<fn>()  should return one of the following "
1981 "values:"
1982 msgstr ""
1983 "このフラグは glibc 固有である。 このフラグをセットすると、 B<nftw>()  の "
1984 "I<fn>()  の返り値の扱いが変わる。 I<fn>()  は以下の値のいずれか一つを返す必要"
1985 "がある。"
1986
1987 #. type: TP
1988 #: build/C/man3/ftw.3:180
1989 #, no-wrap
1990 msgid "B<FTW_CONTINUE>"
1991 msgstr "B<FTW_CONTINUE>"
1992
1993 #. type: Plain text
1994 #: build/C/man3/ftw.3:185
1995 msgid "Instructs B<nftw>()  to continue normally."
1996 msgstr "B<nftw>()  は通常通り処理を続ける。"
1997
1998 #. type: TP
1999 #: build/C/man3/ftw.3:185
2000 #, no-wrap
2001 msgid "B<FTW_SKIP_SIBLINGS>"
2002 msgstr "B<FTW_SKIP_SIBLINGS>"
2003
2004 #.  If \fBFTW_DEPTH\fP
2005 #.  is set, the entry's parent directory is processed next (with
2006 #.  \fIflag\fP set to \fBFTW_DP\fP).
2007 #. type: Plain text
2008 #: build/C/man3/ftw.3:193
2009 msgid ""
2010 "If I<fn>() returns this value, then siblings of the current entry will be "
2011 "skipped, and processing continues in the parent."
2012 msgstr ""
2013 "I<fn>()  がこの値を返した場合、処理中のエントリの兄弟 (同じ階層のエントリ)  "
2014 "の処理はスキップされ、親ディレクトリで続きの処理が行われる。"
2015
2016 #. type: TP
2017 #: build/C/man3/ftw.3:193
2018 #, no-wrap
2019 msgid "B<FTW_SKIP_SUBTREE>"
2020 msgstr "B<FTW_SKIP_SUBTREE>"
2021
2022 #. type: Plain text
2023 #: build/C/man3/ftw.3:201
2024 msgid ""
2025 "If I<fn>() is called with an entry that is a directory (I<typeflag> is "
2026 "B<FTW_D>), this return value will prevent objects within that directory from "
2027 "being passed as arguments to I<fn>().  B<nftw>()  continues processing with "
2028 "the next sibling of the directory."
2029 msgstr ""
2030 "I<fn>()  が呼び出されたエントリがディレクトリ (I<typeflag> が B<FTW_D>)  の場"
2031 "合に、この値を返すと I<fn>()  の引き数として渡されたディレクトリ内のエントリ"
2032 "の処理が行われなくなる。 B<nftw>()  は処理中のディレクトリの兄弟 (同じ階層の"
2033 "エントリ) から処理を続ける。"
2034
2035 #. type: TP
2036 #: build/C/man3/ftw.3:201
2037 #, no-wrap
2038 msgid "B<FTW_STOP>"
2039 msgstr "B<FTW_STOP>"
2040
2041 #. type: Plain text
2042 #: build/C/man3/ftw.3:207
2043 msgid ""
2044 "Causes B<nftw>()  to return immediately with the return value B<FTW_STOP>."
2045 msgstr "B<nftw ()> は、返り値 B<FTW_STOP> ですぐに復帰する。"
2046
2047 #. type: Plain text
2048 #: build/C/man3/ftw.3:210
2049 msgid ""
2050 "Other return values could be associated with new actions in the future; "
2051 "I<fn>() should not return values other than those listed above."
2052 msgstr ""
2053 "他の返り値は将来新しい動作に対応付けられる可能性がある。 I<fn>()  は上記のリ"
2054 "ストにある値以外を返さないようにすべきである。"
2055
2056 #. type: Plain text
2057 #: build/C/man3/ftw.3:219
2058 msgid ""
2059 "The feature test macro B<_GNU_SOURCE> must be defined (before including "
2060 "I<any> header files)  in order to obtain the definition of "
2061 "B<FTW_ACTIONRETVAL> from I<E<lt>ftw.hE<gt>>."
2062 msgstr ""
2063 "I<E<lt>ftw.hE<gt>> で B<FTW_ACTIONRETVAL> の定義が有効にするためには、 (「ど"
2064 "の」ヘッダファイルをインクルードするよりも前に)  機能検査マクロ "
2065 "B<_GNU_SOURCE> を定義しなければならない。"
2066
2067 #. type: TP
2068 #: build/C/man3/ftw.3:220
2069 #, no-wrap
2070 msgid "B<FTW_CHDIR>"
2071 msgstr "B<FTW_CHDIR>"
2072
2073 #. type: Plain text
2074 #: build/C/man3/ftw.3:231
2075 msgid ""
2076 "If set, do a B<chdir>(2)  to each directory before handling its contents.  "
2077 "This is useful if the program needs to perform some action in the directory "
2078 "in which I<fpath> resides.  (Specifying this flag has no effect on the "
2079 "pathname that is passed in the I<fpath> argument of I<fn>.)"
2080 msgstr ""
2081 "セットされると、ディレクトリの内容を処理する前に そのディレクトリに "
2082 "B<chdir>(2)  する。このフラグは、 I<fpath> が属すディレクトリで何らかの動作を"
2083 "実行する必要がある場合に 便利である。\n"
2084 "(このフラグを指定しても I<fn> の I<fpath> 引き数で渡されるパス名には影響しな"
2085 "い。)"
2086
2087 #. type: TP
2088 #: build/C/man3/ftw.3:231
2089 #, no-wrap
2090 msgid "B<FTW_DEPTH>"
2091 msgstr "B<FTW_DEPTH>"
2092
2093 #. type: Plain text
2094 #: build/C/man3/ftw.3:237
2095 msgid ""
2096 "If set, do a post-order traversal, that is, call I<fn>() for the directory "
2097 "itself I<after> handling the contents of the directory and its "
2098 "subdirectories.  (By default, each directory is handled I<before> its "
2099 "contents.)"
2100 msgstr ""
2101 "セットされると、帰りがけ順探索 (post-order traversal) を行う。 つまり、ディレ"
2102 "クトリそのものを引き数とした I<fn>()  呼出しは、そのディレクトリに含まれる"
2103 "ファイルとサブディレクトリに 対する処理の「後で」行われる (デフォルトでは、"
2104 "ディレクトリ自身の処理はディレクトリ内のエントリ より「前に」行なわれる)。"
2105
2106 #. type: TP
2107 #: build/C/man3/ftw.3:237
2108 #, no-wrap
2109 msgid "B<FTW_MOUNT>"
2110 msgstr "B<FTW_MOUNT>"
2111
2112 #. type: Plain text
2113 #: build/C/man3/ftw.3:241
2114 msgid ""
2115 "If set, stay within the same filesystem (i.e., do not cross mount points)."
2116 msgstr ""
2117 "セットされると、同じファイルシステムの中だけを探索対象とする (つまり、マウン"
2118 "トポイントをまたぐことはない)。"
2119
2120 #. type: TP
2121 #: build/C/man3/ftw.3:241
2122 #, no-wrap
2123 msgid "B<FTW_PHYS>"
2124 msgstr "B<FTW_PHYS>"
2125
2126 #. type: Plain text
2127 #: build/C/man3/ftw.3:246
2128 msgid ""
2129 "If set, do not follow symbolic links.  (This is what you want.)  If not set, "
2130 "symbolic links are followed, but no file is reported twice."
2131 msgstr ""
2132 "セットされると、シンボリックリンクを辿らない (おそらくこちらが 通常望ましい動"
2133 "作だろう)。セットされていないとシンボリックリンクを 辿るが、同じファイルが二"
2134 "回報告されることはない。"
2135
2136 #. type: Plain text
2137 #: build/C/man3/ftw.3:251
2138 msgid ""
2139 "If B<FTW_PHYS> is not set, but B<FTW_DEPTH> is set, then the function "
2140 "I<fn>()  is never called for a directory that would be a descendant of "
2141 "itself."
2142 msgstr ""
2143 "B<FTW_PHYS> がセットされずに B<FTW_DEPTH> がセットされると、自分自身に対する"
2144 "シンボリックリンクを配下に持つ ディレクトリに対して I<fn>()  が呼び出されるこ"
2145 "とは決してない。"
2146
2147 #. type: Plain text
2148 #: build/C/man3/ftw.3:266
2149 msgid ""
2150 "For each entry in the directory tree, B<nftw>()  calls I<fn>()  with four "
2151 "arguments.  I<fpath> and I<sb> are as for B<ftw>().  I<typeflag> may receive "
2152 "any of the same values as with B<ftw>(), or any of the following values:"
2153 msgstr ""
2154 "ディレクトリツリーのエントリ毎に、 B<nftw>()  は 4つの引き数で I<fn>()  を呼"
2155 "び出す。 I<fpath> と I<sb> は B<ftw>()  と同じである。 I<typeflag> には、 "
2156 "B<ftw>()  で取り得る値のいずれか、または以下の値のいずれかが渡される:"
2157
2158 #. type: TP
2159 #: build/C/man3/ftw.3:266
2160 #, no-wrap
2161 msgid "B<FTW_DP>"
2162 msgstr "B<FTW_DP>"
2163
2164 #. type: Plain text
2165 #: build/C/man3/ftw.3:280
2166 msgid ""
2167 "I<fpath> is a directory, and B<FTW_DEPTH> was specified in I<flags>.  (If "
2168 "B<FTW_DEPTH> was not specified in I<flags>, then directories will always be "
2169 "visited with I<typeflag> set to B<FTW_D>.)  All of the files and "
2170 "subdirectories within I<fpath> have been processed."
2171 msgstr ""
2172 "I<fpath> がディレクトリで、かつ I<flags> で B<FTW_DEPTH> が指定されていた "
2173 "(B<FTW_DEPTH> が I<flags> に指定されていなかった場合、 ディレクトリに対しては"
2174 "常に I<typeflag> が B<FTW_D> で I<fn>() が呼び出される)。 I<fpath> 配下のファ"
2175 "イルとサブディレクトリは全て処理が終わっている。"
2176
2177 #. type: TP
2178 #: build/C/man3/ftw.3:280
2179 #, no-wrap
2180 msgid "B<FTW_SL>"
2181 msgstr "B<FTW_SL>"
2182
2183 #.  To obtain the definition of this constant from
2184 #.  .IR <ftw.h> ,
2185 #.  either
2186 #.  .B _BSD_SOURCE
2187 #.  must be defined, or
2188 #.  .BR _XOPEN_SOURCE
2189 #.  must be defined with a value of 500 or more.
2190 #. type: Plain text
2191 #: build/C/man3/ftw.3:291
2192 msgid "I<fpath> is a symbolic link, and B<FTW_PHYS> was set in I<flags>."
2193 msgstr ""
2194 "I<fpath> がシンボリックリンクで、かつ B<FTW_PHYS> が I<flags> に セットされて"
2195 "いた。"
2196
2197 #. type: TP
2198 #: build/C/man3/ftw.3:291
2199 #, no-wrap
2200 msgid "B<FTW_SLN>"
2201 msgstr "B<FTW_SLN>"
2202
2203 #. type: Plain text
2204 #: build/C/man3/ftw.3:296
2205 msgid ""
2206 "I<fpath> is a symbolic link pointing to a nonexistent file.  (This occurs "
2207 "only if B<FTW_PHYS> is not set.)"
2208 msgstr ""
2209 "I<fpath> がシンボリックリンクで、存在しないファイルを指している (これがセット"
2210 "されるのは B<FTW_PHYS> がセットされていない場合だけである)。"
2211
2212 #. type: Plain text
2213 #: build/C/man3/ftw.3:302
2214 msgid ""
2215 "The fourth argument that B<nftw>()  supplies when calling I<fn>()  is a "
2216 "structure of type I<FTW>:"
2217 msgstr ""
2218 "B<nftw>()  が I<fn>()  を呼び出す際に渡す 4つめの引き数は I<FTW> 型の構造体で"
2219 "ある。"
2220
2221 #. type: Plain text
2222 #: build/C/man3/ftw.3:309
2223 #, no-wrap
2224 msgid ""
2225 "struct FTW {\n"
2226 "    int base;\n"
2227 "    int level;\n"
2228 "};\n"
2229 msgstr ""
2230 "struct FTW {\n"
2231 "    int base;\n"
2232 "    int level;\n"
2233 "};\n"
2234
2235 #. type: Plain text
2236 #: build/C/man3/ftw.3:322
2237 msgid ""
2238 "I<base> is the offset of the filename (i.e., basename component)  in the "
2239 "pathname given in I<fpath>.  I<level> is the depth of I<fpath> in the "
2240 "directory tree, relative to the root of the tree (I<dirpath>, which has "
2241 "depth 0)."
2242 msgstr ""
2243 "I<base> は、ファイル名 (basename 要素) の、 I<fpath> で渡されるパス名の中での"
2244 "オフセットである。 I<level> はディレクトリツリーでの I<fpath> の深さを示す。"
2245 "深さはディレクトリツリーのトップ (root) からの 相対値である (I<dirpath> は深"
2246 "さ 0 である)。"
2247
2248 #. type: SH
2249 #: build/C/man3/ftw.3:322 build/C/man3/getfsent.3:99
2250 #: build/C/man3/getmntent.3:175 build/C/man2/getxattr.2:100
2251 #: build/C/man3/isfdtype.3:72 build/C/man2/listxattr.2:121
2252 #: build/C/man2/mount.2:313 build/C/man2/removexattr.2:78
2253 #: build/C/man2/setxattr.2:105 build/C/man2/spu_create.2:165
2254 #: build/C/man2/spu_run.2:102 build/C/man2/stat.2:517
2255 #: build/C/man2/statfs.2:157 build/C/man3/statvfs.3:96 build/C/man2/sysfs.2:67
2256 #: build/C/man2/umount.2:99 build/C/man2/ustat.2:70
2257 #, no-wrap
2258 msgid "RETURN VALUE"
2259 msgstr "返り値"
2260
2261 #. type: Plain text
2262 #: build/C/man3/ftw.3:324
2263 msgid "These functions return 0 on success, and -1 if an error occurs."
2264 msgstr "これらの関数は、成功すると 0 を、エラーが発生すると -1 を返す。"
2265
2266 #. type: Plain text
2267 #: build/C/man3/ftw.3:331
2268 msgid ""
2269 "If I<fn>() returns nonzero, then the tree walk is terminated and the value "
2270 "returned by I<fn>()  is returned as the result of B<ftw>()  or B<nftw>()."
2271 msgstr ""
2272 "I<fn>()  が 0 以外を返した場合、ディレクトリツリーの探索を終了し、 I<fn>()  "
2273 "が返した値を B<ftw>()  や B<nftw>()  の結果として返す。"
2274
2275 #. type: Plain text
2276 #: build/C/man3/ftw.3:339
2277 msgid ""
2278 "If B<nftw>()  is called with the B<FTW_ACTIONRETVAL> flag, then the only "
2279 "nonzero value that should be used by I<fn>()  to terminate the tree walk is "
2280 "B<FTW_STOP>, and that value is returned as the result of B<nftw>()."
2281 msgstr ""
2282 "B<nftw>()  が B<FTW_ACTIONRETVAL> フラグ付きで呼ばれた場合、ツリーの探索を終"
2283 "了させるために I<fn>()  が使用できる、非 0 の値は B<FTW_STOP> だけであり、 こ"
2284 "の値は B<nftw>()  の返り値として返される。"
2285
2286 #. type: Plain text
2287 #: build/C/man3/ftw.3:342
2288 msgid "B<nftw>()  is available under glibc since version 2.1."
2289 msgstr "B<nftw>() は バージョン 2.1 以降の glibc で利用できる。"
2290
2291 #. type: Plain text
2292 #: build/C/man3/ftw.3:347
2293 msgid "POSIX.1-2001, SVr4, SUSv1.  POSIX.1-2008 marks B<ftw>()  as obsolete."
2294 msgstr ""
2295 "POSIX.1-2001, SVr4, SUSv1.  POSIX.1-2008 は B<ftw>()  を廃止予定としている。"
2296
2297 #. type: SH
2298 #: build/C/man3/ftw.3:347 build/C/man3/getfsent.3:127
2299 #: build/C/man3/getmntent.3:208 build/C/man3/isfdtype.3:98
2300 #: build/C/man2/mount.2:426 build/C/man2/spu_create.2:254
2301 #: build/C/man2/spu_run.2:196 build/C/man2/stat.2:743
2302 #: build/C/man2/statfs.2:224 build/C/man3/statvfs.3:166
2303 #: build/C/man2/sysfs.2:94 build/C/man2/umount.2:165 build/C/man2/ustat.2:98
2304 #, no-wrap
2305 msgid "NOTES"
2306 msgstr "注意"
2307
2308 #. type: Plain text
2309 #: build/C/man3/ftw.3:351
2310 msgid ""
2311 "POSIX.1-2001 note that the results are unspecified if I<fn> does not "
2312 "preserve the current working directory."
2313 msgstr ""
2314 "POSIX.1-2001 の注記によると、 I<fn> がカレントワーキングディレクトリを保持し"
2315 "なかった場合の 結果は規定されていないとされている。"
2316
2317 #. type: Plain text
2318 #: build/C/man3/ftw.3:357
2319 msgid ""
2320 "The function B<nftw>()  and the use of B<FTW_SL> with B<ftw>()  were "
2321 "introduced in SUSv1."
2322 msgstr ""
2323 "B<nftw>()  関数と、 B<ftw>()  における B<FTW_SL> は、SUSv1 で導入された。"
2324
2325 #. type: Plain text
2326 #: build/C/man3/ftw.3:367
2327 msgid ""
2328 "On some systems B<ftw>()  will never use B<FTW_SL>, on other systems "
2329 "B<FTW_SL> occurs only for symbolic links that do not point to an existing "
2330 "file, and again on other systems B<ftw>()  will use B<FTW_SL> for each "
2331 "symbolic link.  For predictable control, use B<nftw>()."
2332 msgstr ""
2333 "B<ftw>()  で B<FTW_SL> を一切使わないシステムや、 存在しないファイルを指して"
2334 "いるシンボリックリンクの場合にのみ B<FTW_SL> を使うシステム、また B<ftw>()  "
2335 "が全てのシンボリックリンクに対して B<FTW_SL> を使うシステムもある。 予測可能"
2336 "な動作をさせるためには、 B<nftw>()  を使うこと。"
2337
2338 #. type: Plain text
2339 #: build/C/man3/ftw.3:370
2340 msgid ""
2341 "B<FTW_F> is returned for all objects (files, symbolic links, FIFOs, etc.)  "
2342 "that can be stat'ed but are not a directory."
2343 msgstr ""
2344 "「stat できるがディレクトリではないオブジェクト」 (ファイル, シンボリックリン"
2345 "ク, fifo 等)  に対しては、すべて B<FTW_F> が返される。"
2346
2347 #. type: Plain text
2348 #: build/C/man3/ftw.3:372
2349 msgid "B<FTW_ACTIONRETVAL> is glibc-specific."
2350 msgstr "B<FTW_ACTIONRETVAL> は glibc 固有である。"
2351
2352 #. type: SH
2353 #: build/C/man3/ftw.3:372 build/C/man2/spu_create.2:265
2354 #: build/C/man2/spu_run.2:207 build/C/man7/spufs.7:759 build/C/man2/stat.2:855
2355 #, no-wrap
2356 msgid "EXAMPLE"
2357 msgstr "例"
2358
2359 #. type: Plain text
2360 #: build/C/man3/ftw.3:381
2361 msgid ""
2362 "The following program traverses the directory tree under the path named in "
2363 "its first command-line argument, or under the current directory if no "
2364 "argument is supplied.  It displays various information about each file.  The "
2365 "second command-line argument can be used to specify characters that control "
2366 "the value assigned to the I<flags> argument when calling B<nftw>()."
2367 msgstr ""
2368 "以下のプログラムは、一つ目のコマンドライン引き数を名前に持つパス以下の ディレ"
2369 "クトリツリーを探索する。引き数が指定されなかった場合は、 カレントディレクトリ"
2370 "以下を探索する。 各々のファイルについて様々の情報が表示される。 二番目のコマ"
2371 "ンドライン引き数に文字を指定することで、 B<nftw>()  を呼び出す際に I<flags> "
2372 "引き数に渡す値を制御することができる。"
2373
2374 #. type: SS
2375 #: build/C/man3/ftw.3:381
2376 #, no-wrap
2377 msgid "Program source"
2378 msgstr "プログラムのソース"
2379
2380 #. type: Plain text
2381 #: build/C/man3/ftw.3:389
2382 #, no-wrap
2383 msgid ""
2384 "#define _XOPEN_SOURCE 500\n"
2385 "#include E<lt>ftw.hE<gt>\n"
2386 "#include E<lt>stdio.hE<gt>\n"
2387 "#include E<lt>stdlib.hE<gt>\n"
2388 "#include E<lt>string.hE<gt>\n"
2389 "#include E<lt>stdint.hE<gt>\n"
2390 msgstr ""
2391 "#define _XOPEN_SOURCE 500\n"
2392 "#include E<lt>ftw.hE<gt>\n"
2393 "#include E<lt>stdio.hE<gt>\n"
2394 "#include E<lt>stdlib.hE<gt>\n"
2395 "#include E<lt>string.hE<gt>\n"
2396 "#include E<lt>stdint.hE<gt>\n"
2397
2398 #. type: Plain text
2399 #: build/C/man3/ftw.3:403
2400 #, no-wrap
2401 msgid ""
2402 "static int\n"
2403 "display_info(const char *fpath, const struct stat *sb,\n"
2404 "             int tflag, struct FTW *ftwbuf)\n"
2405 "{\n"
2406 "    printf(\"%-3s %2d %7jd   %-40s %d %s\\en\",\n"
2407 "        (tflag == FTW_D) ?   \"d\"   : (tflag == FTW_DNR) ? \"dnr\" :\n"
2408 "        (tflag == FTW_DP) ?  \"dp\"  : (tflag == FTW_F) ?   \"f\" :\n"
2409 "        (tflag == FTW_NS) ?  \"ns\"  : (tflag == FTW_SL) ?  \"sl\" :\n"
2410 "        (tflag == FTW_SLN) ? \"sln\" : \"???\",\n"
2411 "        ftwbuf-E<gt>level, (intmax_t) sb-E<gt>st_size,\n"
2412 "        fpath, ftwbuf-E<gt>base, fpath + ftwbuf-E<gt>base);\n"
2413 "    return 0;           /* To tell nftw() to continue */\n"
2414 "}\n"
2415 msgstr ""
2416 "static int\n"
2417 "display_info(const char *fpath, const struct stat *sb,\n"
2418 "             int tflag, struct FTW *ftwbuf)\n"
2419 "{\n"
2420 "    printf(\"%-3s %2d %7jd   %-40s %d %s\\en\",\n"
2421 "        (tflag == FTW_D) ?   \"d\"   : (tflag == FTW_DNR) ? \"dnr\" :\n"
2422 "        (tflag == FTW_DP) ?  \"dp\"  : (tflag == FTW_F) ?   \"f\" :\n"
2423 "        (tflag == FTW_NS) ?  \"ns\"  : (tflag == FTW_SL) ?  \"sl\" :\n"
2424 "        (tflag == FTW_SLN) ? \"sln\" : \"???\",\n"
2425 "        ftwbuf-E<gt>level, (intmax_t) sb-E<gt>st_size,\n"
2426 "        fpath, ftwbuf-E<gt>base, fpath + ftwbuf-E<gt>base);\n"
2427 "    return 0;           /* To tell nftw() to continue */\n"
2428 "}\n"
2429
2430 #. type: Plain text
2431 #: build/C/man3/ftw.3:408
2432 #, no-wrap
2433 msgid ""
2434 "int\n"
2435 "main(int argc, char *argv[])\n"
2436 "{\n"
2437 "    int flags = 0;\n"
2438 msgstr ""
2439 "int\n"
2440 "main(int argc, char *argv[])\n"
2441 "{\n"
2442 "    int flags = 0;\n"
2443
2444 #. type: Plain text
2445 #: build/C/man3/ftw.3:413
2446 #, no-wrap
2447 msgid ""
2448 "    if (argc E<gt> 2 && strchr(argv[2], \\(aqd\\(aq) != NULL)\n"
2449 "        flags |= FTW_DEPTH;\n"
2450 "    if (argc E<gt> 2 && strchr(argv[2], \\(aqp\\(aq) != NULL)\n"
2451 "        flags |= FTW_PHYS;\n"
2452 msgstr ""
2453 "    if (argc E<gt> 2 && strchr(argv[2], \\(aqd\\(aq) != NULL)\n"
2454 "        flags |= FTW_DEPTH;\n"
2455 "    if (argc E<gt> 2 && strchr(argv[2], \\(aqp\\(aq) != NULL)\n"
2456 "        flags |= FTW_PHYS;\n"
2457
2458 #. type: Plain text
2459 #: build/C/man3/ftw.3:421
2460 #, no-wrap
2461 msgid ""
2462 "    if (nftw((argc E<lt> 2) ? \".\" : argv[1], display_info, 20, flags)\n"
2463 "            == -1) {\n"
2464 "        perror(\"nftw\");\n"
2465 "        exit(EXIT_FAILURE);\n"
2466 "    }\n"
2467 "    exit(EXIT_SUCCESS);\n"
2468 "}\n"
2469 msgstr ""
2470 "    if (nftw((argc E<lt> 2) ? \".\" : argv[1], display_info, 20, flags)\n"
2471 "            == -1) {\n"
2472 "        perror(\"nftw\");\n"
2473 "        exit(EXIT_FAILURE);\n"
2474 "    }\n"
2475 "    exit(EXIT_SUCCESS);\n"
2476 "}\n"
2477
2478 #. type: Plain text
2479 #: build/C/man3/ftw.3:426
2480 msgid "B<stat>(2), B<fts>(3), B<readdir>(3)"
2481 msgstr "B<stat>(2), B<fts>(3), B<readdir>(3)"
2482
2483 #. type: TH
2484 #: build/C/man3/getfsent.3:27
2485 #, no-wrap
2486 msgid "GETFSENT"
2487 msgstr "GETFSENT"
2488
2489 #. type: TH
2490 #: build/C/man3/getfsent.3:27
2491 #, no-wrap
2492 msgid "2002-02-28"
2493 msgstr "2002-02-28"
2494
2495 #. type: TH
2496 #: build/C/man3/getfsent.3:27
2497 #, no-wrap
2498 msgid "GNU"
2499 msgstr "Linux"
2500
2501 #. type: Plain text
2502 #: build/C/man3/getfsent.3:30
2503 msgid ""
2504 "getfsent, getfsspec, getfsfile, setfsent, endfsent - handle fstab entries"
2505 msgstr ""
2506 "getfsent, getfsspec, getfsfile, setfsent, endfsent - fstab エントリの処理"
2507
2508 #. type: Plain text
2509 #: build/C/man3/getfsent.3:32
2510 msgid "B<#include E<lt>fstab.hE<gt>>"
2511 msgstr "B<#include E<lt>fstab.hE<gt>>"
2512
2513 #. type: Plain text
2514 #: build/C/man3/getfsent.3:34
2515 msgid "B<void endfsent(void);>"
2516 msgstr "B<void endfsent(void);>"
2517
2518 #. type: Plain text
2519 #: build/C/man3/getfsent.3:36
2520 msgid "B<struct fstab *getfsent(void);>"
2521 msgstr "B<struct fstab *getfsent(void);>"
2522
2523 #. type: Plain text
2524 #: build/C/man3/getfsent.3:38
2525 msgid "B<struct fstab *getfsfile(const char *>I<mount_point>B<);>"
2526 msgstr "B<struct fstab *getfsfile(const char *>I<mount_point>B<);>"
2527
2528 #. type: Plain text
2529 #: build/C/man3/getfsent.3:40
2530 msgid "B<struct fstab *getfsspec(const char *>I<special_file>B<);>"
2531 msgstr "B<struct fstab *getfsspec(const char *>I<special_file>B<);>"
2532
2533 #. type: Plain text
2534 #: build/C/man3/getfsent.3:42
2535 msgid "B<int setfsent(void);>"
2536 msgstr "B<int setfsent(void);>"
2537
2538 #. type: Plain text
2539 #: build/C/man3/getfsent.3:48
2540 msgid ""
2541 "These functions read from the file I</etc/fstab>.  The I<struct fstab> is "
2542 "defined by:"
2543 msgstr ""
2544 "これらの関数は I</etc/fstab> ファイルから情報を読み込む。I<fstab> 構造体は次"
2545 "のように定義されている。"
2546
2547 #. type: Plain text
2548 #: build/C/man3/getfsent.3:60
2549 #, no-wrap
2550 msgid ""
2551 "struct fstab {\n"
2552 "    char       *fs_spec;       /* block device name */\n"
2553 "    char       *fs_file;       /* mount point */\n"
2554 "    char       *fs_vfstype;    /* file-system type */\n"
2555 "    char       *fs_mntops;     /* mount options */\n"
2556 "    const char *fs_type;       /* rw/rq/ro/sw/xx option */\n"
2557 "    int         fs_freq;       /* dump frequency, in days */\n"
2558 "    int         fs_passno;     /* pass number on parallel dump */\n"
2559 "};\n"
2560 msgstr ""
2561 "struct fstab {\n"
2562 "    char       *fs_spec;       /* block device name */\n"
2563 "    char       *fs_file;       /* mount point */\n"
2564 "    char       *fs_vfstype;    /* file-system type */\n"
2565 "    char       *fs_mntops;     /* mount options */\n"
2566 "    const char *fs_type;       /* rw/rq/ro/sw/xx option */\n"
2567 "    int         fs_freq;       /* dump frequency, in days */\n"
2568 "    int         fs_passno;     /* pass number on parallel dump */\n"
2569 "};\n"
2570
2571 #. type: Plain text
2572 #: build/C/man3/getfsent.3:68
2573 msgid ""
2574 "Here the field I<fs_type> contains (on a *BSD system)  one of the five "
2575 "strings \"rw\", \"rq\", \"ro\", \"sw\", \"xx\" (read-write, read-write with "
2576 "quota, read-only, swap, ignore)."
2577 msgstr ""
2578 "*BSD システムの場合、 I<fs_type> フィールドには、5 つの文字列 \"rw\", \"rq"
2579 "\", \"ro\", \"sw\", \"xx\" のいずれかが入る (それぞれ read-write, quota 付き "
2580 "read-write, read-only, swap, ignore)。"
2581
2582 #. type: Plain text
2583 #: build/C/man3/getfsent.3:72
2584 msgid ""
2585 "The function B<setfsent>()  opens the file when required and positions it at "
2586 "the first line."
2587 msgstr ""
2588 "関数 B<setfsent>()  は呼び出されると fstab ファイルをオープンし、 最初の行に"
2589 "移動する。"
2590
2591 #. type: Plain text
2592 #: build/C/man3/getfsent.3:77
2593 msgid ""
2594 "The function B<getfsent>()  parses the next line from the file.  (After "
2595 "opening it when required.)"
2596 msgstr ""
2597 "関数 B<getfsent>()  は fstab ファイルから次の行をパースする (必要な場合はファ"
2598 "イルをオープンする)。"
2599
2600 #. type: Plain text
2601 #: build/C/man3/getfsent.3:81
2602 msgid "The function B<endfsent>()  closes the file when required."
2603 msgstr "関数 B<endfsent>()  は呼び出されると fstab ファイルをクローズする。"
2604
2605 #. type: Plain text
2606 #: build/C/man3/getfsent.3:90
2607 msgid ""
2608 "The function B<getfsspec>()  searches the file from the start and returns "
2609 "the first entry found for which the I<fs_spec> field matches the "
2610 "I<special_file> argument."
2611 msgstr ""
2612 "関数 B<getfsspec>()  は fstab ファイルを先頭から検索し、 I<fs_spec> フィール"
2613 "ドが I<special_file> 引数にマッチするエントリが見つかったら、その最初のものを"
2614 "返す。"
2615
2616 #. type: Plain text
2617 #: build/C/man3/getfsent.3:99
2618 msgid ""
2619 "The function B<getfsfile>()  searches the file from the start and returns "
2620 "the first entry found for which the I<fs_file> field matches the "
2621 "I<mount_point> argument."
2622 msgstr ""
2623 "関数 B<getfsfile>()  は fstab ファイルを先頭から検索し、 I<fs_file> フィール"
2624 "ドが I<mount_point> 引数にマッチするエントリが見つかったら、その最初のものを"
2625 "返す。"
2626
2627 #.  .SH HISTORY
2628 #.  The
2629 #.  .BR getfsent ()
2630 #.  function appeared in 4.0BSD; the other four functions appeared in 4.3BSD.
2631 #. type: Plain text
2632 #: build/C/man3/getfsent.3:115
2633 msgid ""
2634 "Upon success, the functions B<getfsent>(), B<getfsfile>(), and "
2635 "B<getfsspec>()  return a pointer to a I<struct fstab>, while B<setfsent>()  "
2636 "returns 1.  Upon failure or end-of-file, these functions return NULL and 0, "
2637 "respectively."
2638 msgstr ""
2639 "成功すると、 B<getfsent>(), B<getfsfile>(), B<getfsspec>()  の各関数は "
2640 "I<fstab> 構造体へのポインタを返し、 B<setfsent>()  関数は 1 を返す。 失敗する"
2641 "とこれらの関数は NULL を返し、 end-of-file になったら 0 を返す。"
2642
2643 #. type: Plain text
2644 #: build/C/man3/getfsent.3:127
2645 msgid ""
2646 "These functions are not in POSIX.1-2001.  Several operating systems have "
2647 "them, for example, *BSD, SunOS, Digital UNIX, AIX (which also has a "
2648 "B<getfstype>()).  HP-UX has functions of the same names, that however use a "
2649 "I<struct checklist> instead of a I<struct fstab>, and calls these functions "
2650 "obsolete, superseded by B<getmntent>(3)."
2651 msgstr ""
2652 "POSIX.1-2001 にはこれらの関数は存在しない。 これらの関数をもつ OS はいくつか"
2653 "あり、 例えば *BSD, SunOS, Digital UNIX, AIX 等である (AIX には "
2654 "B<getfstype>()  もある)。 HP-UX にも同名の関数群があるが、 HP-UX のものは "
2655 "I<fstab> 構造体ではなく I<checklist> 構造体を用いる。 またこれらの関数の呼び"
2656 "出しは obsolete で、 B<getmntent>(3)  に取って代わられている。"
2657
2658 #. type: Plain text
2659 #: build/C/man3/getfsent.3:129
2660 msgid "These functions are not thread-safe."
2661 msgstr "これらの関数はスレッドセーフではない。"
2662
2663 #. type: Plain text
2664 #: build/C/man3/getfsent.3:139
2665 msgid ""
2666 "Since Linux allows mounting a block special device in several places, and "
2667 "since several devices can have the same mount point, where the last device "
2668 "with a given mount point is the interesting one, while B<getfsfile>()  and "
2669 "B<getfsspec>()  only return the first occurrence, these two functions are "
2670 "not suitable for use under Linux."
2671 msgstr ""
2672 "Linux ではブロックスペシャルデバイスを複数の場所にマウントでき、 また複数のデ"
2673 "バイスが同じマウントポイントを共有できる (この場合はそのマウントポイントに最"
2674 "後にマウントされたデバイスが意味を持つ)  が、 B<getfsfile>()  と "
2675 "B<getfsspec>()  はマッチした最初のエントリしか返さないので、 これらの 2 つの"
2676 "関数は Linux での利用には適していない。"
2677
2678 #. type: Plain text
2679 #: build/C/man3/getfsent.3:142
2680 msgid "B<getmntent>(3), B<fstab>(5)"
2681 msgstr "B<getmntent>(3), B<fstab>(5)"
2682
2683 #. type: TH
2684 #: build/C/man3/getmntent.3:32
2685 #, no-wrap
2686 msgid "GETMNTENT"
2687 msgstr "GETMNTENT"
2688
2689 #. type: TH
2690 #: build/C/man3/getmntent.3:32
2691 #, fuzzy, no-wrap
2692 #| msgid "2014-01-15"
2693 msgid "2015-01-22"
2694 msgstr "2014-01-15"
2695
2696 #. type: Plain text
2697 #: build/C/man3/getmntent.3:36
2698 msgid ""
2699 "getmntent, setmntent, addmntent, endmntent, hasmntopt, getmntent_r - get "
2700 "filesystem descriptor file entry"
2701 msgstr ""
2702 "getmntent, setmntent, addmntent, endmntent, hasmntopt, getmntent_r - ファイル"
2703 "システム記述ファイルのエントリを取得する"
2704
2705 #. type: Plain text
2706 #: build/C/man3/getmntent.3:40
2707 #, no-wrap
2708 msgid ""
2709 "B<#include E<lt>stdio.hE<gt>>\n"
2710 "B<#include E<lt>mntent.hE<gt>>\n"
2711 msgstr ""
2712 "B<#include E<lt>stdio.hE<gt>>\n"
2713 "B<#include E<lt>mntent.hE<gt>>\n"
2714
2715 #. type: Plain text
2716 #: build/C/man3/getmntent.3:42
2717 #, no-wrap
2718 msgid "B<FILE *setmntent(const char *>I<filename>B<, const char *>I<type>B<);>\n"
2719 msgstr "B<FILE *setmntent(const char *>I<filename>B<, const char *>I<type>B<);>\n"
2720
2721 #. type: Plain text
2722 #: build/C/man3/getmntent.3:44
2723 #, no-wrap
2724 msgid "B<struct mntent *getmntent(FILE *>I<stream>B<);>\n"
2725 msgstr "B<struct mntent *getmntent(FILE *>I<stream>B<);>\n"
2726
2727 #. type: Plain text
2728 #: build/C/man3/getmntent.3:46
2729 #, no-wrap
2730 msgid "B<int addmntent(FILE *>I<stream>B<, const struct mntent *>I<mnt>B<);>\n"
2731 msgstr "B<int addmntent(FILE *>I<stream>B<, const struct mntent *>I<mnt>B<);>\n"
2732
2733 #. type: Plain text
2734 #: build/C/man3/getmntent.3:48
2735 #, no-wrap
2736 msgid "B<int endmntent(FILE *>I<streamp>B<);>\n"
2737 msgstr "B<int endmntent(FILE *>I<streamp>B<);>\n"
2738
2739 #. type: Plain text
2740 #: build/C/man3/getmntent.3:50
2741 #, no-wrap
2742 msgid "B<char *hasmntopt(const struct mntent *>I<mnt>B<, const char *>I<opt>B<);>\n"
2743 msgstr "B<char *hasmntopt(const struct mntent *>I<mnt>B<, const char *>I<opt>B<);>\n"
2744
2745 #. type: Plain text
2746 #: build/C/man3/getmntent.3:53
2747 #, no-wrap
2748 msgid ""
2749 "/* GNU extension */\n"
2750 "B<#include E<lt>mntent.hE<gt>>\n"
2751 msgstr ""
2752 "/* GNU による拡張 */\n"
2753 "B<#include E<lt>mntent.hE<gt>>\n"
2754
2755 #. type: Plain text
2756 #: build/C/man3/getmntent.3:56
2757 #, no-wrap
2758 msgid ""
2759 "B<struct mntent *getmntent_r(FILE *>I<streamp>B<, struct mntent *>I<mntbuf>B<,>\n"
2760 "B<                           char *>I<buf>B<, int >I<buflen>B<);>\n"
2761 msgstr ""
2762 "B<struct mntent *getmntent_r(FILE *>I<streamp>B<, struct mntent *>I<mntbuf>B<,>\n"
2763 "B<                           char *>I<buf>B<, int >I<buflen>B<);>\n"
2764
2765 #. type: Plain text
2766 #: build/C/man3/getmntent.3:61 build/C/man3/isfdtype.3:40
2767 #: build/C/man2/stat.2:68
2768 msgid ""
2769 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
2770 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7)  参照):"
2771
2772 #. type: Plain text
2773 #: build/C/man3/getmntent.3:65
2774 msgid "B<getmntent_r>(): _BSD_SOURCE || _SVID_SOURCE"
2775 msgstr "B<getmntent_r>(): _BSD_SOURCE || _SVID_SOURCE"
2776
2777 #. type: Plain text
2778 #: build/C/man3/getmntent.3:70
2779 msgid ""
2780 "These routines are used to access the filesystem description file I</etc/"
2781 "fstab> and the mounted filesystem description file I</etc/mtab>."
2782 msgstr ""
2783 "これらのルーチンは、ファイルシステムを記述したファイル I</etc/fstab> と、マウ"
2784 "ントされているファイルシステムを記述したファイル I</etc/mtab> にアクセスする"
2785 "ために用いられる。"
2786
2787 #. type: Plain text
2788 #: build/C/man3/getmntent.3:84
2789 msgid ""
2790 "The B<setmntent>()  function opens the filesystem description file "
2791 "I<filename> and returns a file pointer which can be used by B<getmntent>().  "
2792 "The argument I<type> is the type of access required and can take the same "
2793 "values as the I<mode> argument of B<fopen>(3)."
2794 msgstr ""
2795 "B<setmntent>()  関数は、ファイルシステムの記述ファイル I<filename> をオープン"
2796 "して、 そのファイルポインタを返す。このファイルポインタは B<getmntent>()  に"
2797 "よって用いられる。引き数 I<type> は要求するアクセス形式で、 B<fopen>(3)  の "
2798 "I<mode> 引き数と同じ値を取ることができる。"
2799
2800 #. type: Plain text
2801 #: build/C/man3/getmntent.3:96
2802 msgid ""
2803 "The B<getmntent>()  function reads the next line of the filesystem "
2804 "description file from I<stream> and returns a pointer to a structure "
2805 "containing the broken out fields from a line in the file.  The pointer "
2806 "points to a static area of memory which is overwritten by subsequent calls "
2807 "to B<getmntent>()."
2808 msgstr ""
2809 "B<getmntent>() 関数は I<stream> からファイルシステムの記述ファイルの次の行を"
2810 "読み込み、 読み込んだ行をフィールドに分割した内容を収めた構造体へのポインタを"
2811 "返す。 ポインタはメモリの静的な領域を指しており、この領域は B<getmntent>() を"
2812 "次に呼び出したときに上書きされてしまう。"
2813
2814 #. type: Plain text
2815 #: build/C/man3/getmntent.3:106
2816 msgid ""
2817 "The B<addmntent>()  function adds the I<mntent> structure I<mnt> to the end "
2818 "of the open I<stream>."
2819 msgstr ""
2820 "B<addmntent>()  関数は I<mntent> 構造体 I<mnt> の内容を、オープンされている "
2821 "I<stream> の最後に追加する。"
2822
2823 #. type: Plain text
2824 #: build/C/man3/getmntent.3:112
2825 msgid ""
2826 "The B<endmntent>()  function closes the I<stream> associated with the "
2827 "filesystem description file."
2828 msgstr ""
2829 "B<endmntent>() 関数はファイルシステムの記述ファイルに関連付けられている "
2830 "I<stream> を閉じる。"
2831
2832 #. type: Plain text
2833 #: build/C/man3/getmntent.3:129
2834 msgid ""
2835 "The B<hasmntopt>()  function scans the I<mnt_opts> field (see below)  of the "
2836 "I<mntent> structure I<mnt> for a substring that matches I<opt>.  See "
2837 "I<E<lt>mntent.hE<gt>> and B<mount>(8)  for valid mount options."
2838 msgstr ""
2839 "B<hasmntopt>()  関数は I<mntent> 構造体 I<mnt> の I<mnt_opts> フィールド (下"
2840 "記 参照) をスキャンし、 I<opt> に一致する部分文字列があるかを調べる。 有効な"
2841 "マウントオプションについては I<E<lt>mntent.hE<gt>> と B<mount>(8)  を参照のこ"
2842 "と。"
2843
2844 #. type: Plain text
2845 #: build/C/man3/getmntent.3:143
2846 msgid ""
2847 "The reentrant B<getmntent_r>()  function is similar to B<getmntent>(), but "
2848 "stores the I<struct mount> in the provided I<*mntbuf> and stores the strings "
2849 "pointed to by the entries in that struct in the provided array I<buf> of "
2850 "size I<buflen>."
2851 msgstr ""
2852 "リエントラントな関数 B<getmntent_r>()  は B<getmntent>()  と同じだが、 ユーザ"
2853 "が用意した I<*mntbuf> に I<struct mount> を格納し、その構造体の各エントリが指"
2854 "し示す文字列を ユーザが用意した大きさ I<buflen> の配列 I<buf> に書き込む。"
2855
2856 #. type: Plain text
2857 #: build/C/man3/getmntent.3:149
2858 msgid "The I<mntent> structure is defined in I<E<lt>mntent.hE<gt>> as follows:"
2859 msgstr ""
2860 "I<mntent> 構造体は I<E<lt>mntent.hE<gt>> で以下のように定義されている。"
2861
2862 #. type: Plain text
2863 #: build/C/man3/getmntent.3:160
2864 #, no-wrap
2865 msgid ""
2866 "struct mntent {\n"
2867 "    char *mnt_fsname;   /* name of mounted filesystem */\n"
2868 "    char *mnt_dir;      /* filesystem path prefix */\n"
2869 "    char *mnt_type;     /* mount type (see mntent.h) */\n"
2870 "    char *mnt_opts;     /* mount options (see mntent.h) */\n"
2871 "    int   mnt_freq;     /* dump frequency in days */\n"
2872 "    int   mnt_passno;   /* pass number on parallel fsck */\n"
2873 "};\n"
2874 msgstr ""
2875 "struct mntent {\n"
2876 "    char *mnt_fsname;   /* name of mounted file system */\n"
2877 "    char *mnt_dir;      /* file system path prefix */\n"
2878 "    char *mnt_type;     /* mount type (see mntent.h) */\n"
2879 "    char *mnt_opts;     /* mount options (see mntent.h) */\n"
2880 "    int   mnt_freq;     /* dump frequency in days */\n"
2881 "    int   mnt_passno;   /* pass number on parallel fsck */\n"
2882 "};\n"
2883
2884 #. type: Plain text
2885 #: build/C/man3/getmntent.3:175
2886 msgid ""
2887 "Since fields in the mtab and fstab files are separated by whitespace, octal "
2888 "escapes are used to represent the four characters space (\\e040), tab "
2889 "(\\e011), newline (\\e012) and backslash (\\e134) in those files when they "
2890 "occur in one of the four strings in a I<mntent> structure.  The routines "
2891 "B<addmntent>()  and B<getmntent>()  will convert from string representation "
2892 "to escaped representation and back."
2893 msgstr ""
2894 "mtab や fstab ファイルでは、各フィールドは空白で区切られているので、 スペー"
2895 "ス、タブ、改行、バックスラッシュの 4文字をこれらのファイルで 使いたい場合で、"
2896 "かつ I<mntent> 構造体の 4つの文字列メンバーのいずれかに対応するフィールド内"
2897 "で 使いたい場合には、8進のエスケープ表記を使って表現する: スペース (\\e040), "
2898 "タブ (\\e011), 改行 (\\e012), バックスラッシュ (\\e134)。 B<addmntent>()  と "
2899 "B<getmntent>()  は、文字列表現から エスケープ表現への変換、およびその逆を行"
2900 "う。"
2901
2902 #. type: Plain text
2903 #: build/C/man3/getmntent.3:184
2904 msgid ""
2905 "The B<getmntent>()  and B<getmntent_r>()  functions return a pointer to the "
2906 "I<mntent> structure or NULL on failure."
2907 msgstr ""
2908 "B<getmntent>()  と B<getmntent_r>()  は I<mntent> 構造体へのポインタを返す。 "
2909 "失敗した場合は NULL を返す。"
2910
2911 #. type: Plain text
2912 #: build/C/man3/getmntent.3:188
2913 msgid "The B<addmntent>()  function returns 0 on success and 1 on failure."
2914 msgstr "B<addmntent>()  関数は成功したら 0 を返し、失敗したら 1 を返す。"
2915
2916 #. type: Plain text
2917 #: build/C/man3/getmntent.3:192
2918 msgid "The B<endmntent>()  function always returns 1."
2919 msgstr "B<endmntent>()  関数はつねに 1 を返す。"
2920
2921 #. type: Plain text
2922 #: build/C/man3/getmntent.3:197
2923 msgid ""
2924 "The B<hasmntopt>()  function returns the address of the substring if a match "
2925 "is found and NULL otherwise."
2926 msgstr ""
2927 "B<hasmntopt>()  関数は、マッチした場合は部分文字列へのアドレスを返し、 マッチ"
2928 "しなければ NULL を返す。"
2929
2930 #. type: SH
2931 #: build/C/man3/getmntent.3:197 build/C/man2/spu_create.2:240
2932 #, no-wrap
2933 msgid "FILES"
2934 msgstr "ファイル"
2935
2936 #. type: Plain text
2937 #: build/C/man3/getmntent.3:201
2938 #, no-wrap
2939 msgid ""
2940 "/etc/fstab          filesystem description file\n"
2941 "/etc/mtab           mounted filesystem description file\n"
2942 msgstr ""
2943 "/etc/fstab          ファイルシステム記述ファイル\n"
2944 "/etc/mtab           マウントされたファイルシステムの記述ファイル\n"
2945
2946 #. type: Plain text
2947 #: build/C/man3/getmntent.3:208
2948 msgid ""
2949 "The nonreentrant functions are from SunOS 4.1.3.  A routine "
2950 "B<getmntent_r>()  was introduced in HP-UX 10, but it returns an int.  The "
2951 "prototype shown above is glibc-only."
2952 msgstr ""
2953 "リエントラントでない関数は SunOS 4.1.3 由来のものである。 B<getmntent_r>()  "
2954 "関数は HPUX 10 で導入されたが、このバージョンでは int を返す。 上記に示したプ"
2955 "ロトタイプは glibc 独自のものである。"
2956
2957 #. type: Plain text
2958 #: build/C/man3/getmntent.3:220
2959 msgid ""
2960 "System V also has a B<getmntent>()  function but the calling sequence "
2961 "differs, and the returned structure is different.  Under System V I</etc/"
2962 "mnttab> is used.  4.4BSD and Digital UNIX have a routine B<getmntinfo>(), a "
2963 "wrapper around the system call B<getfsstat>()."
2964 msgstr ""
2965 "System V にも B<getmntent>()  関数はあるが、 呼び出し手順が異なり、返される構"
2966 "造体も異なる。 System V では I</etc/mnttab> が用いられる。 4.4BSD と Digital "
2967 "UNIX には B<getmntinfo>()  があるが、 システムコール B<getfsstat>()  のラッ"
2968 "パー関数である。"
2969
2970 #. type: Plain text
2971 #: build/C/man3/getmntent.3:224
2972 msgid "B<fopen>(3), B<fstab>(5), B<mount>(8)"
2973 msgstr "B<fopen>(3), B<fstab>(5), B<mount>(8)"
2974
2975 #. type: TH
2976 #: build/C/man2/getxattr.2:25
2977 #, no-wrap
2978 msgid "GETXATTR"
2979 msgstr "GETXATTR"
2980
2981 #. type: TH
2982 #: build/C/man2/getxattr.2:25
2983 #, no-wrap
2984 msgid "2014-04-06"
2985 msgstr "2014-04-06"
2986
2987 #. type: Plain text
2988 #: build/C/man2/getxattr.2:28
2989 msgid "getxattr, lgetxattr, fgetxattr - retrieve an extended attribute value"
2990 msgstr "getxattr, lgetxattr, fgetxattr - 拡張属性の値を取得する"
2991
2992 #. type: Plain text
2993 #: build/C/man2/getxattr.2:33 build/C/man2/listxattr.2:33
2994 #: build/C/man2/removexattr.2:33 build/C/man2/setxattr.2:33
2995 #, no-wrap
2996 msgid ""
2997 "B<#include E<lt>sys/types.hE<gt>>\n"
2998 "B<#include E<lt>sys/xattr.hE<gt>>\n"
2999 msgstr ""
3000 "B<#include E<lt>sys/types.hE<gt>>\n"
3001 "B<#include E<lt>sys/xattr.hE<gt>>\n"
3002
3003 #. type: Plain text
3004 #: build/C/man2/getxattr.2:40
3005 #, no-wrap
3006 msgid ""
3007 "B<ssize_t getxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
3008 "B<                 void\\ *>I<value>B<, size_t >I<size>B<);>\n"
3009 "B<ssize_t lgetxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
3010 "B<                 void\\ *>I<value>B<, size_t >I<size>B<);>\n"
3011 "B<ssize_t fgetxattr(int >I<fd>B<, const char\\ *>I<name>B<,>\n"
3012 "B<                 void\\ *>I<value>B<, size_t >I<size>B<);>\n"
3013 msgstr ""
3014 "B<ssize_t getxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
3015 "B<                 void\\ *>I<value>B<, size_t >I<size>B<);>\n"
3016 "B<ssize_t lgetxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
3017 "B<                 void\\ *>I<value>B<, size_t >I<size>B<);>\n"
3018 "B<ssize_t fgetxattr(int >I<fd>B<, const char\\ *>I<name>B<,>\n"
3019 "B<                 void\\ *>I<value>B<, size_t >I<size>B<);>\n"
3020
3021 #. type: Plain text
3022 #: build/C/man2/getxattr.2:53 build/C/man2/setxattr.2:53
3023 msgid ""
3024 "Extended attributes are I<name>:I<value> pairs associated with inodes "
3025 "(files, directories, symbolic links, etc.).  They are extensions to the "
3026 "normal attributes which are associated with all inodes in the system (i.e., "
3027 "the B<stat>(2)  data).  A complete overview of extended attributes concepts "
3028 "can be found in B<attr>(5)."
3029 msgstr ""
3030 "拡張属性は、inode (ファイル、ディレクトリ、シンボリックリンク等) に 関連付け"
3031 "られた I<name>:I<value> の対である。 これらは、システム上のすべての inode に"
3032 "関連付けられた通常の属性 (B<stat>(2)  が返すデータ) を拡張するものである。 拡"
3033 "張属性のコンセプトは B<attr>(5)  に書かれている。"
3034
3035 #. type: Plain text
3036 #: build/C/man2/getxattr.2:65
3037 msgid ""
3038 "B<getxattr>()  retrieves the I<value> of the extended attribute identified "
3039 "by I<name> and associated with the given I<path> in the filesystem.  The "
3040 "length of the attribute I<value> is returned."
3041 msgstr ""
3042 "B<getxattr>()  は、ファイルシステム内の指定された I<path> に対応する、名前 "
3043 "I<name> の拡張属性の I<value> (値) を取得する。 属性 I<value> の長さが返され"
3044 "る。"
3045
3046 #. type: Plain text
3047 #: build/C/man2/getxattr.2:71
3048 msgid ""
3049 "B<lgetxattr>()  is identical to B<getxattr>(), except in the case of a "
3050 "symbolic link, where the link itself is interrogated, not the file that it "
3051 "refers to."
3052 msgstr ""
3053 "B<lgetxattr>()  は B<getxattr>()  と同じだが、シンボリックリンクの場合に、リ"
3054 "ンクが参照しているファイル ではなく、リンクそのものの情報を取得する点だけが異"
3055 "なる。"
3056
3057 #. type: Plain text
3058 #: build/C/man2/getxattr.2:81
3059 msgid ""
3060 "B<fgetxattr>()  is identical to B<getxattr>(), only the open file referred "
3061 "to by I<fd> (as returned by B<open>(2))  is interrogated in place of I<path>."
3062 msgstr ""
3063 "B<fgetxattr>()  は B<getxattr>()  と同じだが、 I<path> の代わりに I<fd> で参"
3064 "照されたオープン済みファイルの情報だけを取得する点が異なる (I<fd> は "
3065 "B<open>(2)  によって返される)。"
3066
3067 #. type: Plain text
3068 #: build/C/man2/getxattr.2:89
3069 msgid ""
3070 "An extended attribute I<name> is a simple null-terminated string.  The name "
3071 "includes a namespace prefix; there may be several, disjoint namespaces "
3072 "associated with an individual inode.  The value of an extended attribute is "
3073 "a chunk of arbitrary textual or binary data of specified length."
3074 msgstr ""
3075 "拡張属性の名前 I<name> は普通のヌル終端された文字列である。 名前には、名前空"
3076 "間を表す接頭辞 (prefix) が含まれる; 個々の inode に対して、互いに独立な名前空"
3077 "間が複数あってもよい。 拡張属性の値は、ある一定の長さの任意のテキスト・データ"
3078 "または バイナリ・データの集合である。"
3079
3080 #. type: Plain text
3081 #: build/C/man2/getxattr.2:96
3082 msgid ""
3083 "An empty buffer of I<size> zero can be passed into these calls to return the "
3084 "current size of the named extended attribute, which can be used to estimate "
3085 "the size of a buffer which is sufficiently large to hold the value "
3086 "associated with the extended attribute."
3087 msgstr ""
3088 "I<size> に 0 を指定して空のバッファをこれらのシステムコールに渡すことがで"
3089 "き、 この場合には指定された名前の拡張属性の現在のサイズが返される。 この方法"
3090 "は、拡張属性の値を保持するのに十分な大きさのバッファ・サイズを 見積もるのに使"
3091 "うことができる、"
3092
3093 #. type: Plain text
3094 #: build/C/man2/getxattr.2:100
3095 msgid ""
3096 "The interface is designed to allow guessing of initial buffer sizes, and to "
3097 "enlarge buffers when the return value indicates that the buffer provided was "
3098 "too small."
3099 msgstr ""
3100 "このシステムコール・インタフェースは、初期バッファのサイズの推測をしたり、 与"
3101 "えられたバッファが小さすぎたことを返り値で知らせることでバッファを大きく した"
3102 "りできるように設計されている。"
3103
3104 #. type: Plain text
3105 #: build/C/man2/getxattr.2:106
3106 msgid ""
3107 "On success, a nonnegative number is returned indicating the size of the "
3108 "extended attribute value.  On failure, -1 is returned and I<errno> is set "
3109 "appropriately."
3110 msgstr ""
3111 "成功した場合、拡張属性の値の長さを表す非負の数が返される。 失敗した場合、 -1 "
3112 "が返され、 I<errno> に適切な値がセットされる。"
3113
3114 #. type: TP
3115 #: build/C/man2/getxattr.2:107 build/C/man2/removexattr.2:84
3116 #: build/C/man2/setxattr.2:119
3117 #, no-wrap
3118 msgid "B<ENOATTR>"
3119 msgstr "B<ENOATTR>"
3120
3121 #. type: Plain text
3122 #: build/C/man2/getxattr.2:116
3123 msgid ""
3124 "The named attribute does not exist, or the process has no access to this "
3125 "attribute.  (B<ENOATTR> is defined to be a synonym for B<ENODATA> in "
3126 "I<E<lt>attr/xattr.hE<gt>>.)"
3127 msgstr ""
3128 "指定された名前の属性が存在しない、またはプロセスがその属性にアクセスする権限"
3129 "がない (B<ENOATTR> は I<E<lt>attr/xattr.hE<gt>> で B<ENODATA> の同義語として"
3130 "定義されている)。"
3131
3132 #. type: TP
3133 #: build/C/man2/getxattr.2:116 build/C/man2/listxattr.2:128
3134 #: build/C/man2/removexattr.2:92 build/C/man2/setxattr.2:131
3135 #, no-wrap
3136 msgid "B<ENOTSUP>"
3137 msgstr "B<ENOTSUP>"
3138
3139 #. type: Plain text
3140 #: build/C/man2/getxattr.2:119 build/C/man2/listxattr.2:131
3141 #: build/C/man2/removexattr.2:95
3142 msgid ""
3143 "Extended attributes are not supported by the filesystem, or are disabled."
3144 msgstr ""
3145 "拡張属性がそのファイルシステムでサポートされていない、 もしくは無効になってい"
3146 "る。"
3147
3148 #. type: TP
3149 #: build/C/man2/getxattr.2:119 build/C/man2/listxattr.2:131
3150 #, no-wrap
3151 msgid "B<ERANGE>"
3152 msgstr "B<ERANGE>"
3153
3154 #. type: Plain text
3155 #: build/C/man2/getxattr.2:126
3156 msgid "The I<size> of the I<value> buffer is too small to hold the result."
3157 msgstr ""
3158 "I<value> バッファの大きさ I<size> が結果を保持するのに十分な大きさでなかっ"
3159 "た。"
3160
3161 #. type: Plain text
3162 #: build/C/man2/getxattr.2:130 build/C/man2/listxattr.2:142
3163 #: build/C/man2/removexattr.2:99 build/C/man2/setxattr.2:141
3164 msgid "In addition, the errors documented in B<stat>(2)  can also occur."
3165 msgstr "上記に加えて、 B<stat>(2) に書かれているエラーが発生する場合もある。"
3166
3167 #. type: Plain text
3168 #: build/C/man2/getxattr.2:133 build/C/man2/listxattr.2:145
3169 #: build/C/man2/removexattr.2:102 build/C/man2/setxattr.2:144
3170 msgid ""
3171 "These system calls have been available on Linux since kernel 2.4; glibc "
3172 "support is provided since version 2.3."
3173 msgstr ""
3174 "これらのシステムコールはカーネル 2.4 以降の Linux で利用できる。 glibc でのサ"
3175 "ポートはバージョン 2.3 以降で行われている。"
3176
3177 #.  .SH AUTHORS
3178 #.  Andreas Gruenbacher,
3179 #.  .RI < a.gruenbacher@computer.org >
3180 #.  and the SGI XFS development team,
3181 #.  .RI < linux-xfs@oss.sgi.com >.
3182 #.  Please send any bug reports or comments to these addresses.
3183 #. type: Plain text
3184 #: build/C/man2/getxattr.2:141 build/C/man2/listxattr.2:153
3185 #: build/C/man2/removexattr.2:110 build/C/man2/setxattr.2:152
3186 msgid "These system calls are Linux-specific."
3187 msgstr "これらのシステムコールは Linux 独自である。"
3188
3189 #. type: Plain text
3190 #: build/C/man2/getxattr.2:151
3191 msgid ""
3192 "B<getfattr>(1), B<setfattr>(1), B<listxattr>(2), B<open>(2), "
3193 "B<removexattr>(2), B<setxattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
3194 msgstr ""
3195 "B<getfattr>(1), B<setfattr>(1), B<listxattr>(2), B<open>(2), "
3196 "B<removexattr>(2), B<setxattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
3197
3198 #. type: TH
3199 #: build/C/man3/isfdtype.3:26
3200 #, no-wrap
3201 msgid "ISFDTYPE"
3202 msgstr "ISFDTYPE"
3203
3204 #. type: TH
3205 #: build/C/man3/isfdtype.3:26
3206 #, no-wrap
3207 msgid "2014-03-13"
3208 msgstr "2014-03-13"
3209
3210 #. type: Plain text
3211 #: build/C/man3/isfdtype.3:29
3212 msgid "isfdtype - test file type of a file descriptor"
3213 msgstr "isfdtype - ファイルディスクリプタのファイル種別を検査する"
3214
3215 #. type: Plain text
3216 #: build/C/man3/isfdtype.3:33
3217 #, no-wrap
3218 msgid ""
3219 "B<#include E<lt>sys/stat.hE<gt>>\n"
3220 "B<#include E<lt>sys/socket.hE<gt>>\n"
3221 msgstr ""
3222 "B<#include E<lt>sys/stat.hE<gt>>\n"
3223 "B<#include E<lt>sys/socket.hE<gt>>\n"
3224
3225 #. type: Plain text
3226 #: build/C/man3/isfdtype.3:35
3227 #, no-wrap
3228 msgid "B<int isfdtype(int >I<fd>B<, int >I<fdtype>B<);>\n"
3229 msgstr "B<int isfdtype(int >I<fd>B<, int >I<fdtype>B<);>\n"
3230
3231 #. type: Plain text
3232 #: build/C/man3/isfdtype.3:43
3233 msgid "B<isfdtype>():"
3234 msgstr "B<isfdtype>():"
3235
3236 #. type: TP
3237 #: build/C/man3/isfdtype.3:46
3238 #, no-wrap
3239 msgid "Since glibc 2.20:"
3240 msgstr "glibc 2.20 以降:"
3241
3242 #. type: Plain text
3243 #: build/C/man3/isfdtype.3:49
3244 msgid "_DEFAULT_SOURCE"
3245 msgstr "_DEFAULT_SOURCE"
3246
3247 #. type: TP
3248 #: build/C/man3/isfdtype.3:49
3249 #, no-wrap
3250 msgid "Before glibc 2.20:"
3251 msgstr "glibc 2.20 より前:"
3252
3253 #. type: Plain text
3254 #: build/C/man3/isfdtype.3:52
3255 msgid "_BSD_SOURCE || _SVID_SOURCE"
3256 msgstr "_BSD_SOURCE || _SVID_SOURCE"
3257
3258 #. type: Plain text
3259 #: build/C/man3/isfdtype.3:72
3260 msgid ""
3261 "The B<isfdtype>()  function tests whether the file descriptor I<fd> refers "
3262 "to a file of type I<fdtype>.  The I<fdtype> argument specifies one of the "
3263 "B<S_IF*> constants defined in I<E<lt>sys/stat.hE<gt>> and documented in "
3264 "B<stat>(2)  (e.g., B<S_IFREG>)."
3265 msgstr ""
3266 "B<isfdtype>() 関数はファイルディスクリプタ I<fd> がタイプが I<fdtype> のファ"
3267 "イルを参照しているかを検査する。 I<fdtype> 引き数には、I<E<lt>sys/stat."
3268 "hE<gt>> で定義されている B<S_IF*> 定数のひとつ (B<S_IFREG> など) を指定す"
3269 "る。 B<S_IF*> 定数の説明は B<stat>(2) にある。"
3270
3271 #. type: Plain text
3272 #: build/C/man3/isfdtype.3:83
3273 msgid ""
3274 "The B<isfdtype>()  function returns 1 if the file descriptor I<fd> is of "
3275 "type I<fdtype> and 0 if it is not.  On error, -1 is returned and I<errno> is "
3276 "set to indicate the cause."
3277 msgstr ""
3278 "B<isfdtype>() 関数は、ファイルディスクリプタ I<fd> がタイプ I<fdtype> であっ"
3279 "た場合に 1 を返し、そうでない場合に 0 を返す。 エラーの場合、 -1 を返し、"
3280 "I<errno> に原因を示す値を設定する。"
3281
3282 #. type: Plain text
3283 #: build/C/man3/isfdtype.3:88
3284 msgid ""
3285 "The B<isfdtype>()  function can fail with any of the same errors as "
3286 "B<fstat>(3)."
3287 msgstr "B<isfdtype>() 関数は B<fstat>(3) と同じエラーで失敗する。"
3288
3289 #. type: Plain text
3290 #: build/C/man3/isfdtype.3:98
3291 msgid ""
3292 "The B<isfdtype>()  function is not specified in any standard, but did appear "
3293 "in the draft POSIX.1g standard.  It is present on OpenBSD and Tru64 UNIX "
3294 "(where the required header file in both cases is just I<E<lt>sys/stat."
3295 "hE<gt>>, as shown in the POSIX.1g draft), and possibly other systems."
3296 msgstr ""
3297 "B<isfdtype>() 関数はどの標準でも規定されていないが、 POSIX.1g 標準のドラフト"
3298 "に登場したことはある。 OpenBSD と Tru64 UNIX に存在し、おそらく他のシステムに"
3299 "も存在する (OpenBSD と Tru64 UNIX のどちらの場合でも必要なヘッダーファイルは "
3300 "I<E<lt>sys/stat.hE<gt>> だけであり、POSIX.1g ドラフトに書かれていたのと同じで"
3301 "ある)。"
3302
3303 #. type: Plain text
3304 #: build/C/man3/isfdtype.3:102
3305 msgid "Portable applications should use B<fstat>(3)  instead."
3306 msgstr ""
3307 "移植性が求められるアプリケーションでは B<fstat>(3) を使用すべきである。"
3308
3309 #. type: Plain text
3310 #: build/C/man3/isfdtype.3:104
3311 msgid "B<fstat>(3)"
3312 msgstr "B<fstat>(3)"
3313
3314 #. type: TH
3315 #: build/C/man2/listxattr.2:25
3316 #, no-wrap
3317 msgid "LISTXATTR"
3318 msgstr "LISTXATTR"
3319
3320 #. type: TH
3321 #: build/C/man2/listxattr.2:25 build/C/man2/removexattr.2:25
3322 #: build/C/man2/setxattr.2:25
3323 #, no-wrap
3324 msgid "2014-02-06"
3325 msgstr "2014-02-06"
3326
3327 #. type: Plain text
3328 #: build/C/man2/listxattr.2:28
3329 msgid "listxattr, llistxattr, flistxattr - list extended attribute names"
3330 msgstr "listxattr, llistxattr, flistxattr - 拡張属性の名前リストを得る"
3331
3332 #. type: Plain text
3333 #: build/C/man2/listxattr.2:39
3334 #, no-wrap
3335 msgid ""
3336 "B<ssize_t listxattr(const char\\ *>I<path>B<, char\\ *>I<list>B<, size_t >I<size>B<);>\n"
3337 "B<ssize_t llistxattr(const char\\ *>I<path>B<, char\\ *>I<list>B<, size_t >I<size>B<);>\n"
3338 "B<ssize_t flistxattr(int >I<fd>B<, char\\ *>I<list>B<, size_t >I<size>B<);>\n"
3339 msgstr ""
3340 "B<ssize_t listxattr(const char\\ *>I<path>B<, char\\ *>I<list>B<, size_t >I<size>B<);>\n"
3341 "B<ssize_t llistxattr(const char\\ *>I<path>B<, char\\ *>I<list>B<, size_t >I<size>B<);>\n"
3342 "B<ssize_t flistxattr(int >I<fd>B<, char\\ *>I<list>B<, size_t >I<size>B<);>\n"
3343
3344 #. type: Plain text
3345 #: build/C/man2/listxattr.2:50
3346 msgid ""
3347 "Extended attributes are name:value pairs associated with inodes (files, "
3348 "directories, symbolic links, etc.).  They are extensions to the normal "
3349 "attributes which are associated with all inodes in the system (i.e., the "
3350 "B<stat>(2)  data).  A complete overview of extended attributes concepts can "
3351 "be found in B<attr>(5)."
3352 msgstr ""
3353 "拡張属性は、inode (ファイル、ディレクトリ、シンボリックリンク等) に 関連付け"
3354 "られた I<name>:I<value> の対である。 これらは、システム上のすべての inode に"
3355 "関連付けられた通常の属性 (B<stat>(2)  が返すデータ) を拡張するものである。 拡"
3356 "張属性のコンセプトは B<attr>(5)  に書かれている。"
3357
3358 #. type: Plain text
3359 #: build/C/man2/listxattr.2:66
3360 msgid ""
3361 "B<listxattr>()  retrieves the list of extended attribute names associated "
3362 "with the given I<path> in the filesystem.  The retrieved list is placed in "
3363 "I<list>, a caller-allocated buffer whose size (in bytes) is specified in the "
3364 "argument I<size>.  The list is the set of (null-terminated) names, one after "
3365 "the other.  Names of extended attributes to which the calling process does "
3366 "not have access may be omitted from the list.  The length of the attribute "
3367 "name I<list> is returned."
3368 msgstr ""
3369 "B<listxattr>()  は、ファイルシステム内の指定された I<path> に対応する拡張属性"
3370 "の名前リストを取得する。取得したリストは I<list> に格納される。 I<list> は呼"
3371 "び出し側で確保するバッファで、引き数 I<size> でバッファのサイズを (バイト単位"
3372 "で) 指定する。リストは名前の集合で、ヌル終端された文字列が連続して並んでい"
3373 "る。呼び出したプロセスがアクセスする権限のない拡張属性の名前は、リストに含ま"
3374 "れない。拡張属性の名前の I<list> の長さが返される。"
3375
3376 #. type: Plain text
3377 #: build/C/man2/listxattr.2:73
3378 msgid ""
3379 "B<llistxattr>()  is identical to B<listxattr>(), except in the case of a "
3380 "symbolic link, where the list of names of extended attributes associated "
3381 "with the link itself is retrieved, not the file that it refers to."
3382 msgstr ""
3383 "B<llistxattr>()  は B<listxattr>()  と同じだが、シンボリックリンクの場合に、"
3384 "リンクが参照しているファイル ではなく、リンクそのものの拡張属性の名前リストを"
3385 "取得する点だけが異なる。"
3386
3387 #. type: Plain text
3388 #: build/C/man2/listxattr.2:83
3389 msgid ""
3390 "B<flistxattr>()  is identical to B<listxattr>(), only the open file referred "
3391 "to by I<fd> (as returned by B<open>(2))  is interrogated in place of I<path>."
3392 msgstr ""
3393 "B<flistxattr>()  は B<listxattr>()  と同じだが、 I<path> の代わりに I<fd> で"
3394 "参照されたオープン済みファイルの情報だけを取得する点が異なる (I<filedes> は "
3395 "B<open>(2)  によって返される)。"
3396
3397 #. type: Plain text
3398 #: build/C/man2/listxattr.2:89
3399 msgid ""
3400 "A single extended attribute I<name> is a simple null-terminated string.  The "
3401 "name includes a namespace prefix; there may be several, disjoint namespaces "
3402 "associated with an individual inode."
3403 msgstr ""
3404 "個々の拡張属性の I<name> は普通のヌル終端された文字列である。 名前には、名前"
3405 "空間を表す接頭辞 (prefix) が含まれる; 個々の inode に対して、互いに独立な名前"
3406 "空間が複数あってもよい。"
3407
3408 #. type: Plain text
3409 #: build/C/man2/listxattr.2:95
3410 msgid ""
3411 "An empty buffer of I<size> zero can be passed into these calls to return the "
3412 "current size of the list of extended attribute names, which can be used to "
3413 "estimate the size of a buffer which is sufficiently large to hold the list "
3414 "of names."
3415 msgstr ""
3416 "I<size> に 0 を指定して空のバッファをこれらのシステムコールに渡すことがで"
3417 "き、 この場合には拡張属性の名前リストの現在のサイズが返される。 この方法は名"
3418 "前リストを保持するのに十分な大きさのバッファ・サイズを 見積もるのに使うことが"
3419 "できる、"
3420
3421 #. type: SS
3422 #: build/C/man2/listxattr.2:95
3423 #, no-wrap
3424 msgid "Example"
3425 msgstr "Example"
3426
3427 #. type: Plain text
3428 #: build/C/man2/listxattr.2:100
3429 msgid ""
3430 "The I<list> of names is returned as an unordered array of null-terminated "
3431 "character strings (attribute names are separated by null bytes (\\(aq"
3432 "\\e0\\(aq)), like this:"
3433 msgstr ""
3434 "返される名前の I<list> は、ヌル終端された文字列の配列 (属性名はヌルバイト "
3435 "(\\(aq\\e0\\(aq)  で区切られている) で、各要素は整列されている訳ではない。 以"
3436 "下に例を示す:"
3437
3438 #. type: Plain text
3439 #: build/C/man2/listxattr.2:105
3440 #, no-wrap
3441 msgid "user.name1\\e0system.name1\\e0user.name2\\e0\n"
3442 msgstr "user.name1\\e0system.name1\\e0user.name2\\e0\n"
3443
3444 #. type: Plain text
3445 #: build/C/man2/listxattr.2:113
3446 msgid ""
3447 "Filesystems like ext2, ext3 and XFS which implement POSIX ACLs using "
3448 "extended attributes, might return a I<list> like this:"
3449 msgstr ""
3450 "拡張属性を使って POSIX ACL を実装している ext2、ext3、XFS のようなファイル シ"
3451 "ステムでは、返される I<list> は以下のようになることだろう:"
3452
3453 #. type: Plain text
3454 #: build/C/man2/listxattr.2:118
3455 #, no-wrap
3456 msgid "system.posix_acl_access\\e0system.posix_acl_default\\e0\n"
3457 msgstr "system.posix_acl_access\\e0system.posix_acl_default\\e0\n"
3458
3459 #. type: Plain text
3460 #: build/C/man2/listxattr.2:127
3461 msgid ""
3462 "On success, a nonnegative number is returned indicating the size of the "
3463 "extended attribute name list.  On failure, -1 is returned and I<errno> is "
3464 "set appropriately."
3465 msgstr ""
3466 "成功した場合、拡張属性の名前リストの長さを表す非負の数が返される。 失敗した場"
3467 "合、 -1 が返され、 I<errno> に適切な値がセットされる。"
3468
3469 #. type: Plain text
3470 #: build/C/man2/listxattr.2:138
3471 msgid "The I<size> of the I<list> buffer is too small to hold the result."
3472 msgstr ""
3473 "I<list> バッファの大きさ I<size> が結果を保持するのに十分な大きさでなかった。"
3474
3475 #. type: Plain text
3476 #: build/C/man2/listxattr.2:163
3477 msgid ""
3478 "B<getfattr>(1), B<setfattr>(1), B<getxattr>(2), B<open>(2), "
3479 "B<removexattr>(2), B<setxattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
3480 msgstr ""
3481 "B<getfattr>(1), B<setfattr>(1), B<getxattr>(2), B<open>(2), "
3482 "B<removexattr>(2), B<setxattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
3483
3484 #. type: TH
3485 #: build/C/man2/mount.2:40
3486 #, no-wrap
3487 msgid "MOUNT"
3488 msgstr "MOUNT"
3489
3490 #. type: TH
3491 #: build/C/man2/mount.2:40
3492 #, no-wrap
3493 msgid "2014-09-21"
3494 msgstr "2014-09-21"
3495
3496 #. type: Plain text
3497 #: build/C/man2/mount.2:43
3498 msgid "mount - mount filesystem"
3499 msgstr "mount - ファイルシステムをマウント/アンマウントする"
3500
3501 #. type: Plain text
3502 #: build/C/man2/mount.2:46 build/C/man2/umount.2:36
3503 #, no-wrap
3504 msgid "B<#include E<lt>sys/mount.hE<gt>>\n"
3505 msgstr "B<#include E<lt>sys/mount.hE<gt>>\n"
3506
3507 #. type: Plain text
3508 #: build/C/man2/mount.2:50
3509 #, no-wrap
3510 msgid ""
3511 "B<int mount(const char *>I<source>B<, const char *>I<target>B<,>\n"
3512 "B<          const char *>I<filesystemtype>B<, unsigned long >I<mountflags>B<,>\n"
3513 "B<          const void *>I<data>B<);>\n"
3514 msgstr ""
3515 "B<int mount(const char *>I<source>B<, const char *>I<target>B<,>\n"
3516 "B<          const char *>I<filesystemtype>B<, unsigned long >I<mountflags>B<,>\n"
3517 "B<          const void *>I<data>B<);>\n"
3518
3519 #. type: Plain text
3520 #: build/C/man2/mount.2:58
3521 msgid ""
3522 "B<mount>()  attaches the filesystem specified by I<source> (which is often a "
3523 "device name, but can also be a directory name or a dummy) to the directory "
3524 "specified by I<target>."
3525 msgstr ""
3526 "B<mount>()  は I<source> で指定されたファイルシステム (デバイス名であることが"
3527 "多いが、 ディレクトリ名やダミーの場合もある) を I<target> で指定されたディレ"
3528 "クトリに結びつける。"
3529
3530 #. type: Plain text
3531 #: build/C/man2/mount.2:62
3532 msgid ""
3533 "Appropriate privilege (Linux: the B<CAP_SYS_ADMIN> capability) is required "
3534 "to mount filesystems."
3535 msgstr ""
3536 "ファイルシステムのマウントを行うには、 適切な権限 (Linux では "
3537 "B<CAP_SYS_ADMIN> ケーパビリティ) が必要である。"
3538
3539 #.  Multiple mounts on same mount point: since 2.3.99pre7.
3540 #. type: Plain text
3541 #: build/C/man2/mount.2:67
3542 msgid ""
3543 "Since Linux 2.4 a single filesystem can be visible at multiple mount points, "
3544 "and multiple mounts can be stacked on the same mount point."
3545 msgstr ""
3546 "Linux 2.4 以降、ひとつのファイルシステムを複数のマウントポイントに 結びつける"
3547 "ことができ、同じマウントポイントに複数のマウントをスタック させることもでき"
3548 "る。"
3549
3550 #. type: Plain text
3551 #: build/C/man2/mount.2:76
3552 msgid ""
3553 "Values for the I<filesystemtype> argument supported by the kernel are listed "
3554 "in I</proc/filesystems> (e.g., \"minix\", \"ext2\", \"ext3\", \"jfs\", \"xfs"
3555 "\", \"reiserfs\", \"msdos\", \"proc\", \"nfs\", \"iso9660\").  Further types "
3556 "may become available when the appropriate modules are loaded."
3557 msgstr ""
3558 "引き数 I<filesystemtype> としてカーネルが対応している値は、 I</proc/"
3559 "filesystems> で参照できる (例えば \"minix\", \"ext2\", \"ext3\", \"jfs\", "
3560 "\"xfs\", \"reiserfs\", \"msdos\", \"proc\", \"nfs\", \"iso9660\" 等)。 適切な"
3561 "モジュールが読み込まれると、さらに別の値が利用可能になるかもしれない。"
3562
3563 #.  (as defined in \fI<linux/fs.h>\fP for libc4 and libc5
3564 #.  and in \fI<sys/mount.h>\fP for glibc2)
3565 #.  FIXME 2.6.15 added flags for "shared subtree" functionality:
3566 #.  MS_UNBINDABLE, MS_PRIVATE, MS_SHARED, MS_SLAVE
3567 #.      MS_PRIVATE.
3568 #.              All mounts are private by default. Previously shared mounts
3569 #.              can be remarked PRIVATE.
3570 #.      MS_SHARED
3571 #.              Mount points that are marked SHARED propagate mount events
3572 #.              to one another after bing cloned.
3573 #.      MS_SLAVE
3574 #.              A previously shared mount point can be marked SALVE, meaning
3575 #.              it receives propagated events, but does not propagate events.
3576 #.      MS_UNBINDABLE
3577 #.              mounts cannot be bound into other places, and will not be
3578 #.              propagated into new subtrees    
3579 #.      mount --make-rshared ==> MS_SHARED | MS_REC
3580 #.  These settings are visible in proc/mountinfo
3581 #.  These need to be documented on this page.
3582 #.  See:
3583 #.  Documentation/filesystems/sharedsubtree.txt
3584 #.  http://lwn.net/Articles/159077/
3585 #.  http://myweb.sudhaa.com:2022/~ram/sharedsubtree/paper/sharedsubtree.1.pdf
3586 #.  Shared-Subtree Concept, Implementation, and Applications in Linux
3587 #.  Al Viro viro@ftp.linux.org.uk
3588 #.  Ram Pai linuxram@us.ibm.com
3589 #.  http://foss.in/2005/slides/sharedsubtree1.pdf
3590 #.  Shared Subtree Concept and Implementation in the Linux Kernel
3591 #.  Ram Pai
3592 #.  http://www.ibm.com/developerworks/linux/library/l-mount-namespaces/index.html
3593 #.      Applying mount namespaces
3594 #.      Uncover practical applications for advanced Linux mounts features
3595 #.      Serge E. Hallyn (sergeh@us.ibm.com), Software Engineer, IBM
3596 #.      Ram Pai (linuxram@us.ibm.com), Software Engineer, IBM
3597 #.      Date:  17 Sep 2007
3598 #.  FIXME 2.6.25 Added MS_I_VERSION, which needs to be documented.
3599 #. type: Plain text
3600 #: build/C/man2/mount.2:130
3601 msgid ""
3602 "The I<mountflags> argument may have the magic number 0xC0ED (B<MS_MGC_VAL>)  "
3603 "in the top 16 bits (this was required in kernel versions prior to 2.4, but "
3604 "is no longer required and ignored if specified), and various mount flags in "
3605 "the low order 16 bits:"
3606 msgstr ""
3607 "引き数 I<mountflags> の上位 16 ビットには、マジックナンバー 0xC0ED\n"
3608 "(B<MS_MGC_VAL>) を指定することができる (マジックナンバーは、\n"
3609 "カーネルバージョン 2.4 より前では必須であったが、\n"
3610 "現在は必要なく、指定されても無視される)。\n"
3611 "I<mountflags> の下位 16 ビットにマウントフラグを指定する。"
3612
3613 #. type: TP
3614 #: build/C/man2/mount.2:130
3615 #, no-wrap
3616 msgid "B<MS_BIND> (Linux 2.4 onward)"
3617 msgstr "B<MS_BIND> (Linux 2.4 以降)"
3618
3619 #.  since 2.4.0-test9
3620 #.  with the exception of the "hidden" MS_REC mountflags bit
3621 #. type: Plain text
3622 #: build/C/man2/mount.2:149
3623 msgid ""
3624 "Perform a bind mount, making a file or a directory subtree visible at "
3625 "another point within a filesystem.  Bind mounts may cross filesystem "
3626 "boundaries and span B<chroot>(2)  jails.  The I<filesystemtype> and I<data> "
3627 "arguments are ignored.  Up until Linux 2.6.26, I<mountflags> was also "
3628 "ignored (the bind mount has the same mount options as the underlying mount "
3629 "point)."
3630 msgstr ""
3631 "バインドマウントを行う。これはファイルやディレクトリの部分木を ファイルシス\n"
3632 "テム内部の別の場所で見えるようにするものである。 バインドマウントを使うと、\n"
3633 "ファイルシステムをまたいで B<chroot>(2) jail を構成することが可能になる。\n"
3634 "引き数 I<filesystemtype> と I<data> は無視される。 Linux 2.6.26 より前では\n"
3635 "I<mountflags> も無視されていた (バインドマウントでは、マウントポイントとな"
3636 "る\n"
3637 "ファイルシステムと同じマウントオプションが使用される)。"
3638
3639 #. type: TP
3640 #: build/C/man2/mount.2:149
3641 #, no-wrap
3642 msgid "B<MS_DIRSYNC> (since Linux 2.5.19)"
3643 msgstr "B<MS_DIRSYNC> (Linux 2.5.19 以降)"
3644
3645 #. type: Plain text
3646 #: build/C/man2/mount.2:155
3647 msgid ""
3648 "Make directory changes on this filesystem synchronous.  (This property can "
3649 "be obtained for individual directories or subtrees using B<chattr>(1).)"
3650 msgstr ""
3651 "このファイルシステムへのディレクトリ変更を同期的に行う。 (この特性は個々の"
3652 "ディレクトリ、または B<chattr>(1)  を使った部分木毎に設定できる。)"
3653
3654 #. type: TP
3655 #: build/C/man2/mount.2:155
3656 #, no-wrap
3657 msgid "B<MS_MANDLOCK>"
3658 msgstr "B<MS_MANDLOCK>"
3659
3660 #.  FIXME Describe the MS_MOVE flag in more detail
3661 #. type: Plain text
3662 #: build/C/man2/mount.2:162
3663 msgid ""
3664 "Permit mandatory locking on files in this filesystem.  (Mandatory locking "
3665 "must still be enabled on a per-file basis, as described in B<fcntl>(2).)"
3666 msgstr ""
3667 "このファイルシステムのファイルに対して強制ロックを認める。 (強制ロックを有効"
3668 "にするには、 B<fcntl>(2)  で述べられている方法でファイル単位で許可をしなけれ"
3669 "ばならない)"
3670
3671 #. type: TP
3672 #: build/C/man2/mount.2:162
3673 #, no-wrap
3674 msgid "B<MS_MOVE>"
3675 msgstr "B<MS_MOVE>"
3676
3677 #. type: Plain text
3678 #: build/C/man2/mount.2:173
3679 msgid ""
3680 "Move a subtree.  I<source> specifies an existing mount point and I<target> "
3681 "specifies the new location.  The move is atomic: at no point is the subtree "
3682 "unmounted.  The I<filesystemtype>, I<mountflags>, and I<data> arguments are "
3683 "ignored."
3684 msgstr ""
3685 "部分木を移動する。 I<source> にはすでに存在するマウントポイントを指定し、 "
3686 "I<target> には新しい場所を指定する。 移動はアトミックである。 操作の実行中、"
3687 "部分ツリーがアンマウントされることはない。 I<filesystemtype>, I<mountflags>, "
3688 "I<data> 引き数は無視される。"
3689
3690 #. type: TP
3691 #: build/C/man2/mount.2:173
3692 #, no-wrap
3693 msgid "B<MS_NOATIME>"
3694 msgstr "B<MS_NOATIME>"
3695
3696 #. type: Plain text
3697 #: build/C/man2/mount.2:176
3698 msgid "Do not update access times for (all types of) files on this filesystem."
3699 msgstr ""
3700 "このファイルシステムの (全ての種類の) ファイルのアクセス時刻を更新しない。"
3701
3702 #. type: TP
3703 #: build/C/man2/mount.2:176
3704 #, no-wrap
3705 msgid "B<MS_NODEV>"
3706 msgstr "B<MS_NODEV>"
3707
3708 #. type: Plain text
3709 #: build/C/man2/mount.2:179
3710 msgid "Do not allow access to devices (special files) on this filesystem."
3711 msgstr ""
3712 "このファイルシステムのデバイス (スペシャルファイル) へのアクセスを許可しな"
3713 "い。"
3714
3715 #. type: TP
3716 #: build/C/man2/mount.2:179
3717 #, no-wrap
3718 msgid "B<MS_NODIRATIME>"
3719 msgstr "B<MS_NODIRATIME>"
3720
3721 #. type: Plain text
3722 #: build/C/man2/mount.2:188
3723 msgid ""
3724 "Do not update access times for directories on this filesystem.  This flag "
3725 "provides a subset of the functionality provided by B<MS_NOATIME>; that is, "
3726 "B<MS_NOATIME> implies B<MS_NODIRATIME>."
3727 msgstr ""
3728 "このファイルシステムのディレクトリのアクセス時刻を更新しない。 このフラグは "
3729 "B<MS_NOATIME> で提供される機能のサブセットを提供する。つまり、 B<MS_NOATIME> "
3730 "では B<MS_NODIRATIME> が暗黙のうち設定される。"
3731
3732 #. type: TP
3733 #: build/C/man2/mount.2:188
3734 #, no-wrap
3735 msgid "B<MS_NOEXEC>"
3736 msgstr "B<MS_NOEXEC>"
3737
3738 #.  (Possibly useful for a filesystem that contains non-Linux executables.
3739 #.  Often used as a security feature, e.g., to make sure that restricted
3740 #.  users cannot execute files uploaded using ftp or so.)
3741 #. type: Plain text
3742 #: build/C/man2/mount.2:194
3743 msgid "Do not allow programs to be executed from this filesystem."
3744 msgstr "このファイルシステムにあるプログラムの実行を許可しない。"
3745
3746 #. type: TP
3747 #: build/C/man2/mount.2:194
3748 #, no-wrap
3749 msgid "B<MS_NOSUID>"
3750 msgstr "B<MS_NOSUID>"
3751
3752 #.  (This is a security feature to prevent users executing set-user-ID and
3753 #.  set-group-ID programs from removable disk devices.)
3754 #. type: Plain text
3755 #: build/C/man2/mount.2:200
3756 msgid ""
3757 "Do not honor set-user-ID and set-group-ID bits when executing programs from "
3758 "this filesystem."
3759 msgstr ""
3760 "このファイルシステムのプログラムを実行するときに、 set-user-ID ビットと set-"
3761 "group-ID ビットを無視する。"
3762
3763 #. type: TP
3764 #: build/C/man2/mount.2:200
3765 #, no-wrap
3766 msgid "B<MS_RDONLY>"
3767 msgstr "B<MS_RDONLY>"
3768
3769 #.  FIXME Document MS_REC, available since 2.4.11.
3770 #.  This flag has meaning in conjunction with MS_BIND and
3771 #.  also with the shared subtree flags.
3772 #. type: Plain text
3773 #: build/C/man2/mount.2:207
3774 msgid "Mount filesystem read-only."
3775 msgstr "ファイルシステムを読み込み専用でマウントする。"
3776
3777 #. type: TP
3778 #: build/C/man2/mount.2:207
3779 #, no-wrap
3780 msgid "B<MS_RELATIME> (since Linux 2.6.20)"
3781 msgstr "B<MS_RELATIME> (Linux 2.6.20 以降)"
3782
3783 #.  Matthew Garrett notes in the patch that added this behavior
3784 #.  that this lets utilities such as tmpreaper (which deletes
3785 #.  files based on last access time) work correctly.
3786 #. type: Plain text
3787 #: build/C/man2/mount.2:228
3788 msgid ""
3789 "When a file on this filesystem is accessed, update the file's last access "
3790 "time (atime) only if the current value of atime is less than or equal to the "
3791 "file's last modification time (mtime)  or last status change time (ctime).  "
3792 "This option is useful for programs, such as B<mutt>(1), that need to know "
3793 "when a file has been read since it was last modified.  Since Linux 2.6.30, "
3794 "the kernel defaults to the behavior provided by this flag (unless "
3795 "B<MS_NOATIME> was specified), and the B<MS_STRICTATIME> flag is required to "
3796 "obtain traditional semantics.  In addition, since Linux 2.6.30, the file's "
3797 "last access time is always updated if it is more than 1 day old."
3798 msgstr ""
3799 "このファイルシステム上のファイルがアクセスされた際、 そのファイルの最終アクセ"
3800 "ス時刻 (atime) の現在値が 最終修正時刻 (mtime) や最終状態変更時刻 (ctime) と "
3801 "等しいか小さい場合にのみ、atime を更新する。 このオプションは、 B<mutt>(1)  "
3802 "のように、最後の内容修正以降にファイルがいつ読み出されたかを知る 必要があるプ"
3803 "ログラムで有用である。 Linux 2.6.30 以降では、 B<MS_NOATIME> が指定されていな"
3804 "い場合には、このフラグの動作が カーネルのデフォルト動作となっており、 Linux "
3805 "2.6.30 より前の動作をさせるためには B<MS_STRICTATIME> フラグを指定する必要が"
3806 "ある。 これに加えて、Linux 2.6.30 以降では、 ファイルの最終アクセス時刻が 1 "
3807 "日以上前の場合、 ファイルの最終アクセス時刻は常に更新される。"
3808
3809 #. type: TP
3810 #: build/C/man2/mount.2:228
3811 #, no-wrap
3812 msgid "B<MS_REMOUNT>"
3813 msgstr "B<MS_REMOUNT>"
3814
3815 #. type: Plain text
3816 #: build/C/man2/mount.2:251
3817 msgid ""
3818 "Remount an existing mount.  This allows you to change the I<mountflags> and "
3819 "I<data> of an existing mount without having to unmount and remount the "
3820 "filesystem.  I<target> should be the same value specified in the initial "
3821 "B<mount>()  call; I<source> and I<filesystemtype> are ignored.  The "
3822 "I<mountflags> and I<data> arguments should match the values used in the "
3823 "original B<mount>()  call, except for those parameters that are being "
3824 "deliberately changed."
3825 msgstr ""
3826 "すでに存在するマウントを再マウントする。これにより、すでに存在するマウントの "
3827 "I<mountflags> と I<data> を、一度アンマウントしてから再マウントするという作業"
3828 "をせずに 変更できる。 I<target> は最初の B<mount>() 呼び出しと同じ値を指定す"
3829 "る必要がある。 I<source> と I<filesystemtype> は無視される。 引き数 "
3830 "I<mountflags> と I<data> は、意図的に変更するもの以外は、 元の B<mount>() の"
3831 "呼び出しで使用した値と一致するようにすべきである。"
3832
3833 #. type: Plain text
3834 #: build/C/man2/mount.2:266
3835 msgid ""
3836 "The following I<mountflags> can be changed: B<MS_RDONLY>, B<MS_SYNCHRONOUS>, "
3837 "B<MS_MANDLOCK>; before kernel 2.6.16, the following could also be changed: "
3838 "B<MS_NOATIME> and B<MS_NODIRATIME>; and, additionally, before kernel 2.4.10, "
3839 "the following could also be changed: B<MS_NOSUID>, B<MS_NODEV>, B<MS_NOEXEC>."
3840 msgstr ""
3841 "I<mountflags> のうち B<MS_RDONLY>, B<MS_SYNCHRONOUS>, B<MS_MANDLOCK> は変更可"
3842 "能である。 カーネル 2.6.16 より前では、 B<MS_NOATIME>, B<MS_NODIRATIME> も変"
3843 "更可能であった。 カーネル 2.4.10 より前では、上記に加えて、 B<MS_NOSUID>, "
3844 "B<MS_NODEV>, B<MS_NOEXEC> も変更可能であった。"
3845
3846 #. type: TP
3847 #: build/C/man2/mount.2:266
3848 #, no-wrap
3849 msgid "B<MS_SILENT> (since Linux 2.6.17)"
3850 msgstr "B<MS_SILENT> (Linux 2.6.17 以降)"
3851
3852 #. type: Plain text
3853 #: build/C/man2/mount.2:274
3854 msgid ""
3855 "Suppress the display of certain (I<printk>())  warning messages in the "
3856 "kernel log.  This flag supersedes the misnamed and obsolete B<MS_VERBOSE> "
3857 "flag (available since Linux 2.4.12), which has the same meaning."
3858 msgstr ""
3859 "カーネルのログ内のある種の (I<printk>())  警告メッセージの表示を抑制する。 こ"
3860 "のフラグは、名前が不適切で廃止された B<MS_VERBOSE> フラグ (Linux 2.4.12 以降"
3861 "で利用可能) を置き換えるもので、同じ意味を持つ。"
3862
3863 #. type: TP
3864 #: build/C/man2/mount.2:274
3865 #, no-wrap
3866 msgid "B<MS_STRICTATIME> (since Linux 2.6.30)"
3867 msgstr "B<MS_STRICTATIME> (Linux 2.6.30 以降)"
3868
3869 #. type: Plain text
3870 #: build/C/man2/mount.2:284
3871 msgid ""
3872 "Always update the last access time (atime) when files on this filesystem are "
3873 "accessed.  (This was the default behavior before Linux 2.6.30.)  Specifying "
3874 "this flag overrides the effect of setting the B<MS_NOATIME> and "
3875 "B<MS_RELATIME> flags."
3876 msgstr ""
3877 "このファイルシステムがアクセスされた際に最終アクセス時刻 (atime)  を常に更新"
3878 "する (Linux 2.6.30 より前では、これがデフォルトの動作 であった)。 このフラグ"
3879 "を指定することで、 B<MS_NOATIME> と B<MS_RELATIME> の両フラグを設定した際の影"
3880 "響を上書きすることができる。"
3881
3882 #. type: TP
3883 #: build/C/man2/mount.2:284
3884 #, no-wrap
3885 msgid "B<MS_SYNCHRONOUS>"
3886 msgstr "B<MS_SYNCHRONOUS>"
3887
3888 #. type: Plain text
3889 #: build/C/man2/mount.2:292
3890 msgid ""
3891 "Make writes on this filesystem synchronous (as though the B<O_SYNC> flag to "
3892 "B<open>(2)  was specified for all file opens to this filesystem)."
3893 msgstr ""
3894 "ファイルシステムに対して同期的に書き込みを行う。 (このファイルシステムの全て"
3895 "のオープンされたファイルに対して、 B<open>(2)  のフラグに B<O_SYNC> を指定し"
3896 "たような動作となる)"
3897
3898 #. type: Plain text
3899 #: build/C/man2/mount.2:304
3900 msgid ""
3901 "From Linux 2.4 onward, the B<MS_NODEV>, B<MS_NOEXEC>, and B<MS_NOSUID> flags "
3902 "are settable on a per-mount-point basis.  From kernel 2.6.16 onward, "
3903 "B<MS_NOATIME> and B<MS_NODIRATIME> are also settable on a per-mount-point "
3904 "basis.  The B<MS_RELATIME> flag is also settable on a per-mount-point basis."
3905 msgstr ""
3906 "Linux 2.4 以降では、 B<MS_NODEV>, B<MS_NOEXEC>, B<MS_NOSUID> はマウントポイン"
3907 "ト単位で指定できる。 カーネル 2.6.16 以降では、 B<MS_NOATIME> と "
3908 "B<MS_NODIRATIME> もマウントポイント単位で指定できる。 また、 B<MS_RELATIME> "
3909 "フラグもマウントポイント単位で設定できる。"
3910
3911 #. type: Plain text
3912 #: build/C/man2/mount.2:313
3913 msgid ""
3914 "The I<data> argument is interpreted by the different filesystems.  Typically "
3915 "it is a string of comma-separated options understood by this filesystem.  "
3916 "See B<mount>(8)  for details of the options available for each filesystem "
3917 "type."
3918 msgstr ""
3919 "引き数 I<data> がどのように解釈されるかは、ファイルシステムによって異なる。 "
3920 "たいていは、指定されたファイルシステムで利用可能なオプションが コンマ区切りで"
3921 "並べられた文字列である。 各ファイルシステムに対して指定可能なオプションの詳細"
3922 "については B<mount>(8)  を参照のこと。"
3923
3924 #. type: Plain text
3925 #: build/C/man2/mount.2:318 build/C/man2/stat.2:522 build/C/man2/statfs.2:162
3926 #: build/C/man3/statvfs.3:101 build/C/man2/umount.2:104
3927 msgid ""
3928 "On success, zero is returned.  On error, -1 is returned, and I<errno> is set "
3929 "appropriately."
3930 msgstr ""
3931 "成功した場合、0 が返される。 失敗した場合、 -1 が返され、 I<errno> に適切な値"
3932 "がセットされる。"
3933
3934 #. type: Plain text
3935 #: build/C/man2/mount.2:324 build/C/man2/umount.2:110
3936 msgid ""
3937 "The error values given below result from filesystem type independent "
3938 "errors.  Each filesystem type may have its own special errors and its own "
3939 "special behavior.  See the Linux kernel source code for details."
3940 msgstr ""
3941 "以下に示すエラーは、ファイルシステムに依存しないものである。 それぞれのファイ"
3942 "ルシステムタイプには固有のエラーが存在する場合があり、 独自の動作をすることも"
3943 "ある。詳しくは Linux カーネルのソースを見て欲しい。"
3944
3945 #. type: TP
3946 #: build/C/man2/mount.2:324 build/C/man2/spu_create.2:173
3947 #: build/C/man2/stat.2:523 build/C/man2/statfs.2:163
3948 #: build/C/man3/statvfs.3:102
3949 #, no-wrap
3950 msgid "B<EACCES>"
3951 msgstr "B<EACCES>"
3952
3953 #.  mtk: Probably: write permission is required for MS_BIND, with
3954 #.  the error EPERM if not present; CAP_DAC_OVERRIDE is required.
3955 #. type: Plain text
3956 #: build/C/man2/mount.2:339
3957 msgid ""
3958 "A component of a path was not searchable.  (See also "
3959 "B<path_resolution>(7).)  Or, mounting a read-only filesystem was attempted "
3960 "without giving the B<MS_RDONLY> flag.  Or, the block device I<source> is "
3961 "located on a filesystem mounted with the B<MS_NODEV> option."
3962 msgstr ""
3963 "パスに含まれるディレクトリに検索 (実行) 許可がない (B<path_resolution>(7)  も"
3964 "参照)。 または、 B<MS_RONLY> フラグを指定せずに読み込み専用のファイルシステム"
3965 "を マウントしようとした。 または、ブロックデバイス I<source> が B<MS_NODEV> "
3966 "オプションでマウントされたファイルシステム上にある。"
3967
3968 #. type: TP
3969 #: build/C/man2/mount.2:339 build/C/man2/umount.2:117
3970 #, no-wrap
3971 msgid "B<EBUSY>"
3972 msgstr "B<EBUSY>"
3973
3974 #. type: Plain text
3975 #: build/C/man2/mount.2:351
3976 msgid ""
3977 "I<source> is already mounted.  Or, it cannot be remounted read-only, because "
3978 "it still holds files open for writing.  Or, it cannot be mounted on "
3979 "I<target> because I<target> is still busy (it is the working directory of "
3980 "some thread, the mount point of another device, has open files, etc.)."
3981 msgstr ""
3982 "I<source> は既にマウントされている。 または、書き込み用にオープンされたファイ"
3983 "ルがあり、 読み込み専用で再マウントすることができない。 または、 I<target> が"
3984 "使用中 (busy) のため、 I<target> にマウントできない。 I<target> が使用中の例"
3985 "としては、あるスレッドの動作ディレクトリ (working directory) であるとか、別の"
3986 "デバイスのマウントポイントであるとか、 オープンされたファイルが存在する、など"
3987 "がある。"
3988
3989 #. type: TP
3990 #: build/C/man2/mount.2:351 build/C/man2/spu_create.2:181
3991 #: build/C/man2/spu_run.2:158 build/C/man2/stat.2:534
3992 #: build/C/man2/statfs.2:175 build/C/man3/statvfs.3:114
3993 #: build/C/man2/sysfs.2:80 build/C/man2/umount.2:121 build/C/man2/ustat.2:80
3994 #, no-wrap
3995 msgid "B<EFAULT>"
3996 msgstr "B<EFAULT>"
3997
3998 #. type: Plain text
3999 #: build/C/man2/mount.2:354
4000 msgid "One of the pointer arguments points outside the user address space."
4001 msgstr "場所を示す引き数のひとつがユーザーのアドレス空間の外を指している。"
4002
4003 #. type: Plain text
4004 #: build/C/man2/mount.2:369
4005 msgid ""
4006 "I<source> had an invalid superblock.  Or, a remount (B<MS_REMOUNT>)  was "
4007 "attempted, but I<source> was not already mounted on I<target>.  Or, a move "
4008 "(B<MS_MOVE>)  was attempted, but I<source> was not a mount point, or was "
4009 "\\(aq/\\(aq."
4010 msgstr ""
4011 "I<source> に不正なスーパーブロックがある。 または、 I<source> が I<target> に"
4012 "マウントされていないのに、再マウント (B<MS_REMOUNT>)  が要求された。 また"
4013 "は、 I<source> がマウントポイントではないか、\\(aq/\\(aq なのに、移動 "
4014 "(B<MS_MOVE>)  が要求された。"
4015
4016 #. type: TP
4017 #: build/C/man2/mount.2:369 build/C/man2/spu_create.2:192
4018 #: build/C/man2/stat.2:537 build/C/man2/statfs.2:187
4019 #: build/C/man3/statvfs.3:126
4020 #, no-wrap
4021 msgid "B<ELOOP>"
4022 msgstr "B<ELOOP>"
4023
4024 #. type: Plain text
4025 #: build/C/man2/mount.2:376
4026 msgid ""
4027 "Too many links encountered during pathname resolution.  Or, a move was "
4028 "attempted, while I<target> is a descendant of I<source>."
4029 msgstr ""
4030 "パス名の解決中に登場したリンクが多すぎた。 または、 I<target> が I<source> の"
4031 "子孫なのに移動が要求された。"
4032
4033 #. type: TP
4034 #: build/C/man2/mount.2:376 build/C/man2/spu_create.2:196
4035 #, no-wrap
4036 msgid "B<EMFILE>"
4037 msgstr "B<EMFILE>"
4038
4039 #. type: Plain text
4040 #: build/C/man2/mount.2:380
4041 msgid "(In case no block device is required:)  Table of dummy devices is full."
4042 msgstr ""
4043 "(ブロックデバイスが必要でない場合)  ダミーデバイスのテーブルが一杯になった。"
4044
4045 #. type: TP
4046 #: build/C/man2/mount.2:380 build/C/man2/spu_create.2:199
4047 #: build/C/man2/stat.2:540 build/C/man2/statfs.2:192
4048 #: build/C/man3/statvfs.3:131 build/C/man2/umount.2:143
4049 #, no-wrap
4050 msgid "B<ENAMETOOLONG>"
4051 msgstr "B<ENAMETOOLONG>"
4052
4053 #. type: Plain text
4054 #: build/C/man2/mount.2:384 build/C/man2/umount.2:147
4055 msgid "A pathname was longer than B<MAXPATHLEN>."
4056 msgstr "パス名の長さが B<MAXPATHLEN> より長かった。"
4057
4058 #. type: TP
4059 #: build/C/man2/mount.2:384 build/C/man2/spu_create.2:206
4060 #, no-wrap
4061 msgid "B<ENODEV>"
4062 msgstr "B<ENODEV>"
4063
4064 #. type: Plain text
4065 #: build/C/man2/mount.2:388
4066 msgid "I<filesystemtype> not configured in the kernel."
4067 msgstr "I<filesystemtype> がカーネル中で定義 (config) されていない。"
4068
4069 #. type: TP
4070 #: build/C/man2/mount.2:388 build/C/man2/spu_create.2:210
4071 #: build/C/man2/stat.2:544 build/C/man2/statfs.2:197
4072 #: build/C/man3/statvfs.3:136 build/C/man2/umount.2:147
4073 #, no-wrap
4074 msgid "B<ENOENT>"
4075 msgstr "B<ENOENT>"
4076
4077 #. type: Plain text
4078 #: build/C/man2/mount.2:391 build/C/man2/umount.2:150
4079 msgid "A pathname was empty or had a nonexistent component."
4080 msgstr "パス名が空である。もしくは指定されたパスが存在しない。"
4081
4082 #. type: TP
4083 #: build/C/man2/mount.2:391 build/C/man2/spu_create.2:215
4084 #: build/C/man2/spu_run.2:179 build/C/man2/stat.2:551
4085 #: build/C/man2/statfs.2:203 build/C/man3/statvfs.3:142
4086 #: build/C/man2/umount.2:150
4087 #, no-wrap
4088 msgid "B<ENOMEM>"
4089 msgstr "B<ENOMEM>"
4090
4091 #. type: Plain text
4092 #: build/C/man2/mount.2:394 build/C/man2/umount.2:153
4093 msgid ""
4094 "The kernel could not allocate a free page to copy filenames or data into."
4095 msgstr ""
4096 "カーネルがファイル名やデータをコピーするための空きページを確保できなかった。"
4097
4098 #. type: TP
4099 #: build/C/man2/mount.2:394
4100 #, no-wrap
4101 msgid "B<ENOTBLK>"
4102 msgstr "B<ENOTBLK>"
4103
4104 #. type: Plain text
4105 #: build/C/man2/mount.2:398
4106 msgid "I<source> is not a block device (and a device was required)."
4107 msgstr "(ブロックデバイスが必要だが)  I<source> がブロックデバイスではない。"
4108
4109 #. type: TP
4110 #: build/C/man2/mount.2:398 build/C/man2/spu_create.2:228
4111 #: build/C/man2/stat.2:554 build/C/man2/stat.2:589 build/C/man2/statfs.2:209
4112 #: build/C/man3/statvfs.3:148
4113 #, no-wrap
4114 msgid "B<ENOTDIR>"
4115 msgstr "B<ENOTDIR>"
4116
4117 #. type: Plain text
4118 #: build/C/man2/mount.2:404
4119 msgid "I<target>, or a prefix of I<source>, is not a directory."
4120 msgstr "I<target> か、 I<source> のプレフィックスがディレクトリではない。"
4121
4122 #. type: TP
4123 #: build/C/man2/mount.2:404
4124 #, no-wrap
4125 msgid "B<ENXIO>"
4126 msgstr "B<ENXIO>"
4127
4128 #. type: Plain text
4129 #: build/C/man2/mount.2:409
4130 msgid "The major number of the block device I<source> is out of range."
4131 msgstr "ブロックデバイス I<source> のメジャー番号が範囲外である。"
4132
4133 #. type: TP
4134 #: build/C/man2/mount.2:409 build/C/man2/spu_create.2:233
4135 #: build/C/man2/umount.2:153
4136 #, no-wrap
4137 msgid "B<EPERM>"
4138 msgstr "B<EPERM>"
4139
4140 #. type: Plain text
4141 #: build/C/man2/mount.2:412 build/C/man2/umount.2:156
4142 msgid "The caller does not have the required privileges."
4143 msgstr "呼び出し元が必要な権限を持っていない。"
4144
4145 #.  FIXME . Definitions of the so-far-undocumented MS_UNBINDABLE, MS_PRIVATE,
4146 #.  MS_SHARED, and MS_SLAVE were (also) only added to glibc headers in 2.12.
4147 #. type: Plain text
4148 #: build/C/man2/mount.2:423
4149 msgid ""
4150 "The definitions of B<MS_DIRSYNC>, B<MS_MOVE>, B<MS_REC>, B<MS_RELATIME>, and "
4151 "B<MS_STRICTATIME> were added to glibc headers in version 2.12."
4152 msgstr ""
4153 "B<MS_DIRSYNC>, B<MS_MOVE>, B<MS_REC>, B<MS_RELATIME>, B<MS_STRICTATIME> の定"
4154 "義が glibc のヘッダに追加されたのは バージョン 2.12 においてである。"
4155
4156 #. type: Plain text
4157 #: build/C/man2/mount.2:426
4158 msgid ""
4159 "This function is Linux-specific and should not be used in programs intended "
4160 "to be portable."
4161 msgstr ""
4162 "この関数は Linux 固有の関数であり、移植を考慮したプログラムでは 使用すべきで"
4163 "ない。"
4164
4165 #. type: Plain text
4166 #: build/C/man2/mount.2:435
4167 msgid ""
4168 "The original B<MS_SYNC> flag was renamed B<MS_SYNCHRONOUS> in 1.1.69 when a "
4169 "different B<MS_SYNC> was added to I<E<lt>mman.hE<gt>>."
4170 msgstr ""
4171 "元の B<MS_SYNC> フラグは、別の B<MS_SYNC> が I<E<lt>mman.hE<gt>> に追加された"
4172 "ので 1.1.69 から B<MS_SYNCHRONOUS> に名前が変わった。"
4173
4174 #.  The change is in patch-2.4.0-prerelease.
4175 #. type: Plain text
4176 #: build/C/man2/mount.2:444
4177 msgid ""
4178 "Before Linux 2.4 an attempt to execute a set-user-ID or set-group-ID program "
4179 "on a filesystem mounted with B<MS_NOSUID> would fail with B<EPERM>.  Since "
4180 "Linux 2.4 the set-user-ID and set-group-ID bits are just silently ignored in "
4181 "this case."
4182 msgstr ""
4183 "Linux 2.4 より前のバージョンでは、 B<MS_NOSUID> オプション付きでマウントされ"
4184 "たファイルシステム上の set-UID や set-GID のプログラムを実行しようとすると、 "
4185 "B<EPERM> エラーとなった。 Linux 2.4 以降では、このような場合は set-UID ビット"
4186 "や set-GID ビットが 無視されるだけである。"
4187
4188 #. type: SS
4189 #: build/C/man2/mount.2:444
4190 #, no-wrap
4191 msgid "Per-process namespaces"
4192 msgstr "プロセス単位の名前空間"
4193
4194 #. type: Plain text
4195 #: build/C/man2/mount.2:455
4196 msgid ""
4197 "Starting with kernel 2.4.19, Linux provides per-process mount namespaces.  A "
4198 "mount namespace is the set of filesystem mounts that are visible to a "
4199 "process.  Mount-point namespaces can be (and usually are)  shared between "
4200 "multiple processes, and changes to the namespace (i.e., mounts and unmounts) "
4201 "by one process are visible to all other processes sharing the same "
4202 "namespace.  (The pre-2.4.19 Linux situation can be considered as one in "
4203 "which a single namespace was shared by every process on the system.)"
4204 msgstr ""
4205 "カーネル 2.4.19 以降の Linux では、プロセス単位のマウント名前空間 (mount "
4206 "namespace) が提供されている。マウント名前空間とは、 あるプロセスに見えている"
4207 "ファイルシステムのマウントの集合である。 マウントポイントの名前空間は複数のプ"
4208 "ロセスで共有することができ、 普通は共有されている。 一つのプロセスによる名前"
4209 "空間の変更 (すなわち、マウントやアンマウント) は 同じ名前空間を共有する他の全"
4210 "てのプロセスにも見える。 (2.4.19 より前の Linux は、一つの名前空間がシステム"
4211 "上の全プロセスで 共有される状況とみなすことができる。)"
4212
4213 #. type: Plain text
4214 #: build/C/man2/mount.2:461
4215 msgid ""
4216 "A child process created by B<fork>(2)  shares its parent's mount namespace; "
4217 "the mount namespace is preserved across an B<execve>(2)."
4218 msgstr ""
4219 "B<fork>(2)  経由で作成された子プロセスは親プロセスのマウント名前空間を共有す"
4220 "る。 B<execve>(2)  の前後でマウント名前空間は保持される。"
4221
4222 #. type: Plain text
4223 #: build/C/man2/mount.2:481
4224 msgid ""
4225 "A process can obtain a private mount namespace if: it was created using the "
4226 "B<clone>(2)  B<CLONE_NEWNS> flag, in which case its new namespace is "
4227 "initialized to be a I<copy> of the namespace of the process that called "
4228 "B<clone>(2); or it calls B<unshare>(2)  with the B<CLONE_NEWNS> flag, which "
4229 "causes the caller's mount namespace to obtain a private copy of the "
4230 "namespace that it was previously sharing with other processes, so that "
4231 "future mounts and unmounts by the caller are invisible to other processes "
4232 "(except child processes that the caller subsequently creates) and vice versa."
4233 msgstr ""
4234 "プロセスは自分用 (private) のマウント名前空間を持つことができる。 自分用の名"
4235 "前空間を持つことができるのは、 そのプロセスが B<clone>(2)  B<CLONE_NEWNS> フ"
4236 "ラグを使って作成された場合と、 そのプロセスが B<CLONE_NEWNS> フラグ付きで "
4237 "B<unshare>(2)  を呼び出した場合である。 前者の場合、作成されたプロセスの新し"
4238 "い名前空間は B<clone>(2)  を呼び出したプロセスの名前空間の「コピー」で初期化"
4239 "される。 後者の場合、 B<unshare>(2)  を呼び出すと、呼び出し元のプロセスのマウ"
4240 "ント名前空間が、 それまでは他のプロセスと共有していた名前空間の自分用のコピー"
4241 "となる。 これにより、呼び出し元のプロセスがこれ以後に行うマウント/アンマウン"
4242 "トは 他のプロセスから見えなくなる (ただし、呼び出し元のプロセスが "
4243 "B<unshare>(2)  の呼び出し以降に作成した子プロセスには見える)。 また、その逆"
4244 "の、他のプロセスが行ったマウント/アンマウントも呼び出し元のプロセスには 見え"
4245 "なくなる。"
4246
4247 #. type: Plain text
4248 #: build/C/man2/mount.2:488
4249 msgid ""
4250 "The Linux-specific I</proc/PID/mounts> file exposes the list of mount points "
4251 "in the mount namespace of the process with the specified ID; see B<proc>(5)  "
4252 "for details."
4253 msgstr ""
4254 "Linux 独自のファイル I</proc/PID/mounts> では、指定された ID を持つプロセスの"
4255 "マウント名前空間における マウントポイントのリストが公開されている。詳細は "
4256 "B<proc>(5)  を参照のこと。"
4257
4258 #. type: Plain text
4259 #: build/C/man2/mount.2:495
4260 msgid ""
4261 "B<umount>(2), B<namespaces>(7), B<path_resolution>(7), B<lsblk>(8), "
4262 "B<mount>(8), B<umount>(8)"
4263 msgstr ""
4264 "B<umount>(2), B<namespaces>(7), B<path_resolution>(7), B<lsblk>(8), "
4265 "B<mount>(8), B<umount>(8)"
4266
4267 #. type: TH
4268 #: build/C/man7/path_resolution.7:25
4269 #, no-wrap
4270 msgid "PATH_RESOLUTION"
4271 msgstr "PATH_RESOLUTION"
4272
4273 #. type: TH
4274 #: build/C/man7/path_resolution.7:25
4275 #, no-wrap
4276 msgid "2009-12-05"
4277 msgstr "2009-12-05"
4278
4279 #. type: Plain text
4280 #: build/C/man7/path_resolution.7:28
4281 msgid "path_resolution - how a pathname is resolved to a file"
4282 msgstr "path_resolution - ファイルのパス名の解決方法"
4283
4284 #. type: Plain text
4285 #: build/C/man7/path_resolution.7:31
4286 msgid ""
4287 "Some UNIX/Linux system calls have as parameter one or more filenames.  A "
4288 "filename (or pathname) is resolved as follows."
4289 msgstr ""
4290 "いくつかの UNIX/Linux システムコールは、 1 つ以上のファイル名を引き数として持"
4291 "つ。 ファイル名 (またはパス名) は以下のようにして解決される。"
4292
4293 #. type: SS
4294 #: build/C/man7/path_resolution.7:31
4295 #, no-wrap
4296 msgid "Step 1: start of the resolution process"
4297 msgstr "ステップ 1: 解決過程を開始する"
4298
4299 #. type: Plain text
4300 #: build/C/man7/path_resolution.7:50
4301 msgid ""
4302 "If the pathname starts with the \\(aq/\\(aq character, the starting lookup "
4303 "directory is the root directory of the calling process.  (A process inherits "
4304 "its root directory from its parent.  Usually this will be the root directory "
4305 "of the file hierarchy.  A process may get a different root directory by use "
4306 "of the B<chroot>(2)  system call.  A process may get an entirely private "
4307 "mount namespace in case it\\(emor one of its ancestors\\(emwas started by an "
4308 "invocation of the B<clone>(2)  system call that had the B<CLONE_NEWNS> flag "
4309 "set.)  This handles the \\(aq/\\(aq part of the pathname."
4310 msgstr ""
4311 "パス名が \\(aq/\\(aq 文字で始まっている場合、 ディレクトリ検索の開始点は呼び"
4312 "出し元のプロセスのルートディレクトリになる。 (プロセスはルートディレクトリを"
4313 "親プロセスから継承する。 通常は、これがファイル階層のルートディレクトリにな"
4314 "る。 プロセスは B<chroot>(2)  システムコールを使って別のルートディレクトリを"
4315 "取得することもできる。 この場合、そのプロセスと B<CLONE_NEWNS> フラグを設定し"
4316 "て B<clone>(2)  を呼び出すことによって開始されたそのプロセスの子孫は、 完全に"
4317 "プライベートなマウント名前空間を取得できる。)  パス名の \\(aq/\\(aq の部分"
4318 "は、このようにして扱われる。"
4319
4320 #. type: Plain text
4321 #: build/C/man7/path_resolution.7:58
4322 msgid ""
4323 "If the pathname does not start with the \\(aq/\\(aq character, the starting "
4324 "lookup directory of the resolution process is the current working directory "
4325 "of the process.  (This is also inherited from the parent.  It can be changed "
4326 "by use of the B<chdir>(2)  system call.)"
4327 msgstr ""
4328 "パス名が \\(aq/\\(aq 文字で始まっていない場合、 解決過程におけるディレクトリ"
4329 "検索の開始点は、 プロセスの現在の作業 (working) ディレクトリとなる。 (これも"
4330 "親プロセスから継承される。 これは B<chdir>(2)  システムコールを使うことで変更"
4331 "できる。)"
4332
4333 #. type: Plain text
4334 #: build/C/man7/path_resolution.7:61
4335 msgid ""
4336 "Pathnames starting with a \\(aq/\\(aq character are called absolute "
4337 "pathnames.  Pathnames not starting with a \\(aq/\\(aq are called relative "
4338 "pathnames."
4339 msgstr ""
4340 "\\(aq/\\(aq 文字で始まるパス名は絶対パス名と呼ばれ、 \\(aq/\\(aq 文字で始まら"
4341 "ないパス名は相対パス名と呼ばれる。"
4342
4343 #. type: SS
4344 #: build/C/man7/path_resolution.7:61
4345 #, no-wrap
4346 msgid "Step 2: walk along the path"
4347 msgstr "ステップ 2: パスを辿る"
4348
4349 #. type: Plain text
4350 #: build/C/man7/path_resolution.7:66
4351 msgid ""
4352 "Set the current lookup directory to the starting lookup directory.  Now, for "
4353 "each nonfinal component of the pathname, where a component is a substring "
4354 "delimited by \\(aq/\\(aq characters, this component is looked up in the "
4355 "current lookup directory."
4356 msgstr ""
4357 "現在の検索ディレクトリをディレクトリ検索の開始点とする。 そして、パス名の最後"
4358 "の構成要素 (component) でない各構成要素について、 現在の検索ディレクトリで検"
4359 "索を行う。 ここで構成要素は \\(aq/\\(aq で区切られた部分文字列である。"
4360
4361 #. type: Plain text
4362 #: build/C/man7/path_resolution.7:72
4363 msgid ""
4364 "If the process does not have search permission on the current lookup "
4365 "directory, an B<EACCES> error is returned (\"Permission denied\")."
4366 msgstr ""
4367 "プロセスが現在の検索ディレクトリの検索許可を持たない場合、 B<EACCES> エラーが"
4368 "返される (\"Permission denied\")。"
4369
4370 #. type: Plain text
4371 #: build/C/man7/path_resolution.7:77
4372 msgid ""
4373 "If the component is not found, an B<ENOENT> error is returned (\"No such "
4374 "file or directory\")."
4375 msgstr ""
4376 "構成要素が見つからない場合、 B<ENOENT> エラーが返される (\"No such file or "
4377 "directory\")。"
4378
4379 #. type: Plain text
4380 #: build/C/man7/path_resolution.7:82
4381 msgid ""
4382 "If the component is found, but is neither a directory nor a symbolic link, "
4383 "an B<ENOTDIR> error is returned (\"Not a directory\")."
4384 msgstr ""
4385 "構成要素は見つかったが、ディレクトリでもシンボリックリンクでもない場合、 "
4386 "B<ENOTDIR> エラーが返される (\"Not a directory\")。"
4387
4388 #. type: Plain text
4389 #: build/C/man7/path_resolution.7:86
4390 msgid ""
4391 "If the component is found and is a directory, we set the current lookup "
4392 "directory to that directory, and go to the next component."
4393 msgstr ""
4394 "構成要素が見つかって、かつディレクトリである場合、 現在の検索ディレクトリをそ"
4395 "のディレクトリに設定し、 次の構成要素に移動する。"
4396
4397 #.  presently: max recursion depth during symlink resolution: 5
4398 #.  max total number of symbolic links followed: 40
4399 #.  _POSIX_SYMLOOP_MAX is 8
4400 #. type: Plain text
4401 #: build/C/man7/path_resolution.7:110
4402 msgid ""
4403 "If the component is found and is a symbolic link (symlink), we first resolve "
4404 "this symbolic link (with the current lookup directory as starting lookup "
4405 "directory).  Upon error, that error is returned.  If the result is not a "
4406 "directory, an B<ENOTDIR> error is returned.  If the resolution of the "
4407 "symlink is successful and returns a directory, we set the current lookup "
4408 "directory to that directory, and go to the next component.  Note that the "
4409 "resolution process here involves recursion.  In order to protect the kernel "
4410 "against stack overflow, and also to protect against denial of service, there "
4411 "are limits on the maximum recursion depth, and on the maximum number of "
4412 "symbolic links followed.  An B<ELOOP> error is returned when the maximum is "
4413 "exceeded (\"Too many levels of symbolic links\")."
4414 msgstr ""
4415 "構成要素が見つかって、かつシンボリックリンク (symlink) である場合、 (現在の検"
4416 "索ディレクトリをディレクトリ検索の開始点として)  最初にそのシンボリックリンク"
4417 "を解決する。 結果がディレクトリでない場合、 B<ENOTDIR> エラーが返される。 シ"
4418 "ンボリックリンクの解決が成功してディレクトリが返された場合、 そのディレクトリ"
4419 "を現在の検索ディレクトリとして設定し、 次の構成要素に移動する。 解決過程に再"
4420 "帰が含まれる点に注意すること。 カーネルをスタックオーバーフローや サービス拒"
4421 "否 (denial of service) から守るため、 再帰の最大の深さとシンボリックリンクを"
4422 "辿る最大回数に制限がある。 最大値を超えた場合 B<ELOOP> エラーが返される "
4423 "(\"Too many levels of symbolic links\")。"
4424
4425 #. type: SS
4426 #: build/C/man7/path_resolution.7:110
4427 #, no-wrap
4428 msgid "Step 3: find the final entry"
4429 msgstr "ステップ 3: 最後のエントリを見つける"
4430
4431 #. type: Plain text
4432 #: build/C/man7/path_resolution.7:122
4433 msgid ""
4434 "The lookup of the final component of the pathname goes just like that of all "
4435 "other components, as described in the previous step, with two differences: "
4436 "(i) the final component need not be a directory (at least as far as the path "
4437 "resolution process is concerned\\(emit may have to be a directory, or a "
4438 "nondirectory, because of the requirements of the specific system call), and "
4439 "(ii) it is not necessarily an error if the component is not found\\(emmaybe "
4440 "we are just creating it.  The details on the treatment of the final entry "
4441 "are described in the manual pages of the specific system calls."
4442 msgstr ""
4443 "パス名の最後の構成要素の検索は、前のステップで説明した 他の全ての構成要素と同"
4444 "じように実行されるが、2 つの違いがある。 (i) 最後の構成要素はディレクトリであ"
4445 "る必要がない (パス解決過程に関する限りはどちらでも構わない \\(em 特定のシステ"
4446 "ムコールが要求するものによって、 ディレクトリでなければならない場合もある"
4447 "し、 ディレクトリ以外でなければならない場合もある)。 (ii) 構成要素が見つから"
4448 "ない場合にエラーにする必要はない \\(em その構成要素を作成するだけでよい場合も"
4449 "ある。 最後のエントリの詳細な扱いは、 特定のシステムコールの man ページで説明"
4450 "されている。"
4451
4452 #. type: SS
4453 #: build/C/man7/path_resolution.7:122
4454 #, no-wrap
4455 msgid ". and .."
4456 msgstr ". と .."
4457
4458 #. type: Plain text
4459 #: build/C/man7/path_resolution.7:126
4460 msgid ""
4461 "By convention, every directory has the entries \".\" and \"..\", which refer "
4462 "to the directory itself and to its parent directory, respectively."
4463 msgstr ""
4464 "慣習として、全てのディレクトリはエントリ \".\" と \"..\" を持つ。 これらはそ"
4465 "れぞれ、そのディレクトリ自身とその親ディレクトリを参照する。"
4466
4467 #. type: Plain text
4468 #: build/C/man7/path_resolution.7:130
4469 msgid ""
4470 "The path resolution process will assume that these entries have their "
4471 "conventional meanings, regardless of whether they are actually present in "
4472 "the physical filesystem."
4473 msgstr ""
4474 "パス解決過程では、これらのエントリが物理的なファイルシステムに 実際に存在する"
4475 "か否かに関わらず、慣習的な意味を持つと仮定する。"
4476
4477 #. type: Plain text
4478 #: build/C/man7/path_resolution.7:132
4479 msgid "One cannot walk down past the root: \"/..\" is the same as \"/\"."
4480 msgstr "ルートより上に辿ることはできない: \"/..\" は \"/\" と同じである。"
4481
4482 #. type: SS
4483 #: build/C/man7/path_resolution.7:132
4484 #, no-wrap
4485 msgid "Mount points"
4486 msgstr "マウント位置"
4487
4488 #. type: Plain text
4489 #: build/C/man7/path_resolution.7:136
4490 msgid ""
4491 "After a \"mount dev path\" command, the pathname \"path\" refers to the root "
4492 "of the filesystem hierarchy on the device \"dev\", and no longer to whatever "
4493 "it referred to earlier."
4494 msgstr ""
4495 "\"mount dev path\" コマンドを実行した後、 パス名 \"path\" はデバイス \"dev\" "
4496 "上のファイルシステム階層の ルートディレクトリを参照するようになり、以前の位置"
4497 "を参照しない。"
4498
4499 #. type: Plain text
4500 #: build/C/man7/path_resolution.7:140
4501 msgid ""
4502 "One can walk out of a mounted filesystem: \"path/..\" refers to the parent "
4503 "directory of \"path\", outside of the filesystem hierarchy on \"dev\"."
4504 msgstr ""
4505 "マウントされたファイルシステムの外に出ることができる: \"path/..\" は \"dev\" "
4506 "上のファイルシステム階層の外である \"path\" の親ディレクトリを参照する。"
4507
4508 #. type: SS
4509 #: build/C/man7/path_resolution.7:140
4510 #, no-wrap
4511 msgid "Trailing slashes"
4512 msgstr "末尾のスラッシュ"
4513
4514 #. type: Plain text
4515 #: build/C/man7/path_resolution.7:146
4516 msgid ""
4517 "If a pathname ends in a \\(aq/\\(aq, that forces resolution of the preceding "
4518 "component as in Step 2: it has to exist and resolve to a directory.  "
4519 "Otherwise, a trailing \\(aq/\\(aq is ignored.  (Or, equivalently, a pathname "
4520 "with a trailing \\(aq/\\(aq is equivalent to the pathname obtained by "
4521 "appending \\(aq.\\(aq to it.)"
4522 msgstr ""
4523 "パス名が \\(aq/\\(aq で終わっている場合、 ステップ 2 において、その前にある構"
4524 "成要素の解決法を次のように強制する: その構成要素が存在しなければならず、ディ"
4525 "レクトリとして解決される。 存在しない場合は、末尾の \\(aq/\\(aq が無視され"
4526 "る。 (また同様に、末尾に \\(aq/\\(aq があるパス名は、 \\(aq.\\(aq を末尾に加"
4527 "えて得られるパス名と等しい。)"
4528
4529 #. type: SS
4530 #: build/C/man7/path_resolution.7:146
4531 #, no-wrap
4532 msgid "Final symlink"
4533 msgstr "最後がシンボリックリンクのとき"
4534
4535 #. type: Plain text
4536 #: build/C/man7/path_resolution.7:155
4537 msgid ""
4538 "If the last component of a pathname is a symbolic link, then it depends on "
4539 "the system call whether the file referred to will be the symbolic link or "
4540 "the result of path resolution on its contents.  For example, the system call "
4541 "B<lstat>(2)  will operate on the symlink, while B<stat>(2)  operates on the "
4542 "file pointed to by the symlink."
4543 msgstr ""
4544 "パス名の最後の構成要素がシンボリックリンクである場合、 参照されるファイルをシ"
4545 "ンボリックリンクとするか、 その内容についてパスを解決した結果とするかは、 シ"
4546 "ステムコールに依存する。 たとえば、システムコール B<lstat>(2)  はシンボリック"
4547 "リンクに作用する。 一方、 B<stat>(2)  はシンボリックリンクで指されたファイル"
4548 "に作用する。"
4549
4550 #. type: SS
4551 #: build/C/man7/path_resolution.7:155
4552 #, no-wrap
4553 msgid "Length limit"
4554 msgstr "長さの制限"
4555
4556 #. type: Plain text
4557 #: build/C/man7/path_resolution.7:162
4558 msgid ""
4559 "There is a maximum length for pathnames.  If the pathname (or some "
4560 "intermediate pathname obtained while resolving symbolic links)  is too long, "
4561 "an B<ENAMETOOLONG> error is returned (\"Filename too long\")."
4562 msgstr ""
4563 "パス名には最大長がある。 パス名 (またはシンボリックリンクを解決するときに得ら"
4564 "れる中間パス名) が 長すぎる場合、 B<ENAMETOOLONG> エラーが返される "
4565 "(\"Filename too long\")。"
4566
4567 #. type: SS
4568 #: build/C/man7/path_resolution.7:162
4569 #, no-wrap
4570 msgid "Empty pathname"
4571 msgstr "空のパス名"
4572
4573 #. type: Plain text
4574 #: build/C/man7/path_resolution.7:169
4575 msgid ""
4576 "In the original UNIX, the empty pathname referred to the current directory.  "
4577 "Nowadays POSIX decrees that an empty pathname must not be resolved "
4578 "successfully.  Linux returns B<ENOENT> in this case."
4579 msgstr ""
4580 "元々の UNIX では、空のパス名は現在のディレクトリを参照していた。 最近、POSIX "
4581 "では空のパス名を解決するべきではないという決定がなされた。 この場合、Linux "
4582 "は B<ENOENT> を返す。"
4583
4584 #. type: SS
4585 #: build/C/man7/path_resolution.7:169
4586 #, no-wrap
4587 msgid "Permissions"
4588 msgstr "許可"
4589
4590 #. type: Plain text
4591 #: build/C/man7/path_resolution.7:182
4592 msgid ""
4593 "The permission bits of a file consist of three groups of three bits, cf.\\& "
4594 "B<chmod>(1)  and B<stat>(2).  The first group of three is used when the "
4595 "effective user ID of the calling process equals the owner ID of the file.  "
4596 "The second group of three is used when the group ID of the file either "
4597 "equals the effective group ID of the calling process, or is one of the "
4598 "supplementary group IDs of the calling process (as set by B<setgroups>(2)).  "
4599 "When neither holds, the third group is used."
4600 msgstr ""
4601 "ファイルの許可ビットは、3 組の 3 ビットから構成される。 B<chmod>(1)  と "
4602 "B<stat>(2)  を参照すること。 呼び出し元のプロセスの実効ユーザ ID がファイルの"
4603 "所有者 ID と等しい場合、 3 つのうち最初のグループが使われる。 ファイルのグ"
4604 "ループ ID が呼び出し元のプロセスの実効グループ ID または (B<setgroups>(2)  で"
4605 "設定される) 呼び出し元のプロセスの補助 (supplementary) グループ ID と 等しい"
4606 "場合、3 つのうち 2 番目のグループが使われる。 どちらにも当てはまらない場合、"
4607 "3 番目のグループが使われる。"
4608
4609 #. type: Plain text
4610 #: build/C/man7/path_resolution.7:186
4611 msgid ""
4612 "Of the three bits used, the first bit determines read permission, the second "
4613 "write permission, and the last execute permission in case of ordinary files, "
4614 "or search permission in case of directories."
4615 msgstr ""
4616 "3 ビットが使われる場合、最初のビットは読み込み許可を決定し、 2 番目のビットは"
4617 "書き込み許可を決定する。 また 3 番目のビットは、通常のファイルの場合は実行許"
4618 "可を表し、 ディレクトリの場合は検索許可を表す。"
4619
4620 #. type: Plain text
4621 #: build/C/man7/path_resolution.7:191
4622 msgid ""
4623 "Linux uses the fsuid instead of the effective user ID in permission checks.  "
4624 "Ordinarily the fsuid will equal the effective user ID, but the fsuid can be "
4625 "changed by the system call B<setfsuid>(2)."
4626 msgstr ""
4627 "Linux は、許可のチェックにおいて、実効ユーザ ID ではなく fsuid を使う。 通常"
4628 "は fsuid は実効ユーザ ID と等しいが、fsuid はシステムコール B<setfsuid>(2)  "
4629 "で変更することができる。"
4630
4631 #. type: Plain text
4632 #: build/C/man7/path_resolution.7:199
4633 msgid ""
4634 "(Here \"fsuid\" stands for something like \"filesystem user ID\".  The "
4635 "concept was required for the implementation of a user space NFS server at a "
4636 "time when processes could send a signal to a process with the same effective "
4637 "user ID.  It is obsolete now.  Nobody should use B<setfsuid>(2).)"
4638 msgstr ""
4639 "(ここで \"fsuid\" は \"file system user ID\" を表している。 この概念は「プロ"
4640 "セスが同じ実効ユーザ ID を持つプロセスに 同時にシグナルを送ることができる」と"
4641 "いうユーザ空間 NFS サーバを 実装する際に必要であった。 これは今では廃れてし"
4642 "まった。 B<setfsuid>(2)  を使うべきではない。"
4643
4644 #.  FIXME . say something about filesystem mounted read-only ?
4645 #. type: Plain text
4646 #: build/C/man7/path_resolution.7:205
4647 msgid ""
4648 "Similarly, Linux uses the fsgid (\"filesystem group ID\")  instead of the "
4649 "effective group ID.  See B<setfsgid>(2)."
4650 msgstr ""
4651 "同様に、Linux では実効グループ ID の代わりに fsgid (\"ファイルシステム・グ"
4652 "ループID\") を使う。 B<setfsgid>(2)  を参照すること。"
4653
4654 #. type: SS
4655 #: build/C/man7/path_resolution.7:205
4656 #, no-wrap
4657 msgid "Bypassing permission checks: superuser and capabilities"
4658 msgstr "許可の確認をスキップする: スーパーユーザとケーパビリティ"
4659
4660 #.  (but for exec at least one x bit must be set) -- AEB
4661 #.  but there is variation across systems on this point: for
4662 #.  example, HP-UX and Tru64 are as described by AEB.  However,
4663 #.  on some implementations (e.g., Solaris, FreeBSD),
4664 #.  access(X_OK) by superuser will report success, regardless
4665 #.  of the file's execute permission bits. -- MTK (Oct 05)
4666 #. type: Plain text
4667 #: build/C/man7/path_resolution.7:216
4668 msgid ""
4669 "On a traditional UNIX system, the superuser (I<root>, user ID 0) is all-"
4670 "powerful, and bypasses all permissions restrictions when accessing files."
4671 msgstr ""
4672 "伝統的な UNIX システムでは、スーパーユーザ (I<root>, ユーザ ID 0) は非常に強"
4673 "力であり、ファイルアクセス時の 許可による制限を全てスキップする。"
4674
4675 #. type: Plain text
4676 #: build/C/man7/path_resolution.7:224
4677 msgid ""
4678 "On Linux, superuser privileges are divided into capabilities (see "
4679 "B<capabilities>(7)).  Two capabilities are relevant for file permissions "
4680 "checks: B<CAP_DAC_OVERRIDE> and B<CAP_DAC_READ_SEARCH>.  (A process has "
4681 "these capabilities if its fsuid is 0.)"
4682 msgstr ""
4683 "Linux では、スーパーユーザ権限が複数のケーパビリティに分割されている "
4684 "(B<capabilities>(7)  参照)。ファイルの許可の確認には、 B<CAP_DAC_OVERRIDE> "
4685 "と B<CAP_DAC_READ_SEARCH> の 2つのケーパビリティが関係する (プロセスの fsuid "
4686 "が 0 の場合、そのプロセスはこれらのケーパビリティを持つ)。"
4687
4688 #. type: Plain text
4689 #: build/C/man7/path_resolution.7:230
4690 msgid ""
4691 "The B<CAP_DAC_OVERRIDE> capability overrides all permission checking, but "
4692 "grants execute permission only when at least one of the file's three execute "
4693 "permission bits is set."
4694 msgstr ""
4695 "B<CAP_DAC_OVERRIDE> ケーパビリティは全ての許可チェックを上書きする。 実際に"
4696 "は、対象となるファイルの 3 つの実行許可ビットのうちの 少なくとも 1 つが設定さ"
4697 "れている場合のみ、実行を許可する。"
4698
4699 #.  FIXME . say something about immutable files
4700 #.  FIXME . say something about ACLs
4701 #. type: Plain text
4702 #: build/C/man7/path_resolution.7:237
4703 msgid ""
4704 "The B<CAP_DAC_READ_SEARCH> capability grants read and search permission on "
4705 "directories, and read permission on ordinary files."
4706 msgstr ""
4707 "B<CAP_DAC_READ_SEARCH> ケーパビリティは、ディレクトリに対して読み込みと検索を"
4708 "許可し、 通常のファイルに対して読み込みを許可する。"
4709
4710 #. type: Plain text
4711 #: build/C/man7/path_resolution.7:242
4712 msgid "B<readlink>(2), B<capabilities>(7), B<credentials>(7), B<symlink>(7)"
4713 msgstr "B<readlink>(2), B<capabilities>(7), B<credentials>(7), B<symlink>(7)"
4714
4715 #. type: TH
4716 #: build/C/man2/removexattr.2:25
4717 #, no-wrap
4718 msgid "REMOVEXATTR"
4719 msgstr "REMOVEXATTR"
4720
4721 #. type: Plain text
4722 #: build/C/man2/removexattr.2:28
4723 msgid "removexattr, lremovexattr, fremovexattr - remove an extended attribute"
4724 msgstr "removexattr, lremovexattr, fremovexattr - 拡張属性を削除する"
4725
4726 #. type: Plain text
4727 #: build/C/man2/removexattr.2:37
4728 #, no-wrap
4729 msgid ""
4730 "B<int removexattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<);>\n"
4731 "B<int lremovexattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<);>\n"
4732 "B<int fremovexattr(int >I<fd>B<, const char\\ *>I<name>B<);>\n"
4733 msgstr ""
4734 "B<int removexattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<);>\n"
4735 "B<int lremovexattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<);>\n"
4736 "B<int fremovexattr(int >I<fd>B<, const char\\ *>I<name>B<);>\n"
4737
4738 #. type: Plain text
4739 #: build/C/man2/removexattr.2:49
4740 msgid ""
4741 "Extended attributes are I<name>:value pairs associated with inodes (files, "
4742 "directories, symbolic links, etc.).  They are extensions to the normal "
4743 "attributes which are associated with all inodes in the system (i.e., the "
4744 "B<stat>(2)  data).  A complete overview of extended attributes concepts can "
4745 "be found in B<attr>(5)."
4746 msgstr ""
4747 "拡張属性は、inode (ファイル、ディレクトリ、シンボリックリンク等) に 関連付け"
4748 "られた I<name>:I<value> の対である。 これらは、システム上のすべての inode に"
4749 "関連付けられた通常の属性 (B<stat>(2)  が返すデータ) を拡張するものである。 拡"
4750 "張属性のコンセプトは B<attr>(5)  に書かれている。"
4751
4752 #. type: Plain text
4753 #: build/C/man2/removexattr.2:56
4754 msgid ""
4755 "B<removexattr>()  removes the extended attribute identified by I<name> and "
4756 "associated with the given I<path> in the filesystem."
4757 msgstr ""
4758 "B<removexattr>()  は、ファイルシステム内の指定された I<path> に対応する、名"
4759 "前 I<name> の拡張属性を削除する。"
4760
4761 #. type: Plain text
4762 #: build/C/man2/removexattr.2:62
4763 msgid ""
4764 "B<lremovexattr>()  is identical to B<removexattr>(), except in the case of a "
4765 "symbolic link, where the extended attribute is removed from the link itself, "
4766 "not the file that it refers to."
4767 msgstr ""
4768 "B<lremovexattr>()  は B<removexattr>()  と同じだが、シンボリックリンクの場合"
4769 "に、リンクが参照しているファイル ではなく、リンクそのものの情報を削除する点だ"
4770 "けが異なる。"
4771
4772 #. type: Plain text
4773 #: build/C/man2/removexattr.2:72
4774 msgid ""
4775 "B<fremovexattr>()  is identical to B<removexattr>(), only the extended "
4776 "attribute is removed from the open file referred to by I<fd> (as returned by "
4777 "B<open>(2))  in place of I<path>."
4778 msgstr ""
4779 "B<fremovexattr>()  は B<removexattr>()  と同じだが、 I<path> の代わりに "
4780 "I<fd> で参照されたオープン済みファイルから拡張属性を削除するだけである点が異"
4781 "なる (I<fd> は B<open>(2)  によって返される)。"
4782
4783 #. type: Plain text
4784 #: build/C/man2/removexattr.2:78
4785 msgid ""
4786 "An extended attribute name is a simple null-terminated string.  The I<name> "
4787 "includes a namespace prefix; there may be several, disjoint namespaces "
4788 "associated with an individual inode."
4789 msgstr ""
4790 "拡張属性の名前は、普通のヌル終端された文字列である。 I<name> には、名前空間を"
4791 "表す接頭辞 (prefix) が含まれる。 個々の inode に対し、互いに独立な名前空間が"
4792 "複数あってもよい。"
4793
4794 #. type: Plain text
4795 #: build/C/man2/removexattr.2:83 build/C/man2/setxattr.2:110
4796 msgid ""
4797 "On success, zero is returned.  On failure, -1 is returned and I<errno> is "
4798 "set appropriately."
4799 msgstr ""
4800 "成功した場合、0 が返される。 失敗した場合、 -1 が返され、 I<errno> に適切な値"
4801 "がセットされる。"
4802
4803 #. type: Plain text
4804 #: build/C/man2/removexattr.2:92
4805 msgid ""
4806 "The named attribute does not exist.  (B<ENOATTR> is defined to be a synonym "
4807 "for B<ENODATA> in I<E<lt>attr/xattr.hE<gt>>.)"
4808 msgstr ""
4809 "指定された属性が存在しない。(B<ENOATTR> は I<E<lt>attr/xattr.hE<gt>> で "
4810 "B<ENODATA> の同義語として定義されている。)"
4811
4812 #. type: Plain text
4813 #: build/C/man2/removexattr.2:120
4814 msgid ""
4815 "B<getfattr>(1), B<setfattr>(1), B<getxattr>(2), B<listxattr>(2), B<open>(2), "
4816 "B<setxattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
4817 msgstr ""
4818 "B<getfattr>(1), B<setfattr>(1), B<getxattr>(2), B<listxattr>(2), B<open>(2), "
4819 "B<setxattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
4820
4821 #. type: TH
4822 #: build/C/man2/setxattr.2:25
4823 #, no-wrap
4824 msgid "SETXATTR"
4825 msgstr "SETXATTR"
4826
4827 #. type: Plain text
4828 #: build/C/man2/setxattr.2:28
4829 msgid "setxattr, lsetxattr, fsetxattr - set an extended attribute value"
4830 msgstr "setxattr, lsetxattr, fsetxattr - 拡張属性の値を設定する"
4831
4832 #. type: Plain text
4833 #: build/C/man2/setxattr.2:40
4834 #, no-wrap
4835 msgid ""
4836 "B<int setxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
4837 "B<              const void\\ *>I<value>B<, size_t >I<size>B<, int >I<flags>B<);>\n"
4838 "B<int lsetxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
4839 "B<              const void\\ *>I<value>B<, size_t >I<size>B<, int >I<flags>B<);>\n"
4840 "B<int fsetxattr(int >I<fd>B<, const char\\ *>I<name>B<,>\n"
4841 "B<              const void\\ *>I<value>B<, size_t >I<size>B<, int >I<flags>B<);>\n"
4842 msgstr ""
4843 "B<int setxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
4844 "B<              const void\\ *>I<value>B<, size_t >I<size>B<, int >I<flags>B<);>\n"
4845 "B<int lsetxattr(const char\\ *>I<path>B<, const char\\ *>I<name>B<,>\n"
4846 "B<              const void\\ *>I<value>B<, size_t >I<size>B<, int >I<flags>B<);>\n"
4847 "B<int fsetxattr(int >I<fd>B<, const char\\ *>I<name>B<,>\n"
4848 "B<              const void\\ *>I<value>B<, size_t >I<size>B<, int >I<flags>B<);>\n"
4849
4850 #. type: Plain text
4851 #: build/C/man2/setxattr.2:67
4852 msgid ""
4853 "B<setxattr>()  sets the I<value> of the extended attribute identified by "
4854 "I<name> and associated with the given I<path> in the filesystem.  The "
4855 "I<size> of the I<value> must be specified."
4856 msgstr ""
4857 "B<setxattr>()  は、ファイルシステム内の指定された I<path> に対応する、名前 "
4858 "I<name> の拡張属性の値 I<value> を設定する。 I<value> の I<size> は必ず指定し"
4859 "なければならない。"
4860
4861 #. type: Plain text
4862 #: build/C/man2/setxattr.2:73
4863 msgid ""
4864 "B<lsetxattr>()  is identical to B<setxattr>(), except in the case of a "
4865 "symbolic link, where the extended attribute is set on the link itself, not "
4866 "the file that it refers to."
4867 msgstr ""
4868 "B<lsetxattr>()  は B<setxattr>()  と同じだが、シンボリックリンクの場合に、リ"
4869 "ンクが参照しているファイル ではなく、リンクそのものの拡張属性を設定する点だけ"
4870 "が異なる。"
4871
4872 #. type: Plain text
4873 #: build/C/man2/setxattr.2:83
4874 msgid ""
4875 "B<fsetxattr>()  is identical to B<setxattr>(), only the extended attribute "
4876 "is set on the open file referred to by I<fd> (as returned by B<open>(2))  in "
4877 "place of I<path>."
4878 msgstr ""
4879 "B<fsetxattr>()  は B<setxattr>()  と同じだが、 I<path> の代わりに I<fd> で参"
4880 "照されたオープン済みファイルの情報だけを設定する点が異なる (I<filedes> は "
4881 "B<open>(2)  によって返される)。"
4882
4883 #. type: Plain text
4884 #: build/C/man2/setxattr.2:93
4885 msgid ""
4886 "An extended attribute name is a simple null-terminated string.  The I<name> "
4887 "includes a namespace prefix; there may be several, disjoint namespaces "
4888 "associated with an individual inode.  The I<value> of an extended attribute "
4889 "is a chunk of arbitrary textual or binary data of specified length."
4890 msgstr ""
4891 "拡張属性の名前 は普通のヌル終端された文字列である。 I<name> には、名前空間を"
4892 "表す接頭辞 (prefix) が含まれる。 個々の inode に対して、互いに独立な名前空間"
4893 "が複数あってもよい。 拡張属性の値 I<value> は、ある一定の長さの任意のテキス"
4894 "ト・データまたは バイナリ・データの集合である。"
4895
4896 #. type: Plain text
4897 #: build/C/man2/setxattr.2:105
4898 msgid ""
4899 "The I<flags> argument can be used to refine the semantics of the operation.  "
4900 "B<XATTR_CREATE> specifies a pure create, which fails if the named attribute "
4901 "exists already.  B<XATTR_REPLACE> specifies a pure replace operation, which "
4902 "fails if the named attribute does not already exist.  By default (no flags), "
4903 "the extended attribute will be created if need be, or will simply replace "
4904 "the value if the attribute exists."
4905 msgstr ""
4906 "操作の意味を明確にするために I<flags> 引き数を使用することができる。 "
4907 "B<XATTR_CREATE> は属性の作成だけを行うことを指定する。 指定された名前の属性が"
4908 "すでに存在する場合は失敗する。 B<XATTR_REPLACE> は属性の置換だけを行うことを"
4909 "指定する。 指定された名前の属性がまだ存在しない場合は失敗する。 デフォルトで"
4910 "は (フラグを指定しない場合)、拡張属性は必要な場合は作成され、 属性がすでに存"
4911 "在する場合は属性値の置換を行う。"
4912
4913 #. type: TP
4914 #: build/C/man2/setxattr.2:111
4915 #, no-wrap
4916 msgid "B<EDQUOT>"
4917 msgstr "B<EDQUOT>"
4918
4919 #. type: Plain text
4920 #: build/C/man2/setxattr.2:115
4921 msgid ""
4922 "Disk quota limits meant that there is insufficient space remaining to store "
4923 "the extended attribute."
4924 msgstr ""
4925 "ディスクのクォータ上限に達した。拡張属性を格納できるだけの空き領域がないこと"
4926 "を意味する。"
4927
4928 #. type: TP
4929 #: build/C/man2/setxattr.2:115 build/C/man2/spu_create.2:178
4930 #, no-wrap
4931 msgid "B<EEXIST>"
4932 msgstr "B<EEXIST>"
4933
4934 #. type: Plain text
4935 #: build/C/man2/setxattr.2:119
4936 msgid "B<XATTR_CREATE> was specified, and the attribute exists already."
4937 msgstr "B<XATTR_CREATE> が指定されたが、その属性はすでに存在している。"
4938
4939 #. type: Plain text
4940 #: build/C/man2/setxattr.2:128
4941 msgid ""
4942 "B<XATTR_REPLACE> was specified, and the attribute does not exist.  "
4943 "(B<ENOATTR> is defined to be a synonym for B<ENODATA> in I<E<lt>attr/xattr."
4944 "hE<gt>>.)"
4945 msgstr ""
4946 "B<XATTR_REPLACE> が指定されたが、その属性が存在しない。(B<ENOATTR> は "
4947 "I<E<lt>attr/xattr.hE<gt>> で B<ENODATA> の同義語として定義されている。)"
4948
4949 #. type: TP
4950 #: build/C/man2/setxattr.2:128 build/C/man2/spu_create.2:218
4951 #, no-wrap
4952 msgid "B<ENOSPC>"
4953 msgstr "B<ENOSPC>"
4954
4955 #. type: Plain text
4956 #: build/C/man2/setxattr.2:131
4957 msgid "There is insufficient space remaining to store the extended attribute."
4958 msgstr "拡張属性を記憶するのに十分なスペースが残っていない。"
4959
4960 #. type: Plain text
4961 #: build/C/man2/setxattr.2:137
4962 msgid ""
4963 "Extended attributes are not supported by the filesystem, or are disabled, "
4964 "I<errno> is set to B<ENOTSUP>."
4965 msgstr ""
4966 "拡張属性がそのファイルシステムでサポートされていない、もしくは無効になってい"
4967 "る。\n"
4968 "I<errno> に B<ENOTSUP> がセットされる。"
4969
4970 #. type: Plain text
4971 #: build/C/man2/setxattr.2:162
4972 msgid ""
4973 "B<getfattr>(1), B<setfattr>(1), B<getxattr>(2), B<listxattr>(2), B<open>(2), "
4974 "B<removexattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
4975 msgstr ""
4976 "B<getfattr>(1), B<setfattr>(1), B<getxattr>(2), B<listxattr>(2), B<open>(2), "
4977 "B<removexattr>(2), B<stat>(2), B<attr>(5), B<symlink>(7)"
4978
4979 #. type: TH
4980 #: build/C/man2/spu_create.2:25
4981 #, no-wrap
4982 msgid "SPU_CREATE"
4983 msgstr "SPU_CREATE"
4984
4985 #. type: TH
4986 #: build/C/man2/spu_create.2:25 build/C/man2/spu_run.2:26
4987 #, no-wrap
4988 msgid "2012-08-05"
4989 msgstr "2012-08-05"
4990
4991 #. type: Plain text
4992 #: build/C/man2/spu_create.2:28
4993 msgid "spu_create - create a new spu context"
4994 msgstr "spu_create - 新しい SPU コンテキストを生成する"
4995
4996 #. type: Plain text
4997 #: build/C/man2/spu_create.2:32
4998 #, no-wrap
4999 msgid ""
5000 "B<#include E<lt>sys/types.hE<gt>>\n"
5001 "B<#include E<lt>sys/spu.hE<gt>>\n"
5002 msgstr ""
5003 "B<#include E<lt>sys/types.hE<gt>>\n"
5004 "B<#include E<lt>sys/spu.hE<gt>>\n"
5005
5006 #. type: Plain text
5007 #: build/C/man2/spu_create.2:36
5008 #, no-wrap
5009 msgid ""
5010 "B<int spu_create(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n"
5011 "B<int spu_create(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<,>\n"
5012 "B<               int >I<neighbor_fd>B<);>\n"
5013 msgstr ""
5014 "B<int spu_create(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n"
5015 "B<int spu_create(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<,>\n"
5016 "B<               int >I<neighbor_fd>B<);>\n"
5017
5018 #. type: Plain text
5019 #: build/C/man2/spu_create.2:40 build/C/man2/spu_run.2:39
5020 msgid "I<Note>: There is no glibc wrapper for this system call; see NOTES."
5021 msgstr ""
5022 "I<注>: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節"
5023 "を参照。"
5024
5025 #. type: Plain text
5026 #: build/C/man2/spu_create.2:59
5027 msgid ""
5028 "The B<spu_create>()  system call is used on PowerPC machines that implement "
5029 "the Cell Broadband Engine Architecture in order to access Synergistic "
5030 "Processor Units (SPUs).  It creates a new logical context for an SPU in "
5031 "I<pathname> and returns a file descriptor associated with it.  I<pathname> "
5032 "must refer to a nonexistent directory in the mount point of the SPU "
5033 "filesystem (B<spufs>).  If B<spu_create>()  is successful, a directory is "
5034 "created at I<pathname> and it is populated with the files described in "
5035 "B<spufs>(7)."
5036 msgstr ""
5037 "B<spu_create>() システムコールは、Cell Broadband Engine アーキテクチャーを実"
5038 "装した PowerPC マシンにおいて、Synergistic Processor Unit (SPU) にアクセスす"
5039 "るために使用される。 このシステムコールは、 SPU に対する新しい論理コンテキス"
5040 "トを I<pathname> に生成し、 そのコンテキストに関連付けられたファイルディスク"
5041 "リプターを返す。 I<pathname> は SPU ファイルシステム (B<spufs>) のマウントポ"
5042 "イント内の存在しないディレクトリを指していなければならない。 B<spu_create>() "
5043 "が成功すると、 I<pathname> にディレクトリが生成され、 そのディレクトリに "
5044 "B<spufs>(7) で説明されているファイル群が配置される。"
5045
5046 #. type: Plain text
5047 #: build/C/man2/spu_create.2:78
5048 msgid ""
5049 "When a context is created, the returned file descriptor can only be passed "
5050 "to B<spu_run>(2), used as the I<dirfd> argument to the B<*at> family of "
5051 "system calls (e.g., B<openat>(2)), or closed; other operations are not "
5052 "defined.  A logical SPU context is destroyed (along with all files created "
5053 "within the context's I<pathname> directory) once the last reference to the "
5054 "context has gone; this usually occurs when the file descriptor returned by "
5055 "B<spu_create>()  is closed."
5056 msgstr ""
5057 "コンテキストを作成した際、返されたファイルディスクリプターは、 B<spu_run>(2) "
5058 "に渡すか、 B<*at> 系のシステムコール (B<openat>(2) など) の I<dirfd> 引き数と"
5059 "して使用するか、 クローズするか、しかできない。 他の操作は定義されていない。 "
5060 "そのコンテキストへの最後の参照がなくなった際に、 論理 SPU コンテキストは破棄"
5061 "される (そのコンテキストの I<pathname> ディレクトリに作成されたファイルもすべ"
5062 "て破棄される)。 通常は B<spu_create>() が返したファイルディスクリプターがク"
5063 "ローズされた際に発生する。"
5064
5065 #. type: Plain text
5066 #: build/C/man2/spu_create.2:83
5067 msgid ""
5068 "The I<flags> argument can be zero or any bitwise OR-ed combination of the "
5069 "following constants:"
5070 msgstr ""
5071 "I<flags> 引き数には 0 か以下の定数の組み合わせ (ビット単位の論理和) を指定で"
5072 "きる。"
5073
5074 #. type: TP
5075 #: build/C/man2/spu_create.2:83
5076 #, no-wrap
5077 msgid "B<SPU_CREATE_EVENTS_ENABLED>"
5078 msgstr "B<SPU_CREATE_EVENTS_ENABLED>"
5079
5080 #. type: Plain text
5081 #: build/C/man2/spu_create.2:89
5082 msgid ""
5083 "Rather than using signals for reporting DMA errors, use the I<event> "
5084 "argument to B<spu_run>(2)."
5085 msgstr ""
5086 "DMA エラーを通知するのにシグナルを使うのではなく、 B<spu_run>(2) の I<event> "
5087 "引き数を使用する。"
5088
5089 #. type: TP
5090 #: build/C/man2/spu_create.2:89
5091 #, no-wrap
5092 msgid "B<SPU_CREATE_GANG>"
5093 msgstr "B<SPU_CREATE_GANG>"
5094
5095 #. type: Plain text
5096 #: build/C/man2/spu_create.2:97
5097 msgid ""
5098 "Create an SPU gang instead of a context.  (A gang is a group of SPU contexts "
5099 "that are functionally related to each other and which share common "
5100 "scheduling parameters\\(empriority and policy.  In the future, gang "
5101 "scheduling may be implemented causing the group to be switched in and out as "
5102 "a single unit.)"
5103 msgstr ""
5104 "コンテキストの代わりに SPU gang を作成する。 (gang は、機能的に互いに関係して"
5105 "いて、スケジューリングパラメーター (優先度とポリシー) を共有する SPU コンテキ"
5106 "ストのグループである。 将来、 グループ全体が一つの単位としてスイッチイン/ス"
5107 "イッチアウトされる gang スケジューリングが実装されるかもしれない。)"
5108
5109 #. type: Plain text
5110 #: build/C/man2/spu_create.2:104
5111 msgid ""
5112 "A new directory will be created at the location specified by the I<pathname> "
5113 "argument.  This gang may be used to hold other SPU contexts, by providing a "
5114 "pathname that is within the gang directory to further calls to "
5115 "B<spu_create>()."
5116 msgstr ""
5117 "I<pathname> 引き数で指定された場所に新しいディレクトリが作成される。 この "
5118 "gang を使って他の SPU コンテキストを保持することができる。 それには、それ以降"
5119 "の B<spu_create>() に gang ディレクトリ内のパス名を渡す。"
5120
5121 #. type: TP
5122 #: build/C/man2/spu_create.2:104
5123 #, no-wrap
5124 msgid "B<SPU_CREATE_NOSCHED>"
5125 msgstr "B<SPU_CREATE_NOSCHED>"
5126
5127 #. type: Plain text
5128 #: build/C/man2/spu_create.2:110
5129 msgid ""
5130 "Create a context that is not affected by the SPU scheduler.  Once the "
5131 "context is run, it will not be scheduled out until it is destroyed by the "
5132 "creating process."
5133 msgstr ""
5134 "SPU スケジューラーの影響を受けないコンテキストを作成する。 一度実行される"
5135 "と、 呼び出したプロセスが破棄されるまでこのコンテキストがスケジューリングで追"
5136 "い出されることはない。"
5137
5138 #. type: Plain text
5139 #: build/C/man2/spu_create.2:121
5140 msgid ""
5141 "Because the context cannot be removed from the SPU, some functionality is "
5142 "disabled for B<SPU_CREATE_NOSCHED> contexts.  Only a subset of the files "
5143 "will be available in this context directory in B<spufs>.  Additionally, "
5144 "B<SPU_CREATE_NOSCHED> contexts cannot dump a core file when crashing."
5145 msgstr ""
5146 "このコンテキストは SPU から削除されることはないので、 B<SPU_CREATE_NOSCHED> "
5147 "コンテキストではいくつかの機能は無効にされる。 B<spufs> のこのコンテキストの"
5148 "ディレクトリでは一部のファイルだけができる。 また、 B<SPU_CREATE_NOSCHED> コ"
5149 "ンテキストはクラッシュした際にコアファイルをダンプできない。"
5150
5151 #. type: Plain text
5152 #: build/C/man2/spu_create.2:127
5153 msgid ""
5154 "Creating B<SPU_CREATE_NOSCHED> contexts requires the B<CAP_SYS_NICE> "
5155 "capability."
5156 msgstr ""
5157 "B<SPU_CREATE_NOSCHED> コンテキストを作成するには B<CAP_SYS_NICE> ケーパビリ"
5158 "ティが必要である。"
5159
5160 #. type: TP
5161 #: build/C/man2/spu_create.2:127
5162 #, no-wrap
5163 msgid "B<SPU_CREATE_ISOLATE>"
5164 msgstr "B<SPU_CREATE_ISOLATE>"
5165
5166 #. type: Plain text
5167 #: build/C/man2/spu_create.2:134
5168 msgid ""
5169 "Create an isolated SPU context.  Isolated contexts are protected from some "
5170 "PPE (PowerPC Processing Element)  operations, such as access to the SPU "
5171 "local store and the NPC register."
5172 msgstr ""
5173 "隔離された SPU コンテキストを作成する。 隔離されたコンテキストはいくつかの "
5174 "PPE (PowerPC Processing Element) 命令から保護される。 SPU ローカルストアや "
5175 "NPC レジスターへのアクセスなどである。"
5176
5177 #. type: Plain text
5178 #: build/C/man2/spu_create.2:140
5179 msgid ""
5180 "Creating B<SPU_CREATE_ISOLATE> contexts also requires the "
5181 "B<SPU_CREATE_NOSCHED> flag."
5182 msgstr ""
5183 "B<SPU_CREATE_ISOLATE> コンテキストを作成するには B<SPU_CREATE_NOSCHED> フラグ"
5184 "も指定する必要がある。"
5185
5186 #. type: TP
5187 #: build/C/man2/spu_create.2:140
5188 #, no-wrap
5189 msgid "B<SPU_CREATE_AFFINITY_SPU>"
5190 msgstr "B<SPU_CREATE_AFFINITY_SPU>"
5191
5192 #. type: Plain text
5193 #: build/C/man2/spu_create.2:148
5194 msgid ""
5195 "Create a context with affinity to another SPU context.  This affinity "
5196 "information is used within the SPU scheduling algorithm.  Using this flag "
5197 "requires that a file descriptor referring to the other SPU context be passed "
5198 "in the I<neighbor_fd> argument."
5199 msgstr ""
5200 "別の SPU コンテキストと affinity (親和性) を持ったコンテキストを作成する。 こ"
5201 "の affinity 情報は SPU スケジューリングアルゴリズムで使用される。 このフラグ"
5202 "を使う際には、 他の SPU コンテキストを指すファイルディスクリプターを "
5203 "I<neighbor_fd> 引き数を渡す必要がある。"
5204
5205 #. type: TP
5206 #: build/C/man2/spu_create.2:148
5207 #, no-wrap
5208 msgid "B<SPU_CREATE_AFFINITY_MEM>"
5209 msgstr "B<SPU_CREATE_AFFINITY_MEM>"
5210
5211 #. type: Plain text
5212 #: build/C/man2/spu_create.2:153
5213 msgid ""
5214 "Create a context with affinity to system memory.  This affinity information "
5215 "is used within the SPU scheduling algorithm."
5216 msgstr ""
5217 "システムメモリーと affinity (親和性) を持ったコンテキストを作成する。 この "
5218 "affinity 情報は SPU スケジューリングアルゴリズムで使用される。"
5219
5220 #. type: Plain text
5221 #: build/C/man2/spu_create.2:165
5222 msgid ""
5223 "The I<mode> argument (minus any bits set in the process's B<umask>(2))  "
5224 "specifies the permissions used for creating the new directory in B<spufs>.  "
5225 "See B<stat>(2)  for a full list of the possible I<mode> values."
5226 msgstr ""
5227 "I<mode> 引き数 (からプロセスの B<umask>(2) でセットされたビットを除いたもの) "
5228 "により、 B<spufs> に作られる新しいディレクトリで使用されるアクセス許可が決ま"
5229 "る。 利用できる I<mode> 値の完全なリストについては B<stat>(2) を参照。"
5230
5231 #. type: Plain text
5232 #: build/C/man2/spu_create.2:172
5233 msgid ""
5234 "On success, B<spu_create>()  returns a new file descriptor.  On error, -1 is "
5235 "returned, and I<errno> is set to one of the error codes listed below."
5236 msgstr ""
5237 "成功すると、 B<spu_create>() は新しいファイルディスクリプターを返す。 エラー"
5238 "の場合、-1 を返し、 I<errno> に以下のリストに記載のエラーコードのいずれかを設"
5239 "定する。"
5240
5241 #. type: Plain text
5242 #: build/C/man2/spu_create.2:178
5243 msgid ""
5244 "The current user does not have write access to the B<spufs>(7)  mount point."
5245 msgstr ""
5246 "現在のユーザーが B<spufs>(7) のマウントポイントへの書き込み許可を持って\n"
5247 "いない。"
5248
5249 #. type: Plain text
5250 #: build/C/man2/spu_create.2:181
5251 msgid "An SPU context already exists at the given pathname."
5252 msgstr "指定されたパス名で SPU コンテキストがすでに生成されている。"
5253
5254 #. type: Plain text
5255 #: build/C/man2/spu_create.2:186
5256 msgid ""
5257 "I<pathname> is not a valid string pointer in the calling process's address "
5258 "space."
5259 msgstr ""
5260 "I<pathname> が呼び出し元のプロセスのアドレス空間で有効な文字列ポインターでは"
5261 "ない。"
5262
5263 #. type: Plain text
5264 #: build/C/man2/spu_create.2:192
5265 msgid ""
5266 "I<pathname> is not a directory in the B<spufs>(7)  mount point, or invalid "
5267 "flags have been provided."
5268 msgstr ""
5269 "I<pathname> が SPUFS マウントポイント内のディレクトリではない。 または、無効"
5270 "なフラグが指定された。"
5271
5272 #. type: Plain text
5273 #: build/C/man2/spu_create.2:196
5274 msgid "Too many symbolic links were found while resolving I<pathname>."
5275 msgstr "I<pathname> を解決するまでに辿ったシンボリックリンクが多過ぎた。"
5276
5277 #. type: Plain text
5278 #: build/C/man2/spu_create.2:199
5279 msgid "The process has reached its maximum open files limit."
5280 msgstr "そのプロセスがオープンできるファイル数の上限に達していた。"
5281
5282 #. type: Plain text
5283 #: build/C/man2/spu_create.2:203 build/C/man2/stat.2:544
5284 msgid "I<pathname> is too long."
5285 msgstr "I<pathname> が長過ぎる。"
5286
5287 #. type: TP
5288 #: build/C/man2/spu_create.2:203
5289 #, no-wrap
5290 msgid "B<ENFILE>"
5291 msgstr "B<ENFILE>"
5292
5293 #. type: Plain text
5294 #: build/C/man2/spu_create.2:206
5295 msgid "The system has reached the global open files limit."
5296 msgstr "システム全体でオープンできるファイル数の上限に達していた。"
5297
5298 #. type: Plain text
5299 #: build/C/man2/spu_create.2:210
5300 msgid ""
5301 "An isolated context was requested, but the hardware does not support SPU "
5302 "isolation."
5303 msgstr ""
5304 "隔離されたコンテキストが要求されたが、 ハードウェアが SPU アイソレーションを"
5305 "サポートしていない。"
5306
5307 #. type: Plain text
5308 #: build/C/man2/spu_create.2:215
5309 msgid "Part of I<pathname> could not be resolved."
5310 msgstr "I<pathname> の一部が解決できなかった。"
5311
5312 #. type: Plain text
5313 #: build/C/man2/spu_create.2:218
5314 msgid "The kernel could not allocate all resources required."
5315 msgstr "カーネルが必要なリソースの全てを割り当てることができなかった。"
5316
5317 #. type: Plain text
5318 #: build/C/man2/spu_create.2:223
5319 msgid ""
5320 "There are not enough SPU resources available to create a new context or the "
5321 "user-specific limit for the number of SPU contexts has been reached."
5322 msgstr ""
5323 "新しいコンテキストを生成するのに十分な SPU リソースがなかった、 または SPU コ"
5324 "ンテキスト数がそのユーザーの特定の上限に達していた。"
5325
5326 #. type: TP
5327 #: build/C/man2/spu_create.2:223 build/C/man2/spu_run.2:183
5328 #: build/C/man2/statfs.2:206 build/C/man3/statvfs.3:145
5329 #: build/C/man2/ustat.2:88
5330 #, no-wrap
5331 msgid "B<ENOSYS>"
5332 msgstr "B<ENOSYS>"
5333
5334 #. type: Plain text
5335 #: build/C/man2/spu_create.2:228 build/C/man2/spu_run.2:188
5336 msgid ""
5337 "The functionality is not provided by the current system, because either the "
5338 "hardware does not provide SPUs or the spufs module is not loaded."
5339 msgstr ""
5340 "機能が動作中のシステムで提供されていない。理由は、 ハードウェアで SPU が提供"
5341 "されていないか、 spufs モジュールがロードされていないか、のどちらかである。"
5342
5343 #. type: Plain text
5344 #: build/C/man2/spu_create.2:233
5345 msgid "A part of I<pathname> is not a directory."
5346 msgstr "I<pathname> の一部がディレクトリではない。"
5347
5348 #. type: Plain text
5349 #: build/C/man2/spu_create.2:240
5350 msgid ""
5351 "The I<SPU_CREATE_NOSCHED> flag has been given, but the user does not have "
5352 "the B<CAP_SYS_NICE> capability."
5353 msgstr ""
5354 "I<SPU_CREATE_NOSCHED> フラグが指定されたが、ユーザーが B<CAP_SYS_NICE> ケーパ"
5355 "ビリティを持っていない。"
5356
5357 #. type: Plain text
5358 #: build/C/man2/spu_create.2:246
5359 msgid ""
5360 "I<pathname> must point to a location beneath the mount point of B<spufs>.  "
5361 "By convention, it gets mounted in I</spu>."
5362 msgstr ""
5363 "I<pathname> は B<spufs> のマウントポイントの配下の場所を指して\n"
5364 "いなければならない。 慣例では I</spu> にマウントされる。"
5365
5366 #. type: Plain text
5367 #: build/C/man2/spu_create.2:250
5368 msgid "The B<spu_create>()  system call was added to Linux in kernel 2.6.16."
5369 msgstr ""
5370 "B<spu_create>() システムコールはカーネル 2.6.16 で Linux に追加された。"
5371
5372 #. type: Plain text
5373 #: build/C/man2/spu_create.2:254
5374 msgid ""
5375 "This call is Linux-specific and implemented only on the PowerPC "
5376 "architecture.  Programs using this system call are not portable."
5377 msgstr ""
5378 "このシステムコールは Linux 固有であり、 PowerPC アーキテクチャーでのみ実装さ"
5379 "れている。 このシステムコールを使ったプログラムは移植性がない。"
5380
5381 #. type: Plain text
5382 #: build/C/man2/spu_create.2:265
5383 msgid ""
5384 "Glibc does not provide a wrapper for this system call; call it using "
5385 "B<syscall>(2).  Note however, that B<spu_create>()  is meant to be used from "
5386 "libraries that implement a more abstract interface to SPUs, not to be used "
5387 "from regular applications.  See E<.UR http://www.bsc.es\\:/projects\\:/"
5388 "deepcomputing\\:/linuxoncell/> E<.UE> for the recommended libraries."
5389 msgstr ""
5390 "glibc はこのシステムコールに対するラッパー関数を提供していない。 "
5391 "B<syscall>(2)  を使うこと。ただし、 B<spu_create>()  は より抽象度の高い SPU "
5392 "へのインターフェースを実装するライブラリから 利用されることを意図したものであ"
5393 "り、通常のアプリケーションから 使用は意図されていない。推奨のライブラリについ"
5394 "ては E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> "
5395 "E<.UE> を参照のこと。"
5396
5397 #. type: Plain text
5398 #: build/C/man2/spu_create.2:270
5399 msgid "See B<spu_run>(2)  for an example of the use of B<spu_create>()"
5400 msgstr "B<spu_create>() の利用例については B<spu_run>(2) を参照。"
5401
5402 #. type: Plain text
5403 #: build/C/man2/spu_create.2:275
5404 msgid "B<close>(2), B<spu_run>(2), B<capabilities>(7), B<spufs>(7)"
5405 msgstr "B<close>(2), B<spu_run>(2), B<capabilities>(7), B<spufs>(7)"
5406
5407 #. type: TH
5408 #: build/C/man2/spu_run.2:26
5409 #, no-wrap
5410 msgid "SPU_RUN"
5411 msgstr "SPU_RUN"
5412
5413 #. type: Plain text
5414 #: build/C/man2/spu_run.2:29
5415 msgid "spu_run - execute an SPU context"
5416 msgstr "spu_run - SPU コンテキストを実行する"
5417
5418 #. type: Plain text
5419 #: build/C/man2/spu_run.2:32
5420 #, no-wrap
5421 msgid "B<#include E<lt>sys/spu.hE<gt>>\n"
5422 msgstr "B<#include E<lt>sys/spu.hE<gt>>\n"
5423
5424 #. type: Plain text
5425 #: build/C/man2/spu_run.2:35
5426 #, no-wrap
5427 msgid "B<int spu_run(int >I<fd>B<, unsigned int *>I<npc>B<, unsigned int *>I<event>B<);>\n"
5428 msgstr "B<int spu_run(int >I<fd>B<, unsigned int *>I<npc>B<, unsigned int *>I<event>B<);>\n"
5429
5430 #. type: Plain text
5431 #: build/C/man2/spu_run.2:53
5432 msgid ""
5433 "The B<spu_run>()  system call is used on PowerPC machines that implement the "
5434 "Cell Broadband Engine Architecture in order to access Synergistic Processor "
5435 "Units (SPUs).  The I<fd> argument is a file descriptor returned by "
5436 "B<spu_create>(2)  that refers to a specific SPU context.  When the context "
5437 "gets scheduled to a physical SPU, it starts execution at the instruction "
5438 "pointer passed in I<npc>."
5439 msgstr ""
5440 "B<spu_run>()  システムコールは、Cell Broadband Engine アーキテクチャを実装し"
5441 "た PowerPC マシンで Synergistic Processor Units (SPU) にアクセスするために 使"
5442 "用される。 I<fd> 引き数は、 B<spu_create>(2)  が返すファイルディスクリプタ"
5443 "で、 特定の SPU コンテキストを参照する。 そのコンテキストが物理 SPU に割り当"
5444 "てられると、 I<npc> で渡された命令ポインタ (instruction pointer) から実行が開"
5445 "始される。"
5446
5447 #. type: Plain text
5448 #: build/C/man2/spu_run.2:62
5449 msgid ""
5450 "Execution of SPU code happens synchronously, meaning that B<spu_run>()  "
5451 "blocks while the SPU is still running.  If there is a need to execute SPU "
5452 "code in parallel with other code on either the main CPU or other SPUs, a new "
5453 "thread of execution must be created first (e.g., using B<pthread_create>(3))."
5454 msgstr ""
5455 "SPU コードの実行は同期的 (synchronously) に行われる、つまり SPU が実行中は "
5456 "B<spu_run>()  は停止 (block) する。 SPU コードの実行をメイン CPU や他の SPU "
5457 "と並行して行う必要がある場合は、 最初に、その SPU コードを実行する新しいス"
5458 "レッドを、(例えば B<pthread_create>(3)  などを使って) 生成しなければならな"
5459 "い。"
5460
5461 #. type: Plain text
5462 #: build/C/man2/spu_run.2:72
5463 msgid ""
5464 "When B<spu_run>()  returns, the current value of the SPU program counter is "
5465 "written to I<npc>, so successive calls to B<spu_run>()  can use the same "
5466 "I<npc> pointer."
5467 msgstr ""
5468 "B<spu_run>()  が返るときには、SPU のプログラムカウンタの現在値が I<npc> に書"
5469 "き込まれる。 これにより、連続する B<spu_run>()  の呼び出しで同じ I<npc> ポイ"
5470 "ンタを使うことができる。"
5471
5472 #. type: Plain text
5473 #: build/C/man2/spu_run.2:82
5474 msgid ""
5475 "The I<event> argument provides a buffer for an extended status code.  If the "
5476 "SPU context was created with the B<SPU_CREATE_EVENTS_ENABLED> flag, then "
5477 "this buffer is populated by the Linux kernel before B<spu_run>()  returns."
5478 msgstr ""
5479 "I<event> 引き数には、拡張ステータスコード用のバッファを指定する。 "
5480 "B<SPU_CREATE_EVENTS_ENABLED> フラグ付きで SPU コンテキストが作成されると、 "
5481 "B<spu_run>()  が返る前に Linux カーネルによりこのバッファに 拡張ステータス"
5482 "コードが格納される。"
5483
5484 #. type: Plain text
5485 #: build/C/man2/spu_run.2:84
5486 msgid "The status code may be one (or more) of the following constants:"
5487 msgstr "ステータスコードには以下の定数が一つ以上入る。"
5488
5489 #. type: TP
5490 #: build/C/man2/spu_run.2:84
5491 #, no-wrap
5492 msgid "B<SPE_EVENT_DMA_ALIGNMENT>"
5493 msgstr "B<SPE_EVENT_DMA_ALIGNMENT>"
5494
5495 #. type: Plain text
5496 #: build/C/man2/spu_run.2:87
5497 msgid "A DMA alignment error occurred."
5498 msgstr "DMA (direct memory access) のアライメント・エラーが発生した。"
5499
5500 #. type: TP
5501 #: build/C/man2/spu_run.2:87
5502 #, no-wrap
5503 msgid "B<SPE_EVENT_INVALID_DMA>"
5504 msgstr "B<SPE_EVENT_INVALID_DMA>"
5505
5506 #. type: Plain text
5507 #: build/C/man2/spu_run.2:90
5508 msgid "An invalid MFC DMA command was attempted."
5509 msgstr "無効な MFC (Memory Flow Controller) DMA コマンドを行おうとした。"
5510
5511 #. type: TP
5512 #: build/C/man2/spu_run.2:90
5513 #, no-wrap
5514 msgid "B<SPE_EVENT_SPE_DATA_STORAGE>"
5515 msgstr "B<SPE_EVENT_SPE_DATA_STORAGE>"
5516
5517 #. type: Plain text
5518 #: build/C/man2/spu_run.2:93
5519 msgid "A DMA storage error occurred."
5520 msgstr "DMA ストレージ・エラーが発生した。"
5521
5522 #. type: TP
5523 #: build/C/man2/spu_run.2:93
5524 #, no-wrap
5525 msgid "B<SPE_EVENT_SPE_ERROR>"
5526 msgstr "B<SPE_EVENT_SPE_ERROR>"
5527
5528 #. type: Plain text
5529 #: build/C/man2/spu_run.2:96
5530 msgid "An illegal instruction was executed."
5531 msgstr "不正な命令が実行された。"
5532
5533 #. type: Plain text
5534 #: build/C/man2/spu_run.2:102
5535 msgid ""
5536 "NULL is a valid value for the I<event> argument.  In this case, the events "
5537 "will not be reported to the calling process."
5538 msgstr ""
5539 "NULL は I<event> 引き数として有効な値である。 この場合、イベントは呼び出し元"
5540 "のプロセスに報告されない。"
5541
5542 #. type: Plain text
5543 #: build/C/man2/spu_run.2:111
5544 msgid ""
5545 "On success, B<spu_run>()  returns the value of the I<spu_status> register.  "
5546 "On error, it returns -1 and sets I<errno> to one of the error codes listed "
5547 "below."
5548 msgstr ""
5549 "成功すると、 B<spu_run>()  は I<spu_status> レジスタの値を返す。 エラーの場"
5550 "合、-1 を返し、 I<errno> を下記のエラーコードのいずれかに設定する。"
5551
5552 #. type: Plain text
5553 #: build/C/man2/spu_run.2:120
5554 msgid ""
5555 "The I<spu_status> register value is a bit mask of status codes and "
5556 "optionally a 14-bit code returned from the B<stop-and-signal> instruction on "
5557 "the SPU.  The bit masks for the status codes are:"
5558 msgstr ""
5559 "I<spu_status> レジスタの値は、ステータスコードと SPU の B<stop-and-signal> 命"
5560 "令が返す 14 ビットのコードの ビットマスクで構成される。 後者の 14 ビットの"
5561 "コードはオプションである。 ステータスコードのビットマスクは下記の通りである。"
5562
5563 #. type: TP
5564 #: build/C/man2/spu_run.2:120
5565 #, no-wrap
5566 msgid "B<0x02>"
5567 msgstr "B<0x02>"
5568
5569 #. type: Plain text
5570 #: build/C/man2/spu_run.2:125
5571 msgid "SPU was stopped by a B<stop-and-signal> instruction."
5572 msgstr "SPU が B<stop-and-signal> 命令で停止した。"
5573
5574 #. type: TP
5575 #: build/C/man2/spu_run.2:125
5576 #, no-wrap
5577 msgid "B<0x04>"
5578 msgstr "B<0x04>"
5579
5580 #. type: Plain text
5581 #: build/C/man2/spu_run.2:130
5582 msgid "SPU was stopped by a B<halt> instruction."
5583 msgstr "SPU が B<halt (停止)> 命令で止まった。"
5584
5585 #. type: TP
5586 #: build/C/man2/spu_run.2:130
5587 #, no-wrap
5588 msgid "B<0x08>"
5589 msgstr "B<0x08>"
5590
5591 #. type: Plain text
5592 #: build/C/man2/spu_run.2:133
5593 msgid "SPU is waiting for a channel."
5594 msgstr "SPU はチャンネルのウェイト中である。"
5595
5596 #. type: TP
5597 #: build/C/man2/spu_run.2:133
5598 #, no-wrap
5599 msgid "B<0x10>"
5600 msgstr "B<0x10>"
5601
5602 #. type: Plain text
5603 #: build/C/man2/spu_run.2:136
5604 msgid "SPU is in single-step mode."
5605 msgstr "SPU はシングルステップモードであった。"
5606
5607 #. type: TP
5608 #: build/C/man2/spu_run.2:136
5609 #, no-wrap
5610 msgid "B<0x20>"
5611 msgstr "B<0x20>"
5612
5613 #. type: Plain text
5614 #: build/C/man2/spu_run.2:139
5615 msgid "SPU has tried to execute an invalid instruction."
5616 msgstr "SPU が不正な命令を実行しようとした。"
5617
5618 #. type: TP
5619 #: build/C/man2/spu_run.2:139
5620 #, no-wrap
5621 msgid "B<0x40>"
5622 msgstr "B<0x40>"
5623
5624 #. type: Plain text
5625 #: build/C/man2/spu_run.2:142
5626 msgid "SPU has tried to access an invalid channel."
5627 msgstr "SPU が不正なチャンネルにアクセスしようとした。"
5628
5629 #. type: TP
5630 #: build/C/man2/spu_run.2:142
5631 #, no-wrap
5632 msgid "B<0x3fff0000>"
5633 msgstr "B<0x3fff0000>"
5634
5635 #. type: Plain text
5636 #: build/C/man2/spu_run.2:148
5637 msgid ""
5638 "The bits masked with this value contain the code returned from a B<stop-and-"
5639 "signal> instruction.  These bits are valid only if the 0x02 bit is set."
5640 msgstr ""
5641 "この値のマスクを適用して得られたビット値には、 stop-and-signal 命令から返され"
5642 "たコードが入っている。 これらのビットは 0x02 ビットがセットされている場合にの"
5643 "み有効である。"
5644
5645 #. type: Plain text
5646 #: build/C/man2/spu_run.2:153
5647 msgid ""
5648 "If B<spu_run>()  has not returned an error, one or more bits among the lower "
5649 "eight ones are always set."
5650 msgstr ""
5651 "B<spu_run>()  がエラーを返さなかった場合、下位 8 ビットのうち 1 つ以上は 常に"
5652 "セットされる。"
5653
5654 #. type: TP
5655 #: build/C/man2/spu_run.2:154 build/C/man2/stat.2:530 build/C/man2/stat.2:581
5656 #: build/C/man2/statfs.2:170 build/C/man3/statvfs.3:109
5657 #, no-wrap
5658 msgid "B<EBADF>"
5659 msgstr "B<EBADF>"
5660
5661 #. type: Plain text
5662 #: build/C/man2/spu_run.2:158
5663 msgid "I<fd> is not a valid file descriptor."
5664 msgstr "I<fd> が有効なファイルディスクリプタでない。"
5665
5666 #. type: Plain text
5667 #: build/C/man2/spu_run.2:164
5668 msgid ""
5669 "I<npc> is not a valid pointer, or I<event> is non-NULL and an invalid "
5670 "pointer."
5671 msgstr ""
5672 "I<npc> が有効なポインタでない。または I<event> が NULL 以外で、しかも無効なポ"
5673 "インタである。"
5674
5675 #. type: TP
5676 #: build/C/man2/spu_run.2:164 build/C/man2/statfs.2:181
5677 #: build/C/man3/statvfs.3:120
5678 #, no-wrap
5679 msgid "B<EINTR>"
5680 msgstr "B<EINTR>"
5681
5682 #. type: Plain text
5683 #: build/C/man2/spu_run.2:174
5684 msgid ""
5685 "A signal occurred while B<spu_run>()  was in progress; see B<signal>(7).  "
5686 "The I<npc> value has been updated to the new program counter value if "
5687 "necessary."
5688 msgstr ""
5689 "B<spu_run>()  の実行中にシグナルが発生した。 B<signal>(7)  参照。 必要であれ"
5690 "ば、 I<npc> の値は新しいプログラムカウンタの値に更新される。"
5691
5692 #. type: Plain text
5693 #: build/C/man2/spu_run.2:179
5694 msgid "I<fd> is not a valid file descriptor returned from B<spu_create>(2)."
5695 msgstr ""
5696 "I<fd> が B<spu_create>(2)  が返した有効なファイルディスクリプタでない。"
5697
5698 #. type: Plain text
5699 #: build/C/man2/spu_run.2:183
5700 msgid ""
5701 "There was not enough memory available to handle a page fault resulting from "
5702 "a Memory Flow Controller (MFC) direct memory access."
5703 msgstr ""
5704 "Memory Flow Controller (MFC) DMA により発生したページフォールトを 処理するの"
5705 "に必要なメモリがなかった。"
5706
5707 #. type: Plain text
5708 #: build/C/man2/spu_run.2:192
5709 msgid "The B<spu_run>()  system call was added to Linux in kernel 2.6.16."
5710 msgstr "B<spu_run>()  システムコールはカーネル 2.6.16 で Linux に追加された。"
5711
5712 #. type: Plain text
5713 #: build/C/man2/spu_run.2:196
5714 msgid ""
5715 "This call is Linux-specific and implemented only by the PowerPC "
5716 "architecture.  Programs using this system call are not portable."
5717 msgstr ""
5718 "このシステムコールは Linux 固有であり、 PowerPC アーキテクチャでのみ実装され"
5719 "ている。 このシステムコールを使ったプログラムは移植性がない。"
5720
5721 #. type: Plain text
5722 #: build/C/man2/spu_run.2:207
5723 msgid ""
5724 "Glibc does not provide a wrapper for this system call; call it using "
5725 "B<syscall>(2).  Note however, that B<spu_run>()  is meant to be used from "
5726 "libraries that implement a more abstract interface to SPUs, not to be used "
5727 "from regular applications.  See E<.UR http://www.bsc.es\\:/projects\\:/"
5728 "deepcomputing\\:/linuxoncell/> E<.UE> for the recommended libraries."
5729 msgstr ""
5730 "glibc はこのシステムコールに対するラッパー関数を提供していない。 "
5731 "B<syscall>(2)  を使うこと。ただし、 B<spu_run>()  は より抽象度の高い SPU へ"
5732 "のインタフェースを実装するライブラリから 利用されることを意図したものであり、"
5733 "通常のアプリケーションから 使用は意図されていない。推奨のライブラリについて"
5734 "は E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<."
5735 "UE> を参照のこと。"
5736
5737 #. type: Plain text
5738 #: build/C/man2/spu_run.2:212
5739 msgid ""
5740 "The following is an example of running a simple, one-instruction SPU program "
5741 "with the B<spu_run>()  system call."
5742 msgstr ""
5743 "以下は、簡単な 1 命令の SPU プログラムを B<spu_run>()  システムコールを使って"
5744 "実行させる例である。"
5745
5746 #. type: Plain text
5747 #: build/C/man2/spu_run.2:220
5748 #, no-wrap
5749 msgid ""
5750 "#include E<lt>stdlib.hE<gt>\n"
5751 "#include E<lt>stdint.hE<gt>\n"
5752 "#include E<lt>unistd.hE<gt>\n"
5753 "#include E<lt>stdio.hE<gt>\n"
5754 "#include E<lt>sys/types.hE<gt>\n"
5755 "#include E<lt>fcntl.hE<gt>\n"
5756 msgstr ""
5757 "#include E<lt>stdlib.hE<gt>\n"
5758 "#include E<lt>stdint.hE<gt>\n"
5759 "#include E<lt>unistd.hE<gt>\n"
5760 "#include E<lt>stdio.hE<gt>\n"
5761 "#include E<lt>sys/types.hE<gt>\n"
5762 "#include E<lt>fcntl.hE<gt>\n"
5763
5764 #. type: Plain text
5765 #: build/C/man2/spu_run.2:223
5766 #, no-wrap
5767 msgid ""
5768 "#define handle_error(msg) \\e\n"
5769 "    do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
5770 msgstr ""
5771 "#define handle_error(msg) \\e\n"
5772 "    do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
5773
5774 #. type: Plain text
5775 #: build/C/man2/spu_run.2:228
5776 #, no-wrap
5777 msgid ""
5778 "int main(void)\n"
5779 "{\n"
5780 "    int context, fd, spu_status;\n"
5781 "    uint32_t instruction, npc;\n"
5782 msgstr ""
5783 "int main(void)\n"
5784 "{\n"
5785 "    int context, fd, spu_status;\n"
5786 "    uint32_t instruction, npc;\n"
5787
5788 #. type: Plain text
5789 #: build/C/man2/spu_run.2:232
5790 #, no-wrap
5791 msgid ""
5792 "    context = spu_create(\"/spu/example-context\", 0, 0755);\n"
5793 "    if (context == -1)\n"
5794 "        handle_error(\"spu_create\");\n"
5795 msgstr ""
5796 "    context = spu_create(\"/spu/example-context\", 0, 0755);\n"
5797 "    if (context == -1)\n"
5798 "        handle_error(\"spu_create\");\n"
5799
5800 #. type: Plain text
5801 #: build/C/man2/spu_run.2:237
5802 #, no-wrap
5803 msgid ""
5804 "    /* write a \\(aqstop 0x1234\\(aq instruction to the SPU\\(aqs\n"
5805 "     * local store memory\n"
5806 "     */\n"
5807 "    instruction = 0x00001234;\n"
5808 msgstr ""
5809 "    /* write a \\(aqstop 0x1234\\(aq instruction to the SPU\\(aqs\n"
5810 "     * local store memory\n"
5811 "     */\n"
5812 "    instruction = 0x00001234;\n"
5813
5814 #. type: Plain text
5815 #: build/C/man2/spu_run.2:242
5816 #, no-wrap
5817 msgid ""
5818 "    fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
5819 "    if (fd == -1)\n"
5820 "        handle_error(\"open\");\n"
5821 "    write(fd, &instruction, sizeof(instruction));\n"
5822 msgstr ""
5823 "    fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
5824 "    if (fd == -1)\n"
5825 "        handle_error(\"open\");\n"
5826 "    write(fd, &instruction, sizeof(instruction));\n"
5827
5828 #. type: Plain text
5829 #: build/C/man2/spu_run.2:248
5830 #, no-wrap
5831 msgid ""
5832 "    /* set npc to the starting instruction address of the\n"
5833 "     * SPU program. Since we wrote the instruction at the\n"
5834 "     * start of the mem file, the entry point will be 0x0\n"
5835 "     */\n"
5836 "    npc = 0;\n"
5837 msgstr ""
5838 "    /* set npc to the starting instruction address of the\n"
5839 "     * SPU program. Since we wrote the instruction at the\n"
5840 "     * start of the mem file, the entry point will be 0x0\n"
5841 "     */\n"
5842 "    npc = 0;\n"
5843
5844 #. type: Plain text
5845 #: build/C/man2/spu_run.2:252
5846 #, no-wrap
5847 msgid ""
5848 "    spu_status = spu_run(context, &npc, NULL);\n"
5849 "    if (spu_status == -1)\n"
5850 "        handle_error(\"open\");\n"
5851 msgstr ""
5852 "    spu_status = spu_run(context, &npc, NULL);\n"
5853 "    if (spu_status == -1)\n"
5854 "        handle_error(\"open\");\n"
5855
5856 #. type: Plain text
5857 #: build/C/man2/spu_run.2:258
5858 #, no-wrap
5859 msgid ""
5860 "    /* we should see a status code of 0x1234002:\n"
5861 "     *   0x00000002 (spu was stopped due to stop-and-signal)\n"
5862 "     * | 0x12340000 (the stop-and-signal code)\n"
5863 "     */\n"
5864 "    printf(\"SPU Status: 0x%08x\\en\", spu_status);\n"
5865 msgstr ""
5866 "    /* we should see a status code of 0x1234002:\n"
5867 "     *   0x00000002 (spu was stopped due to stop-and-signal)\n"
5868 "     * | 0x12340000 (the stop-and-signal code)\n"
5869 "     */\n"
5870 "    printf(\"SPU Status: 0x%08x\\en\", spu_status);\n"
5871
5872 #. type: Plain text
5873 #: build/C/man2/spu_run.2:261 build/C/man2/stat.2:919
5874 #, no-wrap
5875 msgid ""
5876 "    exit(EXIT_SUCCESS);\n"
5877 "}\n"
5878 msgstr ""
5879 "    exit(EXIT_SUCCESS);\n"
5880 "}\n"
5881
5882 #. type: Plain text
5883 #: build/C/man2/spu_run.2:269
5884 msgid "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)"
5885 msgstr "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)"
5886
5887 #. type: TH
5888 #: build/C/man7/spufs.7:27
5889 #, no-wrap
5890 msgid "SPUFS"
5891 msgstr "SPUFS"
5892
5893 #. type: TH
5894 #: build/C/man7/spufs.7:27
5895 #, no-wrap
5896 msgid "2007-12-20"
5897 msgstr "2007-12-20"
5898
5899 #. type: Plain text
5900 #: build/C/man7/spufs.7:30
5901 msgid "spufs - SPU filesystem"
5902 msgstr "spufs - SPU ファイルシステム"
5903
5904 #. type: Plain text
5905 #: build/C/man7/spufs.7:34
5906 msgid ""
5907 "The SPU filesystem is used on PowerPC machines that implement the Cell "
5908 "Broadband Engine Architecture in order to access Synergistic Processor Units "
5909 "(SPUs)."
5910 msgstr ""
5911 "SPU ファイルシステムは、Cell Broadband Engine アーキテクチャを実装した "
5912 "PowerPC マシンにおいて、Synergistic Processor Unit (SPU) にアクセスする ため"
5913 "に使用される。"
5914
5915 #. type: Plain text
5916 #: build/C/man7/spufs.7:43
5917 msgid ""
5918 "The filesystem provides a name space similar to POSIX shared memory or "
5919 "message queues.  Users that have write permissions on the filesystem can use "
5920 "B<spu_create>(2)  to establish SPU contexts under the B<spufs> root "
5921 "directory."
5922 msgstr ""
5923 "このファイルシステムでは、POSIX 共有メモリやメッセージキューに似た名前\n"
5924 "空間が提供される。 ファイルシステムに書き込み許可を持つユーザは\n"
5925 "B<spu_create>(2) を使って B<spufs> のルートディレクトリに SPU コンテキ\n"
5926 "ストを作成できる。"
5927
5928 #. type: Plain text
5929 #: build/C/man7/spufs.7:50
5930 msgid ""
5931 "Every SPU context is represented by a directory containing a predefined set "
5932 "of files.  These files can be used for manipulating the state of the logical "
5933 "SPU.  Users can change permissions on the files, but can't add or remove "
5934 "files."
5935 msgstr ""
5936 "各 SPU コンテキストは、あらかじめ定義されたファイル群を含むディレクトリ\n"
5937 "として表現される。 これらのファイルを使って、論理 SPU の状態を操作でき\n"
5938 "る。ユーザはこれらのファイルのアクセス許可を変更することはできるが、\n"
5939 "ファイルの追加・削除を行うことはできない。"
5940
5941 #. type: SS
5942 #: build/C/man7/spufs.7:50
5943 #, no-wrap
5944 msgid "Mount options"
5945 msgstr "マウントオプション"
5946
5947 #. type: TP
5948 #: build/C/man7/spufs.7:51
5949 #, no-wrap
5950 msgid "B<uid=E<lt>uidE<gt>>"
5951 msgstr "B<uid=E<lt>uidE<gt>>"
5952
5953 #. type: Plain text
5954 #: build/C/man7/spufs.7:54
5955 msgid "Set the user owning the mount point; the default is 0 (root)."
5956 msgstr ""
5957 "マウントポイントを所有するユーザを設定する。 デフォルトは 0 (root) である。"
5958
5959 #. type: TP
5960 #: build/C/man7/spufs.7:54
5961 #, no-wrap
5962 msgid "B<gid=E<lt>gidE<gt>>"
5963 msgstr "B<gid=E<lt>gidE<gt>>"
5964
5965 #. type: Plain text
5966 #: build/C/man7/spufs.7:57
5967 msgid "Set the group owning the mount point; the default is 0 (root)."
5968 msgstr ""
5969 "マウントポイントを所有するグループを設定する。 デフォルトは 0 (root) である。"
5970
5971 #. type: TP
5972 #: build/C/man7/spufs.7:57
5973 #, no-wrap
5974 msgid "B<mode=E<lt>modeE<gt>>"
5975 msgstr "B<mode=E<lt>modeE<gt>>"
5976
5977 #. type: Plain text
5978 #: build/C/man7/spufs.7:63
5979 msgid ""
5980 "Set the mode of the top-level directory in B<spufs>, as an octal mode "
5981 "string.  The default is 0775."
5982 msgstr ""
5983
5984 #. type: SS
5985 #: build/C/man7/spufs.7:63
5986 #, no-wrap
5987 msgid "Files"
5988 msgstr "Files"
5989
5990 #. type: Plain text
5991 #: build/C/man7/spufs.7:75
5992 msgid ""
5993 "The files in B<spufs> mostly follow the standard behavior for regular system "
5994 "calls like B<read>(2)  or B<write>(2), but often support only a subset of "
5995 "the operations supported on regular filesystems.  This list details the "
5996 "supported operations and the deviations from the standard behavior described "
5997 "in the respective man pages."
5998 msgstr ""
5999 "B<spufs> のファイルは、ほとんどの場合 B<read>(2) や B<write>(2) と\n"
6000 "いった通常のシステムコールに対する標準的な振る舞いを示すが、多くの場合\n"
6001 "通常のファイルシステムでサポートされている操作の一部分だけがサポート\n"
6002 "されている。以下のリストでは、サポートされている操作とそれぞれのマニュ\n"
6003 "アルページに書かれている標準的な振る舞いとの違いについて説明する。"
6004
6005 #. type: Plain text
6006 #: build/C/man7/spufs.7:97
6007 msgid ""
6008 "All files that support the B<read>(2)  operation also support B<readv>(2)  "
6009 "and all files that support the B<write>(2)  operation also support "
6010 "B<writev>(2).  All files support the B<access>(2)  and B<stat>(2)  family of "
6011 "operations, but for the latter call, the only fields of the returned I<stat> "
6012 "structure that contain reliable information are I<st_mode>, I<st_nlink>, "
6013 "I<st_uid>, and I<st_gid>."
6014 msgstr ""
6015 "B<read>(2) 操作をサポートしている全てのファイルは B<readv>(2) を\n"
6016 "サポートしており、B<write>(2) 操作をサポートしている全てのファイルは\n"
6017 "B<writev>(2) をサポートしている。\n"
6018 "全てのファイルは、 B<access>(2) と B<stat>(2) 系の操作に対応しているが、\n"
6019 "B<stat>(2) では、呼び出した際に返される I<stat> 構造体のフィールドのう\n"
6020 "ち信頼できる情報が入っているのは I<st_mode>, I<st_nlink>, I<st_uid>,\n"
6021 "I<st_gid> だけである。"
6022
6023 #. type: Plain text
6024 #: build/C/man7/spufs.7:106
6025 msgid ""
6026 "All files support the B<chmod>(2)/B<fchmod>(2)  and B<chown>(2)/"
6027 "B<fchown>(2)  operations, but will not be able to grant permissions that "
6028 "contradict the possible operations (e.g., read access on the I<wbox> file)."
6029 msgstr ""
6030 "全てのファイルは B<chmod>(2)/B<fchmod>(2)  と B<chown>(2)/B<fchown>(2)  の操"
6031 "作に対応しているが、 そのファイルが対応している操作と矛盾するアクセス許可を "
6032 "付与することはできない (例えば、 I<wbox> ファイルに対する読み出しアクセスな"
6033 "ど)。"
6034
6035 #. type: Plain text
6036 #: build/C/man7/spufs.7:108
6037 msgid "The current set of files is:"
6038 msgstr "現時点でのファイルは以下の通りである。"
6039
6040 #. type: TP
6041 #: build/C/man7/spufs.7:108
6042 #, no-wrap
6043 msgid "I</capabilities>"
6044 msgstr "I</capabilities>"
6045
6046 #. type: Plain text
6047 #: build/C/man7/spufs.7:113
6048 msgid ""
6049 "Contains a comma-delimited string representing the capabilities of this SPU "
6050 "context.  Possible capabilities are:"
6051 msgstr ""
6052
6053 #. type: TP
6054 #: build/C/man7/spufs.7:114
6055 #, no-wrap
6056 msgid "B<sched>"
6057 msgstr "B<sched>"
6058
6059 #. type: Plain text
6060 #: build/C/man7/spufs.7:117
6061 msgid "This context may be scheduled."
6062 msgstr ""
6063
6064 #. type: TP
6065 #: build/C/man7/spufs.7:117
6066 #, no-wrap
6067 msgid "B<step>"
6068 msgstr "B<step>"
6069
6070 #. type: Plain text
6071 #: build/C/man7/spufs.7:120
6072 msgid "This context can be run in single-step mode, for debugging."
6073 msgstr ""
6074
6075 #. type: Plain text
6076 #: build/C/man7/spufs.7:122
6077 msgid "New capabilities flags may be added in the future."
6078 msgstr ""
6079
6080 #. type: TP
6081 #: build/C/man7/spufs.7:123
6082 #, no-wrap
6083 msgid "I</mem>"
6084 msgstr "I</mem>"
6085
6086 #. type: Plain text
6087 #: build/C/man7/spufs.7:132
6088 msgid ""
6089 "the contents of the local storage memory of the SPU.  This can be accessed "
6090 "like a regular shared memory file and contains both code and data in the "
6091 "address space of the SPU.  The possible operations on an open I<mem> file "
6092 "are:"
6093 msgstr ""
6094 "SPU のローカルストレージの内容。 このファイルは通常の共有メモリファイルと同様"
6095 "にアクセスでき、 SPU のアドレス空間にはコードとデータの両方を格納できる。 "
6096 "オープンされた I<mem> ファイルに可能な操作は以下である。"
6097
6098 #. type: TP
6099 #: build/C/man7/spufs.7:133
6100 #, no-wrap
6101 msgid "B<read>(2), B<pread>(2), B<write>(2), B<pwrite>(2), B<lseek>(2)"
6102 msgstr "B<read>(2), B<pread>(2), B<write>(2), B<pwrite>(2), B<lseek>(2)"
6103
6104 #. type: Plain text
6105 #: build/C/man7/spufs.7:144
6106 msgid ""
6107 "These operate as usual, with the exception that B<lseek>(2), B<write>(2), "
6108 "and B<pwrite>(2)  are not supported beyond the end of the file.  The file "
6109 "size is the size of the local storage of the SPU, which is normally 256 "
6110 "kilobytes."
6111 msgstr ""
6112 "これらは通常通り動作するが、 ファイル末尾を越えての B<lseek>(2), "
6113 "B<write>(2), B<pwrite>(2)  に対応していない点だけが異なる。 ファイルサイズは "
6114 "SPU のローカルストレージのサイズであり、 通常は 256 キロバイトである。"
6115
6116 #. type: TP
6117 #: build/C/man7/spufs.7:144 build/C/man7/spufs.7:706 build/C/man7/spufs.7:725
6118 #, no-wrap
6119 msgid "B<mmap>(2)"
6120 msgstr "B<mmap>(2)"
6121
6122 #. type: Plain text
6123 #: build/C/man7/spufs.7:153
6124 msgid ""
6125 "Mapping I<mem> into the process address space provides access to the SPU "
6126 "local storage within the process address space.  Only B<MAP_SHARED> mappings "
6127 "are allowed."
6128 msgstr ""
6129 "I<mem> をプロセスのアドレス空間にマッピングすると、プロセスのアドレス\n"
6130 "空間の一部として SPU のローカル・ストレージにアクセスできるようになる。\n"
6131 "許可されているマッピングは B<MAP_SHARED> だけである。"
6132
6133 #. type: TP
6134 #: build/C/man7/spufs.7:154
6135 #, no-wrap
6136 msgid "I</regs>"
6137 msgstr "I</regs>"
6138
6139 #. type: Plain text
6140 #: build/C/man7/spufs.7:161
6141 msgid ""
6142 "Contains the saved general-purpose registers of the SPU context.  This file "
6143 "contains the 128-bit values of each register, from register 0 to register "
6144 "127, in order.  This allows the general-purpose registers to be inspected "
6145 "for debugging."
6146 msgstr ""
6147
6148 #. type: Plain text
6149 #: build/C/man7/spufs.7:165
6150 msgid ""
6151 "Reading to or writing from this file requires that the context is scheduled "
6152 "out, so use of this file is not recommended in normal program operation."
6153 msgstr ""
6154
6155 #. type: Plain text
6156 #: build/C/man7/spufs.7:171
6157 msgid ""
6158 "The I<regs> file is not present on contexts that have been created with the "
6159 "B<SPU_CREATE_NOSCHED> flag."
6160 msgstr ""
6161
6162 #. type: TP
6163 #: build/C/man7/spufs.7:171
6164 #, no-wrap
6165 msgid "I</mbox>"
6166 msgstr "I</mbox>"
6167
6168 #. type: Plain text
6169 #: build/C/man7/spufs.7:181
6170 msgid ""
6171 "The first SPU-to-CPU communication mailbox.  This file is read-only and can "
6172 "be read in units of 4 bytes.  The file can be used only in nonblocking mode "
6173 "- even B<poll>(2)  cannot be used to block on this file.  The only possible "
6174 "operation on an open I<mbox> file is:"
6175 msgstr ""
6176 "SPU から CPU への通信用の 1 つ目のメールボックス。このファイルは読み出\n"
6177 "し専用で、読み出しは 4 バイト単位で行う。このファイルは非停止\n"
6178 "(non-blocking) モードでのみ使用でき、 B<poll>(2) であってもこの\n"
6179 "ファイルで停止 (block) することはできない。オープンされた I<mbox> \n"
6180 "ファイルに可能な操作は以下である。"
6181
6182 #. type: TP
6183 #: build/C/man7/spufs.7:182 build/C/man7/spufs.7:222 build/C/man7/spufs.7:317
6184 #: build/C/man7/spufs.7:381 build/C/man7/spufs.7:418 build/C/man7/spufs.7:463
6185 #: build/C/man7/spufs.7:517 build/C/man7/spufs.7:632 build/C/man7/spufs.7:676
6186 #: build/C/man7/spufs.7:754
6187 #, no-wrap
6188 msgid "B<read>(2)"
6189 msgstr "B<read>(2)"
6190
6191 #. type: Plain text
6192 #: build/C/man7/spufs.7:200
6193 msgid ""
6194 "If I<count> is smaller than four, B<read>(2)  returns -1 and sets I<errno> "
6195 "to B<EINVAL>.  If there is no data available in the mailbox (i.e., the SPU "
6196 "has not sent a mailbox message), the return value is set to -1 and I<errno> "
6197 "is set to B<EAGAIN>.  When data has been read successfully, four bytes are "
6198 "placed in the data buffer and the value four is returned."
6199 msgstr ""
6200 "I<count> が 4 より小さい場合、 B<read>(2) は -1 を返し、 I<errno> を\n"
6201 "B<EINVAL> に設定する。 メールボックスにデータがない場合 (すなわち SPU\n"
6202 "がメールボックスメッセージを送信していない場合)、-1 が返り、 I<errno>\n"
6203 "が B<EAGAIN> に設定される。データの読み出しに成功した場合、 4 バイトが\n"
6204 "データバッファに格納され、返り値として 4 が返される。"
6205
6206 #. type: TP
6207 #: build/C/man7/spufs.7:201
6208 #, no-wrap
6209 msgid "I</ibox>"
6210 msgstr "I</ibox>"
6211
6212 #. type: Plain text
6213 #: build/C/man7/spufs.7:217
6214 msgid ""
6215 "The second SPU-to-CPU communication mailbox.  This file is similar to the "
6216 "first mailbox file, but can be read in blocking I/O mode, thus calling "
6217 "B<read>(2)  on an open I<ibox> file will block until the SPU has written "
6218 "data to its interrupt mailbox channel (unless the file has been opened with "
6219 "B<O_NONBLOCK>, see below).  Also, B<poll>(2)  and similar system calls can "
6220 "be used to monitor for the presence of mailbox data."
6221 msgstr ""
6222 "SPU から CPU への通信用の 2 つ目のメールボックスである。このファイルは\n"
6223 "1 つ目のメールボックスファイルと似ているが、停止 (blocking) I/O モード\n"
6224 "での読み出しが可能である。したがって、オープンされた I<ibox> ファイルに\n"
6225 "対して B<read>(2) を呼び出すと、(ファイルが B<O_NONBLOCK> (下記参照) で\n"
6226 "オープンされていない場合は) SPU がデータを割り込みメールボックスチャネ\n"
6227 "ル (interrupt mailbox channel) に書き込むまでその呼び出しは停止\n"
6228 "(block) する。また、 B<poll>(2) や同様のシステムコールを使って、メール\n"
6229 "ボックスにデータがあるかをを監視することができる。オープンされた\n"
6230 "I<ibox> ファイルに対して可能な操作は以下である。"
6231
6232 #. type: Plain text
6233 #: build/C/man7/spufs.7:221
6234 msgid "The possible operations on an open I<ibox> file are:"
6235 msgstr "オープンされた I<ibox> ファイルに対して可能な操作は以下である。"
6236
6237 #. type: Plain text
6238 #: build/C/man7/spufs.7:239
6239 msgid ""
6240 "If I<count> is smaller than four, B<read>(2)  returns -1 and sets I<errno> "
6241 "to B<EINVAL>.  If there is no data available in the mailbox and the file "
6242 "descriptor has been opened with B<O_NONBLOCK>, the return value is set to -1 "
6243 "and I<errno> is set to B<EAGAIN>."
6244 msgstr ""
6245 "I<count> が 4 より小さい場合、 B<read>(2)  は -1 を返し、 I<errno> を "
6246 "B<EINVAL> に設定する。 メールボックスにデータがない場合、ファイルディスクリプ"
6247 "タが B<O_NONBLOCK> でオープンされていれば、返り値は -1 となり、 I<errno> は "
6248 "B<EAGAIN> に設定される。"
6249
6250 #. type: Plain text
6251 #: build/C/man7/spufs.7:247
6252 msgid ""
6253 "If there is no data available in the mailbox and the file descriptor has "
6254 "been opened without B<O_NONBLOCK>, the call will block until the SPU writes "
6255 "to its interrupt mailbox channel.  When data has been read successfully, "
6256 "four bytes are placed in the data buffer and the value four is returned."
6257 msgstr ""
6258 "メールボックスにデータがない場合で、ファイルディスクリプタが B<O_NONBLOCK> な"
6259 "しでオープンされていれば、 SPU が自分の割り込みメールボックスチャネル "
6260 "(interrupt mailbox channel)  に書き込みを行うまで B<read>(2)  は停止 (block) "
6261 "する。 データの読み出しに成功した場合、 4 バイトがデータバッファに格納され、"
6262 "返り値として 4 が返される。"
6263
6264 #. type: TP
6265 #: build/C/man7/spufs.7:247 build/C/man7/spufs.7:295 build/C/man7/spufs.7:685
6266 #, no-wrap
6267 msgid "B<poll>(2)"
6268 msgstr "B<poll>(2)"
6269
6270 #. type: Plain text
6271 #: build/C/man7/spufs.7:254
6272 msgid ""
6273 "Poll on the I<ibox> file returns I<(POLLIN | POLLRDNORM)> whenever data is "
6274 "available for reading."
6275 msgstr ""
6276 "I<ibox> ファイルに対する B<poll>(2)  は、読み出しデータが利用可能になる度に "
6277 "I<(POLLIN | POLLRDNORM)> を返す。"
6278
6279 #. type: TP
6280 #: build/C/man7/spufs.7:255
6281 #, no-wrap
6282 msgid "I</wbox>"
6283 msgstr "I</wbox>"
6284
6285 #. type: Plain text
6286 #: build/C/man7/spufs.7:267
6287 msgid ""
6288 "The CPU-to-SPU communication mailbox.  It is write-only and can be written "
6289 "in units of four bytes.  If the mailbox is full, B<write>(2)  will block, "
6290 "and B<poll>(2)  can be used to block until the mailbox is available for "
6291 "writing again.  The possible operations on an open I<wbox> file are:"
6292 msgstr ""
6293 "CPU から SPU への通信用のメールボックス。このファイルは書き込み専用で、\n"
6294 "書き込みは 4 バイト単位で行う。メールボックスが一杯の場合、\n"
6295 "B<write>(2) は停止 (block) する。 B<poll>(2) を使ってメールボックスに\n"
6296 "再度書き込み可能になるまで待つことができる。\n"
6297 "オープンされた I<wbox> ファイルに対して可能な操作は以下である。"
6298
6299 #. type: TP
6300 #: build/C/man7/spufs.7:268 build/C/man7/spufs.7:392 build/C/man7/spufs.7:432
6301 #: build/C/man7/spufs.7:476 build/C/man7/spufs.7:527 build/C/man7/spufs.7:638
6302 #: build/C/man7/spufs.7:652 build/C/man7/spufs.7:749
6303 #, no-wrap
6304 msgid "B<write>(2)"
6305 msgstr "B<write>(2)"
6306
6307 #. type: Plain text
6308 #: build/C/man7/spufs.7:286
6309 msgid ""
6310 "If I<count> is smaller than four, B<write>(2)  returns -1 and sets I<errno> "
6311 "to B<EINVAL>.  If there is no space available in the mailbox and the file "
6312 "descriptor has been opened with B<O_NONBLOCK>, the return value is set to -1 "
6313 "and I<errno> is set to B<EAGAIN>."
6314 msgstr ""
6315 "I<count> が 4 より小さい場合、 B<write>(2)  は -1 を返し、 I<errno> を "
6316 "B<EINVAL> に設定する。 メールボックスに空き領域がない場合、ファイルディスクリ"
6317 "プタが B<O_NONBLOCK> でオープンされていれば、返り値は -1 となり、 I<errno> "
6318 "は B<EAGAIN> に設定される。"
6319
6320 #. type: Plain text
6321 #: build/C/man7/spufs.7:295
6322 msgid ""
6323 "If there is no space available in the mailbox and the file descriptor has "
6324 "been opened without B<O_NONBLOCK>, the call will block until the SPU reads "
6325 "from its PPE (PowerPC Processing Element)  mailbox channel.  When data has "
6326 "been written successfully, the system call returns four as its function "
6327 "result."
6328 msgstr ""
6329 "メールボックスに空き領域がない場合で、ファイルディスクリプタが\n"
6330 "B<O_NONBLOCK> なしでオープンされていれば、 SPU が自分の PPE (PowerPC\n"
6331 "Processing Element) メールボックスチャネルから読み出しを行うまで\n"
6332 "B<write>(2) は停止 (block) する。 データの書き込みに成功した場合、\n"
6333 "返り値として 4 が返される。"
6334
6335 #. type: Plain text
6336 #: build/C/man7/spufs.7:302
6337 msgid ""
6338 "A poll on the I<wbox> file returns I<(POLLOUT | POLLWRNORM)> whenever space "
6339 "is available for writing."
6340 msgstr ""
6341 "I<wbox> ファイルに対する B<poll>(2)  は、書き込み用の空間が利用可能になる度"
6342 "に I<(POLLOUT | POLLWRNORM)> を返す。"
6343
6344 #. type: TP
6345 #: build/C/man7/spufs.7:303
6346 #, no-wrap
6347 msgid "I</mbox_stat>, I</ibox_stat>, I</wbox_stat>"
6348 msgstr "I</mbox_stat>, I</ibox_stat>, I</wbox_stat>"
6349
6350 #. type: Plain text
6351 #: build/C/man7/spufs.7:316
6352 msgid ""
6353 "These are read-only files that contain the length of the current queue of "
6354 "each mailbox\\(emthat is, how many words can be read from I<mbox> or I<ibox> "
6355 "or how many words can be written to I<wbox> without blocking.  The files can "
6356 "be read only in four-byte units and return a big-endian binary integer "
6357 "number.  The only possible operation on an open I<*box_stat> file is:"
6358 msgstr ""
6359 "これらのファイルは読み出し専用で、各メールボックスの現在のキュー長を保持す"
6360 "る。 すなわち、停止 (blocking) せずに、 I<mbox> や I<ibox> から何ワードを読み"
6361 "出すことができ、 I<wbox> に何ワードを書き込むことができるか、ということであ"
6362 "る。これらのファイルは 4 バイト単位でのみ読み出しが可能で、ビッグ・エンディア"
6363 "ンの整数値を返す。オープンされた I<*box_stat> ファイルに対して可能な操作は以"
6364 "下だけである。"
6365
6366 #. type: Plain text
6367 #: build/C/man7/spufs.7:337
6368 msgid ""
6369 "If I<count> is smaller than four, B<read>(2)  returns -1 and sets I<errno> "
6370 "to B<EINVAL>.  Otherwise, a four-byte value is placed in the data buffer.  "
6371 "This value is the number of elements that can be read from (for I<mbox_stat> "
6372 "and I<ibox_stat>)  or written to (for I<wbox_stat>)  the respective mailbox "
6373 "without blocking or returning an B<EAGAIN> error."
6374 msgstr ""
6375 "I<count> が 4 より小さい場合、 B<read>(2)  は -1 を返し、 I<errno> を "
6376 "B<EINVAL> に設定する。 それ以外の場合、データバッファに 4 バイトの値が書き込"
6377 "まれる。 この値は、各メールボックスにおいて停止せずに、または B<EAGAIN> エ"
6378 "ラーなしで、読み出し可能なエレメント数 (I<mbox_stat> や I<ibox_stat> の場"
6379 "合)、書き込み可能なエレメント数 (I<wbox_stat> の場合) である。"
6380
6381 #. type: TP
6382 #: build/C/man7/spufs.7:338
6383 #, no-wrap
6384 msgid "I</npc>, I</decr>, I</decr_status>, I</spu_tag_mask>, I</event_mask>, I</event_status>, I</srr0>, I</lslr>"
6385 msgstr ""
6386 "I</npc>, I</decr>, I</decr_status>, I</spu_tag_mask>, I</event_mask>,\n"
6387 "I</event_status>, I</srr0>, I</lslr>"
6388
6389 #. type: Plain text
6390 #: build/C/man7/spufs.7:350
6391 msgid ""
6392 "Internal registers of the SPU.  These files contain an ASCII string "
6393 "representing the hex value of the specified register.  Reads and writes on "
6394 "these files (except for I<npc>, see below) require that the SPU context be "
6395 "scheduled out, so frequent access to these files is not recommended for "
6396 "normal program operation."
6397 msgstr ""
6398
6399 #. type: Plain text
6400 #: build/C/man7/spufs.7:352
6401 msgid "The contents of these files are:"
6402 msgstr "これらのファイルの内容は以下の通り。"
6403
6404 #. type: TP
6405 #: build/C/man7/spufs.7:353
6406 #, no-wrap
6407 msgid "I<npc>"
6408 msgstr "I<npc>"
6409
6410 #. type: Plain text
6411 #: build/C/man7/spufs.7:356
6412 msgid "Next Program Counter - valid only when the SPU is in a stopped state."
6413 msgstr ""
6414
6415 #. type: TP
6416 #: build/C/man7/spufs.7:356
6417 #, no-wrap
6418 msgid "I<decr>"
6419 msgstr "I<decr>"
6420
6421 #. type: Plain text
6422 #: build/C/man7/spufs.7:359
6423 msgid "SPU Decrementer"
6424 msgstr "SPU Decrementer"
6425
6426 #. type: TP
6427 #: build/C/man7/spufs.7:359
6428 #, no-wrap
6429 msgid "I<decr_status>"
6430 msgstr "I<decr_status>"
6431
6432 #. type: Plain text
6433 #: build/C/man7/spufs.7:362
6434 msgid "Decrementer Status"
6435 msgstr "Decrementer の状態"
6436
6437 #. type: TP
6438 #: build/C/man7/spufs.7:362
6439 #, no-wrap
6440 msgid "I<spu_tag_mask>"
6441 msgstr "I<spu_tag_mask>"
6442
6443 #. type: Plain text
6444 #: build/C/man7/spufs.7:365
6445 msgid "MFC tag mask for SPU DMA"
6446 msgstr "SPU の DMA 用の MFA タグマスク"
6447
6448 #. type: TP
6449 #: build/C/man7/spufs.7:365
6450 #, no-wrap
6451 msgid "I<event_mask>"
6452 msgstr "I<event_mask>"
6453
6454 #. type: Plain text
6455 #: build/C/man7/spufs.7:368
6456 msgid "Event mask for SPU interrupts"
6457 msgstr "SPU の割り込みのイベントマスク"
6458
6459 #. type: TP
6460 #: build/C/man7/spufs.7:368
6461 #, no-wrap
6462 msgid "I<event_status>"
6463 msgstr "I<event_status>"
6464
6465 #. type: Plain text
6466 #: build/C/man7/spufs.7:371
6467 msgid "Number of SPU events pending (read-only)"
6468 msgstr ""
6469
6470 #. type: TP
6471 #: build/C/man7/spufs.7:371
6472 #, no-wrap
6473 msgid "I<srr0>"
6474 msgstr "I<srr0>"
6475
6476 #. type: Plain text
6477 #: build/C/man7/spufs.7:374
6478 msgid "Interrupt Return address register"
6479 msgstr "割り込みリターンアドレスレジスタ"
6480
6481 #. type: TP
6482 #: build/C/man7/spufs.7:374
6483 #, no-wrap
6484 msgid "I<lslr>"
6485 msgstr ""
6486
6487 #. type: Plain text
6488 #: build/C/man7/spufs.7:377
6489 msgid "Local Store Limit Register"
6490 msgstr ""
6491
6492 #. type: Plain text
6493 #: build/C/man7/spufs.7:380
6494 msgid "The possible operations on these files are:"
6495 msgstr "これらのファイルに対して可能な操作は以下である。"
6496
6497 #. type: Plain text
6498 #: build/C/man7/spufs.7:388
6499 msgid ""
6500 "Reads the current register value.  If the register value is larger than the "
6501 "buffer passed to the B<read>(2)  system call, subsequent reads will continue "
6502 "reading from the same buffer, until the end of the buffer is reached."
6503 msgstr ""
6504
6505 #. type: Plain text
6506 #: build/C/man7/spufs.7:392
6507 msgid ""
6508 "When a complete string has been read, all subsequent read operations will "
6509 "return zero bytes and a new file descriptor needs to be opened to read a new "
6510 "value."
6511 msgstr ""
6512
6513 #. type: Plain text
6514 #: build/C/man7/spufs.7:402 build/C/man7/spufs.7:537
6515 msgid ""
6516 "A B<write>(2)  operation on the file sets the register to the value given in "
6517 "the string.  The string is parsed from the beginning until the first "
6518 "nonnumeric character or the end of the buffer.  Subsequent writes to the "
6519 "same file descriptor overwrite the previous setting."
6520 msgstr ""
6521 "このファイルへの B<write>(2)  操作はレジスタ値を文字列で指定された値に設定す"
6522 "る。 文字列の解釈は先頭から開始され、数字以外の文字が初めて登場するか、 バッ"
6523 "ファの末尾に達するまで行われる。 同じファイルディスクリプタへ続けて write を"
6524 "行うと、 後の write により前の設定が上書きされる。"
6525
6526 #. type: Plain text
6527 #: build/C/man7/spufs.7:409
6528 msgid ""
6529 "Except for the I<npc> file, these files are not present on contexts that "
6530 "have been created with the B<SPU_CREATE_NOSCHED> flag."
6531 msgstr ""
6532
6533 #. type: TP
6534 #: build/C/man7/spufs.7:410
6535 #, no-wrap
6536 msgid "I</fpcr>"
6537 msgstr "I</fpcr>"
6538
6539 #. type: Plain text
6540 #: build/C/man7/spufs.7:417
6541 msgid ""
6542 "This file provides access to the Floating Point Status and Control Register "
6543 "(fcpr) as a binary, four-byte file.  The operations on the I<fpcr> file are:"
6544 msgstr ""
6545 "このファイルにより Floating Point Status and Control Register (fcpr) に\n"
6546 "アクセスできる。このファイルはバイナリで、大きさは 4 バイトである。 \n"
6547 "I<fpcr> ファイルに可能な操作は以下である。"
6548
6549 #. type: Plain text
6550 #: build/C/man7/spufs.7:432
6551 msgid ""
6552 "If I<count> is smaller than four, B<read>(2)  returns -1 and sets I<errno> "
6553 "to B<EINVAL>.  Otherwise, a four-byte value is placed in the data buffer; "
6554 "this is the current value of the I<fpcr> register."
6555 msgstr ""
6556 "I<count> が 4 より小さい場合、 B<read>(2)  は -1 を返し、 I<errno> を "
6557 "B<EINVAL> に設定する。 それ以外の場合、データバッファに 4 バイトの値が書き込"
6558 "まれる。 書き込まれる値は I<fpcr> レジスタの現在の値である。"
6559
6560 #. type: Plain text
6561 #: build/C/man7/spufs.7:446
6562 msgid ""
6563 "If I<count> is smaller than four, B<write>(2)  returns -1 and sets I<errno> "
6564 "to B<EINVAL>.  Otherwise, a four-byte value is copied from the data buffer, "
6565 "updating the value of the I<fpcr> register."
6566 msgstr ""
6567 "I<count> が 4 より小さい場合、 B<write>(2)  は -1 を返し、 I<errno> を "
6568 "B<EINVAL> に設定する。 それ以外の場合、 4 バイトの値がデータバッファからコ"
6569 "ピーされ、 I<fpcr> レジスタの値が更新される。"
6570
6571 #. type: TP
6572 #: build/C/man7/spufs.7:447
6573 #, no-wrap
6574 msgid "I</signal1>, I</signal2>"
6575 msgstr "I</signal1>, I</signal2>"
6576
6577 #. type: Plain text
6578 #: build/C/man7/spufs.7:462
6579 msgid ""
6580 "The files provide access to the two signal notification channels of an SPU.  "
6581 "These are read-write files that operate on four-byte words.  Writing to one "
6582 "of these files triggers an interrupt on the SPU.  The value written to the "
6583 "signal files can be read from the SPU through a channel read or from host "
6584 "user space through the file.  After the value has been read by the SPU, it "
6585 "is reset to zero.  The possible operations on an open I<signal1> or "
6586 "I<signal2> file are:"
6587 msgstr ""
6588 "これらのファイルにより SPU の二つのシグナル通知チャネル (signal\n"
6589 "notification channel) に アクセスできる。これらは 4 バイトワード単位の\n"
6590 "読み書きができる。これらのファイルの一つに書き込みを行うと、その SPU の\n"
6591 "割り込みが 発生するトリガーとなる。シグナルファイルへ書き込まれた値は、\n"
6592 "チャネル経由で SPU で読み出したり、このファイル経由でホストのユーザ空間\n"
6593 "で読み出したりできる。 SPU が値を読み出した後では、値は 0 にリセット\n"
6594 "される。オープンされた I<signal1> や I<signal2> ファイルに可能な操作は\n"
6595 "以下である。"
6596
6597 #. type: Plain text
6598 #: build/C/man7/spufs.7:476
6599 msgid ""
6600 "If I<count> is smaller than four, B<read>(2)  returns -1 and sets I<errno> "
6601 "to B<EINVAL>.  Otherwise, a four-byte value is placed in the data buffer; "
6602 "this is the current value of the specified signal notification register."
6603 msgstr ""
6604 "I<count> が 4 より小さい場合、 B<read>(2)  は -1 を返し、 I<errno> を "
6605 "B<EINVAL> に設定する。 それ以外の場合、データバッファに 4 バイトの値が書き込"
6606 "まれる。 書き込まれる値は、指定されたシグナル通知レジスタの現在の値である。"
6607
6608 #. type: Plain text
6609 #: build/C/man7/spufs.7:497
6610 msgid ""
6611 "If I<count> is smaller than four, B<write>(2)  returns -1 and sets I<errno> "
6612 "to B<EINVAL>.  Otherwise, a four-byte value is copied from the data buffer, "
6613 "updating the value of the specified signal notification register.  The "
6614 "signal notification register will either be replaced with the input data or "
6615 "will be updated to the bitwise OR operation of the old value and the input "
6616 "data, depending on the contents of the I<signal1_type> or I<signal2_type> "
6617 "files respectively."
6618 msgstr ""
6619 "I<count> が 4 より小さい場合、 B<write>(2)  は -1 を返し、 I<errno> を "
6620 "B<EINVAL> に設定する。 それ以外の場合、 4 バイトの値がデータバッファからコ"
6621 "ピーされ、 指定されたシグナル通知レジスタの値が更新される。 シグナル通知レジ"
6622 "スタの更新には、レジスタ値を入力データで置き換えるモードと 以前の値と入力デー"
6623 "タのビット単位の OR をとった値に更新するモードがある。 どちらのモードになるか"
6624 "は、それぞれ I<signal1_type>, I<signal2_type> ファイルの内容によって決まる。"
6625
6626 #. type: TP
6627 #: build/C/man7/spufs.7:498
6628 #, no-wrap
6629 msgid "I</signal1_type>, I</signal2_type>"
6630 msgstr "I</signal1_type>, I</signal2_type>"
6631
6632 #. type: Plain text
6633 #: build/C/man7/spufs.7:516
6634 msgid ""
6635 "These two files change the behavior of the I<signal1> and I<signal2> "
6636 "notification files.  They contain a numeric ASCII string which is read as "
6637 "either \"1\" or \"0\".  In mode 0 (overwrite), the hardware replaces the "
6638 "contents of the signal channel with the data that is written to it.  In mode "
6639 "1 (logical OR), the hardware accumulates the bits that are subsequently "
6640 "written to it.  The possible operations on an open I<signal1_type> or "
6641 "I<signal2_type> file are:"
6642 msgstr ""
6643 "これらのファイルは、シグナル通知ファイル I<signal1> と I<signal2> の動作を変"
6644 "更する。 これらのファイルは数値を表すアスキー文字列を保持し、 読み出すと "
6645 "\"1\" か \"0\" のどちらかが得られる。 モード 0 (上書きモード) では、ハード"
6646 "ウェアはシグナルチャネルの内容を シグナルチャネルに書き込まれたデータで置き換"
6647 "える。 モード 1 (論理 OR モード) では、ハードウェアはシグナルチャネルに 書き"
6648 "込まれたビットを積算していく。 オープンされた I<signal1_type> や "
6649 "I<signal2_type> ファイルに可能な操作は以下である。"
6650
6651 #. type: Plain text
6652 #: build/C/man7/spufs.7:527
6653 msgid ""
6654 "When the count supplied to the B<read>(2)  call is shorter than the required "
6655 "length for the digit (plus a newline character), subsequent reads from the "
6656 "same file descriptor will complete the string.  When a complete string has "
6657 "been read, all subsequent read operations will return zero bytes and a new "
6658 "file descriptor needs to be opened to read the value again."
6659 msgstr ""
6660 "B<read>(2) に渡された I<count> がレジスタの数値 (と改行 (newline) 文字\n"
6661 "1 個) を格納するのに必要な長さより 短い場合、同じファイルディスクリプタ\n"
6662 "を続けて read することで、文字列全体を読み出すことができる。文字列全体\n"
6663 "が読み出されると、それ以降の read 操作では 0 バイトが返され、新しい値を\n"
6664 "読み出すには新しいファイルディスクリプタをオープンする必要がある。"
6665
6666 #. type: TP
6667 #: build/C/man7/spufs.7:538
6668 #, no-wrap
6669 msgid "I</mbox_info>, I</ibox_info>, I</wbox_info>, I</dma_into>, I</proxydma_info>"
6670 msgstr "I</mbox_info>, I</ibox_info>, I</wbox_info>, I</dma_into>, I</proxydma_info>"
6671
6672 #. type: Plain text
6673 #: build/C/man7/spufs.7:557
6674 msgid ""
6675 "Read-only files that contain the saved state of the SPU mailboxes and DMA "
6676 "queues.  This allows the SPU status to be inspected, mainly for debugging.  "
6677 "The I<mbox_info> and I<ibox_info> files each contain the four-byte mailbox "
6678 "message that has been written by the SPU.  If no message has been written to "
6679 "these mailboxes, then contents of these files is undefined.  The "
6680 "I<mbox_stat>, I<ibox_stat> and I<wbox_stat> files contain the available "
6681 "message count."
6682 msgstr ""
6683
6684 #. type: Plain text
6685 #: build/C/man7/spufs.7:566
6686 msgid ""
6687 "The I<wbox_info> file contains an array of four-byte mailbox messages, which "
6688 "have been sent to the SPU.  With current CBEA machines, the array is four "
6689 "items in length, so up to 4 * 4 = 16 bytes can be read from this file.  If "
6690 "any mailbox queue entry is empty, then the bytes read at the corresponding "
6691 "location are undefined."
6692 msgstr ""
6693
6694 #. type: Plain text
6695 #: build/C/man7/spufs.7:571
6696 msgid ""
6697 "The I<dma_info> file contains the contents of the SPU MFC DMA queue, "
6698 "represented as the following structure:"
6699 msgstr ""
6700
6701 #. type: Plain text
6702 #: build/C/man7/spufs.7:582
6703 #, no-wrap
6704 msgid ""
6705 "struct spu_dma_info {\n"
6706 "    uint64_t         dma_info_type;\n"
6707 "    uint64_t         dma_info_mask;\n"
6708 "    uint64_t         dma_info_status;\n"
6709 "    uint64_t         dma_info_stall_and_notify;\n"
6710 "    uint64_t         dma_info_atomic_command_status;\n"
6711 "    struct mfc_cq_sr dma_info_command_data[16];\n"
6712 "};\n"
6713 msgstr ""
6714 "struct spu_dma_info {\n"
6715 "    uint64_t         dma_info_type;\n"
6716 "    uint64_t         dma_info_mask;\n"
6717 "    uint64_t         dma_info_status;\n"
6718 "    uint64_t         dma_info_stall_and_notify;\n"
6719 "    uint64_t         dma_info_atomic_command_status;\n"
6720 "    struct mfc_cq_sr dma_info_command_data[16];\n"
6721 "};\n"
6722
6723 #. type: Plain text
6724 #: build/C/man7/spufs.7:590
6725 msgid ""
6726 "The last member of this data structure is the actual DMA queue, containing "
6727 "16 entries.  The I<mfc_cq_sr> structure is defined as:"
6728 msgstr ""
6729
6730 #. type: Plain text
6731 #: build/C/man7/spufs.7:599
6732 #, no-wrap
6733 msgid ""
6734 "struct mfc_cq_sr {\n"
6735 "    uint64_t mfc_cq_data0_RW;\n"
6736 "    uint64_t mfc_cq_data1_RW;\n"
6737 "    uint64_t mfc_cq_data2_RW;\n"
6738 "    uint64_t mfc_cq_data3_RW;\n"
6739 "};\n"
6740 msgstr ""
6741 "struct mfc_cq_sr {\n"
6742 "    uint64_t mfc_cq_data0_RW;\n"
6743 "    uint64_t mfc_cq_data1_RW;\n"
6744 "    uint64_t mfc_cq_data2_RW;\n"
6745 "    uint64_t mfc_cq_data3_RW;\n"
6746 "};\n"
6747
6748 #. type: Plain text
6749 #: build/C/man7/spufs.7:607
6750 msgid ""
6751 "The I<proxydma_info> file contains similar information, but describes the "
6752 "proxy DMA queue (i.e., DMAs initiated by entities outside the SPU) instead.  "
6753 "The file is in the following format:"
6754 msgstr ""
6755
6756 #. type: Plain text
6757 #: build/C/man7/spufs.7:616
6758 #, no-wrap
6759 msgid ""
6760 "struct spu_proxydma_info {\n"
6761 "    uint64_t         proxydma_info_type;\n"
6762 "    uint64_t         proxydma_info_mask;\n"
6763 "    uint64_t         proxydma_info_status;\n"
6764 "    struct mfc_cq_sr proxydma_info_command_data[8];\n"
6765 "};\n"
6766 msgstr ""
6767 "struct spu_proxydma_info {\n"
6768 "    uint64_t         proxydma_info_type;\n"
6769 "    uint64_t         proxydma_info_mask;\n"
6770 "    uint64_t         proxydma_info_status;\n"
6771 "    struct mfc_cq_sr proxydma_info_command_data[8];\n"
6772 "};\n"
6773
6774 #. type: Plain text
6775 #: build/C/man7/spufs.7:622
6776 msgid ""
6777 "Accessing these files requires that the SPU context is scheduled out - "
6778 "frequent use can be inefficient.  These files should not be used for normal "
6779 "program operation."
6780 msgstr ""
6781
6782 #. type: Plain text
6783 #: build/C/man7/spufs.7:626
6784 msgid ""
6785 "These files are not present on contexts that have been created with the "
6786 "B<SPU_CREATE_NOSCHED> flag."
6787 msgstr ""
6788
6789 #. type: TP
6790 #: build/C/man7/spufs.7:626
6791 #, no-wrap
6792 msgid "I</cntl>"
6793 msgstr "I</cntl>"
6794
6795 #. type: Plain text
6796 #: build/C/man7/spufs.7:631
6797 msgid ""
6798 "This file provides access to the SPU Run Control and SPU status registers, "
6799 "as an ASCII string.  The following operations are supported:"
6800 msgstr ""
6801
6802 #. type: Plain text
6803 #: build/C/man7/spufs.7:638
6804 msgid ""
6805 "Reads from the I<cntl> file will return an ASCII string with the hex value "
6806 "of the SPU Status register."
6807 msgstr ""
6808
6809 #. type: Plain text
6810 #: build/C/man7/spufs.7:643
6811 msgid ""
6812 "Writes to the I<cntl> file will set the context's SPU Run Control register."
6813 msgstr ""
6814
6815 #. type: TP
6816 #: build/C/man7/spufs.7:644
6817 #, no-wrap
6818 msgid "I</mfc>"
6819 msgstr "I</mfc>"
6820
6821 #. type: Plain text
6822 #: build/C/man7/spufs.7:651
6823 msgid ""
6824 "Provides access to the Memory Flow Controller of the SPU.  Reading from the "
6825 "file returns the contents of the SPU's MFC Tag Status register, and writing "
6826 "to the file initiates a DMA from the MFC.  The following operations are "
6827 "supported:"
6828 msgstr ""
6829
6830 #. type: Plain text
6831 #: build/C/man7/spufs.7:656
6832 msgid ""
6833 "Writes to this file need to be in the format of a MFC DMA command, defined "
6834 "as follows:"
6835 msgstr ""
6836
6837 #. type: Plain text
6838 #: build/C/man7/spufs.7:668
6839 #, no-wrap
6840 msgid ""
6841 "struct mfc_dma_command {\n"
6842 "    int32_t  pad;    /* reserved */\n"
6843 "    uint32_t lsa;    /* local storage address */\n"
6844 "    uint64_t ea;     /* effective address */\n"
6845 "    uint16_t size;   /* transfer size */\n"
6846 "    uint16_t tag;    /* command tag */\n"
6847 "    uint16_t class;  /* class ID */\n"
6848 "    uint16_t cmd;    /* command opcode */\n"
6849 "};\n"
6850 msgstr ""
6851 "struct mfc_dma_command {\n"
6852 "    int32_t  pad;    /* reserved */\n"
6853 "    uint32_t lsa;    /* local storage address */\n"
6854 "    uint64_t ea;     /* effective address */\n"
6855 "    uint16_t size;   /* transfer size */\n"
6856 "    uint16_t tag;    /* command tag */\n"
6857 "    uint16_t class;  /* class ID */\n"
6858 "    uint16_t cmd;    /* command opcode */\n"
6859 "};\n"
6860
6861 #. type: Plain text
6862 #: build/C/man7/spufs.7:676
6863 msgid ""
6864 "Writes are required to be exactly I<sizeof(struct mfc_dma_command)> bytes in "
6865 "size.  The command will be sent to the SPU's MFC proxy queue, and the tag "
6866 "stored in the kernel (see below)."
6867 msgstr ""
6868
6869 #. type: Plain text
6870 #: build/C/man7/spufs.7:685
6871 msgid ""
6872 "Reads the contents of the tag status register.  If the file is opened in "
6873 "blocking mode (i.e., without B<O_NONBLOCK>), then the read will block until "
6874 "a DMA tag (as performed by a previous write) is complete.  In nonblocking "
6875 "mode, the MFC tag status register will be returned without waiting."
6876 msgstr ""
6877
6878 #. type: Plain text
6879 #: build/C/man7/spufs.7:698
6880 msgid ""
6881 "Calling B<poll>(2)  on the I<mfc> file will block until a new DMA can be "
6882 "started (by checking for B<POLLOUT>)  or until a previously started DMA (by "
6883 "checking for B<POLLIN>)  has been completed."
6884 msgstr ""
6885
6886 #. type: Plain text
6887 #: build/C/man7/spufs.7:704
6888 msgid ""
6889 "I</mss> Provides access to the MFC MultiSource Synchronization (MSS) "
6890 "facility.  By B<mmap>(2)-ing this file, processes can access the MSS area of "
6891 "the SPU."
6892 msgstr ""
6893
6894 #. type: Plain text
6895 #: build/C/man7/spufs.7:706 build/C/man7/spufs.7:724
6896 msgid "The following operations are supported:"
6897 msgstr ""
6898
6899 #. type: Plain text
6900 #: build/C/man7/spufs.7:715
6901 msgid ""
6902 "Mapping B<mss> into the process address space gives access to the SPU MSS "
6903 "area within the process address space.  Only B<MAP_SHARED> mappings are "
6904 "allowed."
6905 msgstr ""
6906 "I<mss> をプロセスのアドレス空間にマッピングすると、プロセスのアドレス空\n"
6907 "間の一部として SPU の MSS 領域にアクセスできるようになる。\n"
6908 "許可されているマッピングは B<MAP_SHARED> だけである。"
6909
6910 #. type: TP
6911 #: build/C/man7/spufs.7:716
6912 #, no-wrap
6913 msgid "I</psmap>"
6914 msgstr "I</psmap>"
6915
6916 #. type: Plain text
6917 #: build/C/man7/spufs.7:722
6918 msgid ""
6919 "Provides access to the whole problem-state mapping of the SPU.  Applications "
6920 "can use this area to interface to the SPU, rather than writing to individual "
6921 "register files in B<spufs>."
6922 msgstr ""
6923
6924 #. type: Plain text
6925 #: build/C/man7/spufs.7:733
6926 msgid ""
6927 "Mapping B<psmap> gives a process a direct map of the SPU problem state "
6928 "area.  Only B<MAP_SHARED> mappings are supported."
6929 msgstr ""
6930 "I<psmap> をプロセスのアドレス空間にマッピングすると、\n"
6931 "SPU の problem state 領域に直接アクセスできるようになる。\n"
6932 "許可されているマッピングは B<MAP_SHARED> だけである。"
6933
6934 #. type: TP
6935 #: build/C/man7/spufs.7:734
6936 #, no-wrap
6937 msgid "I</phys-id>"
6938 msgstr "I</phys-id>"
6939
6940 #. type: Plain text
6941 #: build/C/man7/spufs.7:740
6942 msgid ""
6943 "Read-only file containing the physical SPU number that the SPU context is "
6944 "running on.  When the context is not running, this file contains the string "
6945 "\"-1\"."
6946 msgstr ""
6947
6948 #. type: Plain text
6949 #: build/C/man7/spufs.7:742
6950 msgid "The physical SPU number is given by an ASCII hex string."
6951 msgstr ""
6952
6953 #. type: TP
6954 #: build/C/man7/spufs.7:742
6955 #, no-wrap
6956 msgid "I</object-id>"
6957 msgstr "I</object-id>"
6958
6959 #. type: Plain text
6960 #: build/C/man7/spufs.7:748
6961 msgid ""
6962 "Allows applications to store (or retrieve) a single 64-bit ID into the "
6963 "context.  This ID is later used by profiling tools to uniquely identify the "
6964 "context."
6965 msgstr ""
6966
6967 #. type: Plain text
6968 #: build/C/man7/spufs.7:754
6969 msgid ""
6970 "By writing an ASCII hex value into this file, applications can set the "
6971 "object ID of the SPU context.  Any previous value of the object ID is "
6972 "overwritten."
6973 msgstr ""
6974
6975 #. type: Plain text
6976 #: build/C/man7/spufs.7:758
6977 msgid ""
6978 "Reading this file gives an ASCII hex string representing the object ID for "
6979 "this SPU context."
6980 msgstr ""
6981
6982 #. type: TP
6983 #: build/C/man7/spufs.7:760
6984 #, no-wrap
6985 msgid "I</etc/fstab>  entry"
6986 msgstr "I</etc/fstab>  entry"
6987
6988 #.  .SH AUTHORS
6989 #.  Arnd Bergmann <arndb@de.ibm.com>, Mark Nutter <mnutter@us.ibm.com>,
6990 #.  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>, Jeremy Kerr <jk@ozlabs.org>
6991 #. type: Plain text
6992 #: build/C/man7/spufs.7:766
6993 msgid "none \t/spu \tspufs \tgid=spu \t0\t0"
6994 msgstr "none \t/spu \tspufs \tgid=spu \t0\t0"
6995
6996 #. type: Plain text
6997 #: build/C/man7/spufs.7:771
6998 msgid "B<close>(2), B<spu_create>(2), B<spu_run>(2), B<capabilities>(7)"
6999 msgstr "B<close>(2), B<spu_create>(2), B<spu_run>(2), B<capabilities>(7)"
7000
7001 #. type: Plain text
7002 #: build/C/man7/spufs.7:773
7003 msgid "I<The Cell Broadband Engine Architecture (CBEA) specification>"
7004 msgstr ""
7005
7006 #. type: TH
7007 #: build/C/man2/stat.2:40
7008 #, no-wrap
7009 msgid "STAT"
7010 msgstr "STAT"
7011
7012 #. type: TH
7013 #: build/C/man2/stat.2:40
7014 #, no-wrap
7015 msgid "2014-08-19"
7016 msgstr "2014-08-19"
7017
7018 #. type: Plain text
7019 #: build/C/man2/stat.2:43
7020 msgid "stat, fstat, lstat, fstatat - get file status"
7021 msgstr "stat, fstat, lstat, fstatat - ファイルの状態を取得する"
7022
7023 #. type: Plain text
7024 #: build/C/man2/stat.2:46 build/C/man2/ustat.2:36
7025 #, no-wrap
7026 msgid "B<#include E<lt>sys/types.hE<gt>>\n"
7027 msgstr "B<#include E<lt>sys/types.hE<gt>>\n"
7028
7029 #. type: Plain text
7030 #: build/C/man2/stat.2:48
7031 #, no-wrap
7032 msgid "B<#include E<lt>sys/stat.hE<gt>>\n"
7033 msgstr "B<#include E<lt>sys/stat.hE<gt>>\n"
7034
7035 #. type: Plain text
7036 #: build/C/man2/stat.2:50
7037 #, no-wrap
7038 msgid "B<#include E<lt>unistd.hE<gt>>\n"
7039 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
7040
7041 #. type: Plain text
7042 #: build/C/man2/stat.2:52
7043 #, no-wrap
7044 msgid "B<int stat(const char *>I<pathname>B<, struct stat *>I<buf>B<);>\n"
7045 msgstr "B<int stat(const char *>I<pathname>B<, struct stat *>I<buf>B<);>\n"
7046
7047 #. type: Plain text
7048 #: build/C/man2/stat.2:54
7049 #, no-wrap
7050 msgid "B<int fstat(int >I<fd>B<, struct stat *>I<buf>B<);>\n"
7051 msgstr "B<int fstat(int >I<fd>B<, struct stat *>I<buf>B<);>\n"
7052
7053 #. type: Plain text
7054 #: build/C/man2/stat.2:56
7055 #, no-wrap
7056 msgid "B<int lstat(const char *>I<pathname>B<, struct stat *>I<buf>B<);>\n"
7057 msgstr "B<int lstat(const char *>I<pathname>B<, struct stat *>I<buf>B<);>\n"
7058
7059 #. type: Plain text
7060 #: build/C/man2/stat.2:59
7061 #, no-wrap
7062 msgid ""
7063 "B<#include E<lt>fcntl.hE<gt>           >/* Definition of AT_* constants */\n"
7064 "B<#include E<lt>sys/stat.hE<gt>>\n"
7065 msgstr ""
7066 "B<#include E<lt>fcntl.hE<gt>           >/* AT_* 定数の定義 */\n"
7067 "B<#include E<lt>sys/stat.hE<gt>>\n"
7068
7069 #. type: Plain text
7070 #: build/C/man2/stat.2:63
7071 #, no-wrap
7072 msgid ""
7073 "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat *>I<buf>B<,>\n"
7074 "B<            int >I<flags>B<);>\n"
7075 msgstr ""
7076 "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat *>I<buf>B<,>\n"
7077 "B<            int >I<flags>B<);>\n"
7078
7079 #. type: Plain text
7080 #: build/C/man2/stat.2:73
7081 msgid "B<lstat>():"
7082 msgstr "B<lstat>():"
7083
7084 #. type: Plain text
7085 #: build/C/man2/stat.2:75
7086 msgid "/* glibc 2.19 and earlier */ _BSD_SOURCE ||"
7087 msgstr "/* glibc 2.19 以前 */ _BSD_SOURCE ||"
7088
7089 #. type: Plain text
7090 #: build/C/man2/stat.2:77
7091 msgid "/* Since glibc 2.20 */_DEFAULT_SOURCE ||"
7092 msgstr "/* glibc 2.20 以降 */_DEFAULT_SOURCE ||"
7093
7094 #. type: Plain text
7095 #: build/C/man2/stat.2:80
7096 msgid ""
7097 "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7098 msgstr ""
7099 "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7100
7101 #. type: Plain text
7102 #: build/C/man2/stat.2:82
7103 msgid "|| /* Since glibc 2.10: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200112L"
7104 msgstr "|| /* glibc 2.10 以降: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200112L"
7105
7106 #. type: Plain text
7107 #: build/C/man2/stat.2:85
7108 msgid "B<fstatat>():"
7109 msgstr "B<fstatat>():"
7110
7111 #. type: TP
7112 #: build/C/man2/stat.2:88
7113 #, no-wrap
7114 msgid "Since glibc 2.10:"
7115 msgstr "glibc 2.10 以降:"
7116
7117 #. type: Plain text
7118 #: build/C/man2/stat.2:91
7119 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
7120 msgstr "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
7121
7122 #. type: TP
7123 #: build/C/man2/stat.2:91
7124 #, no-wrap
7125 msgid "Before glibc 2.10:"
7126 msgstr "glibc 2.10 より前:"
7127
7128 #. type: Plain text
7129 #: build/C/man2/stat.2:94
7130 msgid "_ATFILE_SOURCE"
7131 msgstr "_ATFILE_SOURCE"
7132
7133 #. type: Plain text
7134 #: build/C/man2/stat.2:109
7135 msgid ""
7136 "These functions return information about a file, in the buffer pointed to by "
7137 "I<stat>.  No permissions are required on the file itself, but\\(emin the "
7138 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\(emexecute (search) "
7139 "permission is required on all of the directories in I<pathname> that lead to "
7140 "the file."
7141 msgstr ""
7142 "これらの関数は、ファイルについての情報を I<stat> が指すバッファに格納して返"
7143 "す。 ファイルそのものに対するアクセス許可は必要としないが、 \\(emB<stat>(), "
7144 "B<fstatat>(), B<lstat>() の場合には \\(emそのファイルへ至る I<pathname> を構"
7145 "成する全てのディレクトリに対する実行 (検索) 許可が必要である。"
7146
7147 #. type: Plain text
7148 #: build/C/man2/stat.2:118
7149 msgid ""
7150 "B<stat>()  and B<fstatat>()  retrieve information about the file pointed to "
7151 "by I<pathname>; the differences for B<fstatat>()  are described below."
7152 msgstr ""
7153 "B<stat>() と B<fstatat>() は I<pathname> が指すファイルに関する情報を取得す"
7154 "る。 B<fstatat>() の違いについては後で説明する。"
7155
7156 #. type: Plain text
7157 #: build/C/man2/stat.2:126
7158 msgid ""
7159 "B<lstat>()  is identical to B<stat>(), except that if I<pathname> is a "
7160 "symbolic link, then it returns information about the link itself, not the "
7161 "file that it refers to."
7162 msgstr ""
7163 "B<lstat>()  は B<stat>()  と同じであるが、 I<pathnames> がシンボリックリンク"
7164 "の場合、リンクが参照しているファイルではなく、 リンク自身の状態を返す点が異な"
7165 "る。"
7166
7167 #. type: Plain text
7168 #: build/C/man2/stat.2:133
7169 msgid ""
7170 "B<fstat>()  is identical to B<stat>(), except that the file about which "
7171 "information is to be retrieved is specified by the file descriptor I<fd>."
7172 msgstr ""
7173 "B<fstat>()  は B<stat>()  と同じだが、 状態を取得するファイルをファイルディス"
7174 "クリプタ I<fd> で指定する点が異なる。"
7175
7176 #. type: Plain text
7177 #: build/C/man2/stat.2:137
7178 msgid ""
7179 "All of these system calls return a I<stat> structure, which contains the "
7180 "following fields:"
7181 msgstr ""
7182 "これらのシステムコールはいずれも、結果を I<stat> 構造体に入れて返す。 "
7183 "I<stat> 構造体には以下のフィールドが含まれている:"
7184
7185 #. type: Plain text
7186 #: build/C/man2/stat.2:151
7187 #, no-wrap
7188 msgid ""
7189 "struct stat {\n"
7190 "    dev_t     st_dev;         /* ID of device containing file */\n"
7191 "    ino_t     st_ino;         /* inode number */\n"
7192 "    mode_t    st_mode;        /* protection */\n"
7193 "    nlink_t   st_nlink;       /* number of hard links */\n"
7194 "    uid_t     st_uid;         /* user ID of owner */\n"
7195 "    gid_t     st_gid;         /* group ID of owner */\n"
7196 "    dev_t     st_rdev;        /* device ID (if special file) */\n"
7197 "    off_t     st_size;        /* total size, in bytes */\n"
7198 "    blksize_t st_blksize;     /* blocksize for filesystem I/O */\n"
7199 "    blkcnt_t  st_blocks;      /* number of 512B blocks allocated */\n"
7200 msgstr ""
7201 "struct stat {\n"
7202 "    dev_t     st_dev;     /* ファイルがあるデバイスの ID */\n"
7203 "    ino_t     st_ino;     /* inode 番号 */\n"
7204 "    mode_t    st_mode;    /* アクセス保護 */\n"
7205 "    nlink_t   st_nlink;   /* ハードリンクの数 */\n"
7206 "    uid_t     st_uid;     /* 所有者のユーザ ID */\n"
7207 "    gid_t     st_gid;     /* 所有者のグループ ID */\n"
7208 "    dev_t     st_rdev;    /* デバイス ID (特殊ファイルの場合) */\n"
7209 "    off_t     st_size;    /* 全体のサイズ (バイト単位) */\n"
7210 "    blksize_t st_blksize; /* ファイルシステム I/O での\n"
7211 "                             ブロックサイズ */\n"
7212 "    blkcnt_t  st_blocks;  /* 割り当てられた 512B のブロック数 */\n"
7213 "};\n"
7214
7215 #. type: Plain text
7216 #: build/C/man2/stat.2:155
7217 #, no-wrap
7218 msgid ""
7219 "    /* Since Linux 2.6, the kernel supports nanosecond\n"
7220 "       precision for the following timestamp fields.\n"
7221 "       For the details before Linux 2.6, see NOTES. */\n"
7222 msgstr ""
7223 "    /* Linux 2.6 以降では、カーネルは以下のタイムスタンプ\n"
7224 "       フィールドでナノ秒の精度をサポートしている。\n"
7225 "       Linux 2.6 より前のバージョンでの詳細は\n"
7226 "       下記の「注意」を参照。 */\n"
7227
7228 #. type: Plain text
7229 #: build/C/man2/stat.2:159
7230 #, no-wrap
7231 msgid ""
7232 "    struct timespec st_atim;  /* time of last access */\n"
7233 "    struct timespec st_mtim;  /* time of last modification */\n"
7234 "    struct timespec st_ctim;  /* time of last status change */\n"
7235 msgstr ""
7236 "    struct timespec st_atim;  /* 最終アクセス時刻 */\n"
7237 "    struct timespec st_mtim;  /* 最終修正時刻 */\n"
7238 "    struct timespec st_ctim;  /* 最終状態変更時刻 */\n"
7239
7240 #. type: Plain text
7241 #: build/C/man2/stat.2:164
7242 #, no-wrap
7243 msgid ""
7244 "#define st_atime st_atim.tv_sec      /* Backward compatibility */\n"
7245 "#define st_mtime st_mtim.tv_sec\n"
7246 "#define st_ctime st_ctim.tv_sec\n"
7247 "};\n"
7248 msgstr ""
7249 "#define st_atime st_atim.tv_sec      /* 後方互換性 */\n"
7250 "#define st_mtime st_mtim.tv_sec\n"
7251 "#define st_ctime st_ctim.tv_sec\n"
7252 "};\n"
7253
7254 #. type: Plain text
7255 #: build/C/man2/stat.2:177
7256 msgid ""
7257 "I<Note:> the order of fields in the I<stat> structure varies somewhat across "
7258 "architectures.  In addition, the definition above does not show the padding "
7259 "bytes that may be present between some fields on various architectures.  "
7260 "Consult the the glibc and kernel source code if you need to know the details."
7261 msgstr ""
7262 "I<注意:> I<stat> 構造体のフィールドの順序はアーキテクチャにより様々である。 "
7263 "また、上記の定義では、フィールド間に存在することがあるパディングバイトは書か"
7264 "れていない。このパディングバイトはアーキテクチャによっても異なる。詳細を知る"
7265 "必要がある場合は glibc とカーネルのソースを調べてほしい。"
7266
7267 #. type: Plain text
7268 #: build/C/man2/stat.2:186
7269 msgid ""
7270 "The I<st_dev> field describes the device on which this file resides.  (The "
7271 "B<major>(3)  and B<minor>(3)  macros may be useful to decompose the device "
7272 "ID in this field.)"
7273 msgstr ""
7274 "I<st_dev> フィールドは、このファイルが存在するデバイスを示す (マクロ "
7275 "B<major>(3), B<minor>(3)  は、このフィールドのデバイス ID を分解するのに役立"
7276 "つだろう)。"
7277
7278 #. type: Plain text
7279 #: build/C/man2/stat.2:190
7280 msgid ""
7281 "The I<st_rdev> field describes the device that this file (inode) represents."
7282 msgstr "I<st_rdev> フィールドは、このファイル (inode) が表すデバイスを示す。"
7283
7284 #. type: Plain text
7285 #: build/C/man2/stat.2:197
7286 msgid ""
7287 "The I<st_size> field gives the size of the file (if it is a regular file or "
7288 "a symbolic link) in bytes.  The size of a symbolic link is the length of the "
7289 "pathname it contains, without a terminating null byte."
7290 msgstr ""
7291 "I<st_size> フィールドは、(通常のファイルかシンボリックリンクの場合に)\n"
7292 "ファイルの大きさをバイト単位で示す。 シンボリックリンクの大きさは、\n"
7293 "シンボリックリンクに含まれている パス名の長さ (終端のヌルバイトは含まない)\n"
7294 "である。"
7295
7296 #. type: Plain text
7297 #: build/C/man2/stat.2:204
7298 msgid ""
7299 "The I<st_blocks> field indicates the number of blocks allocated to the file, "
7300 "512-byte units.  (This may be smaller than I<st_size>/512 when the file has "
7301 "holes.)"
7302 msgstr ""
7303 "I<st_blocks> フィールドは、ファイルの大きさを 512 バイトのブロックサイズ単位"
7304 "で示す フィールドは、ファイルに割り当てされたブロック数を 512 バイト単位で示"
7305 "す。 (ファイルに穴があるような場合、この値は I<st_size>/512 より小さくなるこ"
7306 "ともある)。"
7307
7308 #. type: Plain text
7309 #: build/C/man2/stat.2:210
7310 msgid ""
7311 "The I<st_blksize> field gives the \"preferred\" blocksize for efficient "
7312 "filesystem I/O.  (Writing to a file in smaller chunks may cause an "
7313 "inefficient read-modify-rewrite.)"
7314 msgstr ""
7315 "I<st_blksize> フィールドは、効率的にファイルシステム I/O ができる「好まし"
7316 "い」 ブロックサイズを示す (もっと小さい単位でファイルに書き込みを行うと、 読"
7317 "み出し--修正--再書き込みといった非効率な動作になってしまうかもしれない)。"
7318
7319 #. type: Plain text
7320 #: build/C/man2/stat.2:231
7321 msgid ""
7322 "Not all of the Linux filesystems implement all of the time fields.  Some "
7323 "filesystem types allow mounting in such a way that file and/or directory "
7324 "accesses do not cause an update of the I<st_atime> field.  (See I<noatime>, "
7325 "I<nodiratime>, and I<relatime> in B<mount>(8), and related information in "
7326 "B<mount>(2).)  In addition, I<st_atime> is not updated if a file is opened "
7327 "with the B<O_NOATIME>; see B<open>(2)."
7328 msgstr ""
7329 "全ての Linux のファイルシステムが全ての時間フィールドを 実装しているわけでは"
7330 "ない。 ファイルやディレクトリのアクセスが I<st_atime> フィールドを更新しない"
7331 "ようなかたちでマウントできるファイルシステムもある。 (B<mount>(8)  の "
7332 "I<noatime>, I<nodiratime>, I<relatime> や B<mount>(2)  の関連する情報を参"
7333 "照)。 また、ファイルが B<O_NOATIME> 付きでオープンされている場合には "
7334 "I<st_atime> は更新されない。 B<open>(2)  参照。"
7335
7336 #. type: Plain text
7337 #: build/C/man2/stat.2:246
7338 msgid ""
7339 "The field I<st_atime> is changed by file accesses, for example, by "
7340 "B<execve>(2), B<mknod>(2), B<pipe>(2), B<utime>(2), and B<read>(2)  (of more "
7341 "than zero bytes).  Other routines, like B<mmap>(2), may or may not update "
7342 "I<st_atime>."
7343 msgstr ""
7344 "I<st_atime> フィールドはファイルアクセスがあった場合に変更される (例えば、 "
7345 "B<execve>(2), B<mknod>(2), B<pipe>(2), B<utime>(2)  を使用した場合や "
7346 "B<read>(2)  で 1 バイト以上読み込んだ場合など)。 B<mmap>(2)  などの他のルーチ"
7347 "ンでは、 I<st_atime> は更新されることもあれば、そうでない場合もある。"
7348
7349 #. type: Plain text
7350 #: build/C/man2/stat.2:265
7351 msgid ""
7352 "The field I<st_mtime> is changed by file modifications, for example, by "
7353 "B<mknod>(2), B<truncate>(2), B<utime>(2), and B<write>(2)  (of more than "
7354 "zero bytes).  Moreover, I<st_mtime> of a directory is changed by the "
7355 "creation or deletion of files in that directory.  The I<st_mtime> field is "
7356 "I<not> changed for changes in owner, group, hard link count, or mode."
7357 msgstr ""
7358 "I<st_mtime> フィールドは、ファイルが修正された場合に変更される (例えば、 "
7359 "B<mknod>(2), B<truncate>(2), B<utime>(2)  を使用した場合や B<write>(2)  で 1 "
7360 "バイト以上書き込みをした場合など)。 さらに、ディレクトリの I<st_mtime> は、そ"
7361 "のディレクトリで ファイルが作成されたり削除されたりすると変更される。 "
7362 "I<st_mtime> フィールドは 所有者やグループやハード・リンク数やモードの変更では"
7363 "変更 I<されない。>"
7364
7365 #. type: Plain text
7366 #: build/C/man2/stat.2:270
7367 msgid ""
7368 "The field I<st_ctime> is changed by writing or by setting inode information "
7369 "(i.e., owner, group, link count, mode, etc.)."
7370 msgstr ""
7371 "I<st_ctime> フィールドは書き込みや inode 情報 (所有者、グループ、リンク数、"
7372 "モードなど) の 設定によって変更される。"
7373
7374 #. type: Plain text
7375 #: build/C/man2/stat.2:274
7376 msgid ""
7377 "The following mask values are defined for the file type component of the "
7378 "I<st_mode> field:"
7379 msgstr ""
7380 "以下のマスク値が I<st_mode> フィールドのファイル種別の検査用に定義されてい"
7381 "る。"
7382
7383 #. type: tbl table
7384 #: build/C/man2/stat.2:277
7385 #, no-wrap
7386 msgid "S_IFMT\t0170000\tbit mask for the file type bit fields\n"
7387 msgstr "S_IFMT\t0170000\tファイル種別を示すビット領域を表すビットマスク\n"
7388
7389 #. type: tbl table
7390 #: build/C/man2/stat.2:279
7391 #, no-wrap
7392 msgid "S_IFSOCK\t0140000\tsocket\n"
7393 msgstr "S_IFSOCK\t0140000\tソケット\n"
7394
7395 #. type: tbl table
7396 #: build/C/man2/stat.2:280
7397 #, no-wrap
7398 msgid "S_IFLNK\t0120000\tsymbolic link\n"
7399 msgstr "S_IFLNK\t0120000\tシンボリックリンク\n"
7400
7401 #. type: tbl table
7402 #: build/C/man2/stat.2:281
7403 #, no-wrap
7404 msgid "S_IFREG\t0100000\tregular file\n"
7405 msgstr "S_IFREG\t0100000\t通常のファイル\n"
7406
7407 #. type: tbl table
7408 #: build/C/man2/stat.2:282
7409 #, no-wrap
7410 msgid "S_IFBLK\t0060000\tblock device\n"
7411 msgstr "S_IFBLK\t0060000\tブロック・デバイス\n"
7412
7413 #. type: tbl table
7414 #: build/C/man2/stat.2:283
7415 #, no-wrap
7416 msgid "S_IFDIR\t0040000\tdirectory\n"
7417 msgstr "S_IFDIR\t0040000\tディレクトリ\n"
7418
7419 #. type: tbl table
7420 #: build/C/man2/stat.2:284
7421 #, no-wrap
7422 msgid "S_IFCHR\t0020000\tcharacter device\n"
7423 msgstr "S_IFCHR\t0020000\tキャラクター・デバイス\n"
7424
7425 #. type: tbl table
7426 #: build/C/man2/stat.2:285
7427 #, no-wrap
7428 msgid "S_IFIFO\t0010000\tFIFO\n"
7429 msgstr "S_IFIFO\t0010000\tFIFO\n"
7430
7431 #. type: Plain text
7432 #: build/C/man2/stat.2:290
7433 msgid "Thus, to test for a regular file (for example), one could write:"
7434 msgstr ""
7435 "したがって、(例えば) 通常のファイルかどうかを検査するには、以下のようにすれば"
7436 "よい。"
7437
7438 #. type: Plain text
7439 #: build/C/man2/stat.2:297
7440 #, no-wrap
7441 msgid ""
7442 "stat(pathname, &sb);\n"
7443 "if ((sb.st_mode & S_IFMT) == S_IFREG) {\n"
7444 "    /* Handle regular file */\n"
7445 "}\n"
7446 msgstr ""
7447 "stat(pathname, &sb);\n"
7448 "if ((sb.st_mode & S_IFMT) == S_IFREG) {\n"
7449 "    /* Handle regular file */\n"
7450 "}\n"
7451
7452 #. type: Plain text
7453 #: build/C/man2/stat.2:304
7454 msgid ""
7455 "Because tests of the above form are common, additional macros are defined by "
7456 "POSIX to allow the test of the file type in I<st_mode> to be written more "
7457 "concisely:"
7458 msgstr ""
7459 "上記の形の検査はよくあるので、 POSIX では以下のマクロが定義されており、 "
7460 "I<st_mode> のファイル種別の検査をより簡単に書けるようになっている。"
7461
7462 #. type: TP
7463 #: build/C/man2/stat.2:305
7464 #, no-wrap
7465 msgid "B<S_ISREG>(m)"
7466 msgstr "B<S_ISREG>(m)"
7467
7468 #. type: Plain text
7469 #: build/C/man2/stat.2:308
7470 msgid "is it a regular file?"
7471 msgstr "通常のファイルか?"
7472
7473 #. type: TP
7474 #: build/C/man2/stat.2:308
7475 #, no-wrap
7476 msgid "B<S_ISDIR>(m)"
7477 msgstr "B<S_ISDIR>(m)"
7478
7479 #. type: Plain text
7480 #: build/C/man2/stat.2:311
7481 msgid "directory?"
7482 msgstr "ディレクトリか?"
7483
7484 #. type: TP
7485 #: build/C/man2/stat.2:311
7486 #, no-wrap
7487 msgid "B<S_ISCHR>(m)"
7488 msgstr "B<S_ISCHR>(m)"
7489
7490 #. type: Plain text
7491 #: build/C/man2/stat.2:314
7492 msgid "character device?"
7493 msgstr "キャラクター・デバイスか?"
7494
7495 #. type: TP
7496 #: build/C/man2/stat.2:314
7497 #, no-wrap
7498 msgid "B<S_ISBLK>(m)"
7499 msgstr "B<S_ISBLK>(m)"
7500
7501 #. type: Plain text
7502 #: build/C/man2/stat.2:317
7503 msgid "block device?"
7504 msgstr "ブロック・デバイスか?"
7505
7506 #. type: TP
7507 #: build/C/man2/stat.2:317
7508 #, no-wrap
7509 msgid "B<S_ISFIFO>(m)"
7510 msgstr "B<S_ISFIFO>(m)"
7511
7512 #. type: Plain text
7513 #: build/C/man2/stat.2:320
7514 msgid "FIFO (named pipe)?"
7515 msgstr "FIFO (名前付きパイプ) か?"
7516
7517 #. type: TP
7518 #: build/C/man2/stat.2:320
7519 #, no-wrap
7520 msgid "B<S_ISLNK>(m)"
7521 msgstr "B<S_ISLNK>(m)"
7522
7523 #. type: Plain text
7524 #: build/C/man2/stat.2:323
7525 msgid "symbolic link? (Not in POSIX.1-1996.)"
7526 msgstr "シンボリックリンクか? (POSIX.1-1996 にはない)"
7527
7528 #. type: TP
7529 #: build/C/man2/stat.2:323
7530 #, no-wrap
7531 msgid "B<S_ISSOCK>(m)"
7532 msgstr "B<S_ISSOCK>(m)"
7533
7534 #. type: Plain text
7535 #: build/C/man2/stat.2:326
7536 msgid "socket? (Not in POSIX.1-1996.)"
7537 msgstr "ソケットか? (POSIX.1-1996 にはない)"
7538
7539 #. type: Plain text
7540 #: build/C/man2/stat.2:329
7541 msgid "The preceding code snippet could thus be rewritten as:"
7542 msgstr "上で挙げたコードは以下のように書き換えることができる。"
7543
7544 #. type: Plain text
7545 #: build/C/man2/stat.2:336
7546 #, no-wrap
7547 msgid ""
7548 "stat(pathname, &sb);\n"
7549 "if (S_ISREG(sb.st_mode)) {\n"
7550 "    /* Handle regular file */\n"
7551 "}\n"
7552 msgstr ""
7553 "stat(pathname, &sb);\n"
7554 "if (S_ISREG(sb.st_mode)) {\n"
7555 "    /* Handle regular file */\n"
7556 "}\n"
7557
7558 #. type: Plain text
7559 #: build/C/man2/stat.2:360
7560 msgid ""
7561 "The definitions of most of the above file type test macros are provided if "
7562 "any of the following feature test macros is defined: B<_BSD_SOURCE> (in "
7563 "glibc 2.19 and earlier), B<_SVID_SOURCE> (in glibc 2.19 and earlier), or "
7564 "B<_DEFAULT_SOURCE> (in glibc 2.20 and later).  In addition, definitions of "
7565 "all of the above macros except B<S_IFSOCK> and B<S_ISSOCK>()  are provided "
7566 "if B<_XOPEN_SOURCE> is defined.  The definition of B<S_IFSOCK> can also be "
7567 "exposed by defining B<_XOPEN_SOURCE> with a value of 500 or greater."
7568 msgstr ""
7569 "上記のほとんどのファイル種別検査マクロの定義は、 機能検査マクロ "
7570 "B<_BSD_SOURCE> (glibc 2.19 以前の場合)、 B<_SVID_SOURCE> (glibc 2.19 以前の場"
7571 "合)、 B<_DEFAULT_SOURCE> (glibc 2.20 以降の場合) のいずれかが定義されている場"
7572 "合に公開される。 さらに、 B<S_IFSOCK> と B<S_ISSOCK> 以外の上記のすべてのマク"
7573 "ロの定義は B<_XOPEN_SOURCE> が定義されている場合にも公開される。 B<S_IFSOCK> "
7574 "の定義は B<_XOPEN_SOURCE> が値 500 以上で定義された場合にも公開される。"
7575
7576 #. type: Plain text
7577 #: build/C/man2/stat.2:372
7578 msgid ""
7579 "The definition of B<S_ISSOCK>()  is exposed if any of the following feature "
7580 "test macros is defined: B<_BSD_SOURCE> (in glibc 2.19 and earlier), "
7581 "B<_DEFAULT_SOURCE> (in glibc 2.20 and later), B<_XOPEN_SOURCE> with a value "
7582 "of 500 or greater, or B<_POSIX_C_SOURCE> with a value of 200112L or greater."
7583 msgstr ""
7584 "B<S_ISSOCK>() の定義が公開されるのは以下の機能検査マクロが定義されている場合"
7585 "である: B<_BSD_SOURCE> (glibc 2.19 以前の場合)、 B<_DEFAULT_SOURCE> (glibc "
7586 "2.20 以降の場合)、 値 500 以上の B<_XOPEN_SOURCE>、 値が 200112L 以上の "
7587 "B<_POSIX_C_SOURCE>。"
7588
7589 #. type: Plain text
7590 #: build/C/man2/stat.2:377
7591 msgid ""
7592 "The following mask values are defined for the file permissions component of "
7593 "the I<st_mode> field:"
7594 msgstr ""
7595 "以下のマスク値が I<st_mode> フィールドのファイルのアクセス許可の検査用に定義"
7596 "されている。"
7597
7598 #. type: tbl table
7599 #: build/C/man2/stat.2:380
7600 #, no-wrap
7601 msgid "S_ISUID\t0004000\tset-user-ID bit\n"
7602 msgstr "S_ISUID\t0004000\tset-user-ID bit\n"
7603
7604 #. type: tbl table
7605 #: build/C/man2/stat.2:381
7606 #, no-wrap
7607 msgid "S_ISGID\t0002000\tset-group-ID bit (see below)\n"
7608 msgstr "S_ISGID\t0002000\tset-group-ID bit (下記参照)\n"
7609
7610 #. type: tbl table
7611 #: build/C/man2/stat.2:382
7612 #, no-wrap
7613 msgid "S_ISVTX\t0001000\tsticky bit (see below)\n"
7614 msgstr "S_ISVTX\t0001000\tスティッキー・ビット (下記参照)\n"
7615
7616 #. type: tbl table
7617 #: build/C/man2/stat.2:384
7618 #, no-wrap
7619 msgid "S_IRWXU\t  00700\tmask for file owner permissions\n"
7620 msgstr "S_IRWXU\t  00700\tファイル所有者のアクセス許可用のビットマスク\n"
7621
7622 #. type: tbl table
7623 #: build/C/man2/stat.2:385
7624 #, no-wrap
7625 msgid "S_IRUSR\t  00400\towner has read permission\n"
7626 msgstr "S_IRUSR\t  00400\t所有者の読み込み許可\n"
7627
7628 #. type: tbl table
7629 #: build/C/man2/stat.2:386
7630 #, no-wrap
7631 msgid "S_IWUSR\t  00200\towner has write permission\n"
7632 msgstr "S_IWUSR\t  00200\t所有者の書き込み許可\n"
7633
7634 #. type: tbl table
7635 #: build/C/man2/stat.2:387
7636 #, no-wrap
7637 msgid "S_IXUSR\t  00100\towner has execute permission\n"
7638 msgstr "S_IXUSR\t  00100\t所有者の実行許可\n"
7639
7640 #. type: tbl table
7641 #: build/C/man2/stat.2:389
7642 #, no-wrap
7643 msgid "S_IRWXG\t  00070\tmask for group permissions\n"
7644 msgstr "S_IRWXG\t  00070\tグループのアクセス許可用のビットマスク\n"
7645
7646 #. type: tbl table
7647 #: build/C/man2/stat.2:390
7648 #, no-wrap
7649 msgid "S_IRGRP\t  00040\tgroup has read permission\n"
7650 msgstr "S_IRGRP\t  00040\tグループの読み込み許可\n"
7651
7652 #. type: tbl table
7653 #: build/C/man2/stat.2:391
7654 #, no-wrap
7655 msgid "S_IWGRP\t  00020\tgroup has write permission\n"
7656 msgstr "S_IWGRP\t  00020\tグループの書き込み許可\n"
7657
7658 #. type: tbl table
7659 #: build/C/man2/stat.2:392
7660 #, no-wrap
7661 msgid "S_IXGRP\t  00010\tgroup has execute permission\n"
7662 msgstr "S_IXGRP\t  00010\tグループの実行許可\n"
7663
7664 #. type: tbl table
7665 #: build/C/man2/stat.2:394
7666 #, no-wrap
7667 msgid "S_IRWXO\t  00007\tT{\n"
7668 msgstr "S_IRWXO\t  00007\tT{\n"
7669
7670 #. type: tbl table
7671 #: build/C/man2/stat.2:395
7672 #, no-wrap
7673 msgid "mask for permissions for others (not in group)\n"
7674 msgstr "他人 (others) のアクセス許可用のビットマスク\n"
7675
7676 #. type: tbl table
7677 #: build/C/man2/stat.2:396 build/C/man2/stat.2:695 build/C/man2/stat.2:703
7678 #: build/C/man2/stat.2:714 build/C/man2/stat.2:726 build/C/man2/stat.2:731
7679 #: build/C/man2/stat.2:734 build/C/man2/stat.2:738
7680 #, no-wrap
7681 msgid "T}\n"
7682 msgstr "T}\n"
7683
7684 #. type: tbl table
7685 #: build/C/man2/stat.2:397
7686 #, no-wrap
7687 msgid "S_IROTH\t  00004\tothers have read permission\n"
7688 msgstr "S_IROTH\t  00004\t他人の読み込み許可\n"
7689
7690 #. type: tbl table
7691 #: build/C/man2/stat.2:398
7692 #, no-wrap
7693 msgid "S_IWOTH\t  00002\tothers have write permission\n"
7694 msgstr "S_IWOTH\t  00002\t他人の書き込み許可\n"
7695
7696 #. type: tbl table
7697 #: build/C/man2/stat.2:399
7698 #, no-wrap
7699 msgid "S_IXOTH\t  00001\tothers have execute permission\n"
7700 msgstr "S_IXOTH\t  00001\t他人の実行許可\n"
7701
7702 #. type: Plain text
7703 #: build/C/man2/stat.2:416
7704 msgid ""
7705 "The set-group-ID bit (B<S_ISGID>)  has several special uses.  For a "
7706 "directory, it indicates that BSD semantics is to be used for that directory: "
7707 "files created there inherit their group ID from the directory, not from the "
7708 "effective group ID of the creating process, and directories created there "
7709 "will also get the B<S_ISGID> bit set.  For a file that does not have the "
7710 "group execution bit (B<S_IXGRP>)  set, the set-group-ID bit indicates "
7711 "mandatory file/record locking."
7712 msgstr ""
7713 "set-group-ID bit (B<S_ISGID>)  にはいくつかの特殊な使用法がある: ディレクトリ"
7714 "に設定した場合には、そのディレクトリが BSD 方式で使用される ことを示す。つま"
7715 "り、そのディレクトリに作成されたファイルのグループID は 作成したプロセスの実"
7716 "効 (effective) グループID ではなく、ディレクトリの グループID を継承する。ま"
7717 "た、そのディレクトリに作成されたディレクトリにも B<S_ISGID> ビットが設定され"
7718 "る。グループ実行ビット (B<S_IXGRP>)  が設定されていないファイルに設定された場"
7719 "合は、 set-group-ID ビットはファイル/レコードの 強制的な (mandatory) ロックを"
7720 "表す。"
7721
7722 #. type: Plain text
7723 #: build/C/man2/stat.2:425
7724 msgid ""
7725 "The sticky bit (B<S_ISVTX>)  on a directory means that a file in that "
7726 "directory can be renamed or deleted only by the owner of the file, by the "
7727 "owner of the directory, and by a privileged process."
7728 msgstr ""
7729 "ディレクトリにスティッキービット (S_ISVTX) が設定された場合は、 そのディレク"
7730 "トリのファイルの名前を変更したり、削除したりできるのは、 そのファイルの所有者"
7731 "か、そのディレクトリの所有者か、特権プロセス だけとなる。"
7732
7733 #. type: SS
7734 #: build/C/man2/stat.2:425
7735 #, no-wrap
7736 msgid "fstatat()"
7737 msgstr "fstatat()"
7738
7739 #. type: Plain text
7740 #: build/C/man2/stat.2:431
7741 msgid ""
7742 "The B<fstatat>()  system call operates in exactly the same way as B<stat>(), "
7743 "except for the differences described here."
7744 msgstr ""
7745 "B<fstatat>() システムコールは B<stat>() と全く同様に動作するが、以下で説明す"
7746 "る点が異なる。"
7747
7748 #. type: Plain text
7749 #: build/C/man2/stat.2:441
7750 msgid ""
7751 "If the pathname given in I<pathname> is relative, then it is interpreted "
7752 "relative to the directory referred to by the file descriptor I<dirfd> "
7753 "(rather than relative to the current working directory of the calling "
7754 "process, as is done by B<stat>()  for a relative pathname)."
7755 msgstr ""
7756 "指定された I<pathname> が相対パスの場合、 ファイルディスクリプタ I<dirfd> が"
7757 "参照するディレクトリに対する相対パスと解釈される (B<stat>() に相対パスを渡し"
7758 "た場合のように、呼び出したプロセスのカレントワーキングディレクトリに対する相"
7759 "対パスではない)。"
7760
7761 #. type: Plain text
7762 #: build/C/man2/stat.2:453
7763 msgid ""
7764 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
7765 "then I<pathname> is interpreted relative to the current working directory of "
7766 "the calling process (like B<stat>())."
7767 msgstr ""
7768 "I<pathname> が相対パスで、 I<dirfd> が特別な値 B<AT_FDCWD> の場合、 "
7769 "(B<stat>(2) と同様に) I<pathname> は呼び出したプロセスのカレントワーキング"
7770 "ディレクトリに対する相対パスと解釈される。"
7771
7772 #. type: Plain text
7773 #: build/C/man2/stat.2:459
7774 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
7775 msgstr ""
7776 "I<pathname> で指定されたパス名が絶対パスの場合、 I<dirfd> は無視される。"
7777
7778 #. type: Plain text
7779 #: build/C/man2/stat.2:462
7780 msgid ""
7781 "I<flags> can either be 0, or include one or more of the following flags ORed:"
7782 msgstr ""
7783 "この I<flags> 引き数は下記のフラグの 0 個以上の論理和を取ったものである:"
7784
7785 #. type: TP
7786 #: build/C/man2/stat.2:462
7787 #, no-wrap
7788 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
7789 msgstr "B<AT_EMPTY_PATH> (Linux 2.6.39 以降)"
7790
7791 #.  commit 65cfc6722361570bfe255698d9cd4dccaf47570d
7792 #.  Before glibc 2.16, defining _ATFILE_SOURCE sufficed
7793 #. type: Plain text
7794 #: build/C/man2/stat.2:485
7795 msgid ""
7796 "If I<pathname> is an empty string, operate on the file referred to by "
7797 "I<dirfd> (which may have been obtained using the B<open>(2)  B<O_PATH> "
7798 "flag).  If I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
7799 "directory.  In this case, I<dirfd> can refer to any type of file, not just a "
7800 "directory.  This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
7801 "definition."
7802 msgstr ""
7803 "I<pathname> が空文字列の場合、 I<dirfd> が参照するファイルに対して操作を行う "
7804 "(I<dirfd> は B<open>(2) の B<O_PATH> フラグを使って取得できる)。 B<dirfd> が "
7805 "B<AT_FDCWD> の場合、呼び出しはカレントワーキングディレクトリに対して操作を行"
7806 "う。 この場合、 I<dirfd> は、ディレクトリだけでなく、任意のタイプのファイルを"
7807 "参照することができる。 このフラグは Linux 固有であり、その定義を得るには "
7808 "B<_GNU_SOURCE> を定義すること。"
7809
7810 #. type: TP
7811 #: build/C/man2/stat.2:485
7812 #, no-wrap
7813 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
7814 msgstr "B<AT_NO_AUTOMOUNT> (Linux 2.6.38 以降)"
7815
7816 #.  Before glibc 2.16, defining _ATFILE_SOURCE sufficed
7817 #. type: Plain text
7818 #: build/C/man2/stat.2:501
7819 msgid ""
7820 "Don't automount the terminal (\"basename\") component of I<pathname> if it "
7821 "is a directory that is an automount point.  This allows the caller to gather "
7822 "attributes of an automount point (rather than the location it would mount).  "
7823 "This flag can be used in tools that scan directories to prevent mass-"
7824 "automounting of a directory of automount points.  The B<AT_NO_AUTOMOUNT> "
7825 "flag has no effect if the mount point has already been mounted over.  This "
7826 "flag is Linux-specific; define B<_GNU_SOURCE> to obtain its definition."
7827 msgstr ""
7828 "I<pathname> がオートマウントポイントとなっているディレクトリの場合、 "
7829 "I<pathname> の最終 (\"basename\") 要素のオートマウントを行わない。 これによ"
7830 "り (マウントされるはずの場所ではなく) オートマウントポイントの属性を取得する"
7831 "ことができる。 このフラグを使うと、 ディレクトリをスキャンするツールがオート"
7832 "マウントポイントのディレクトリを大量にオートマウントしてしまうのを防ぐことが"
7833 "できる。 マウントポイントがすでにマウントされている場合 B<AT_NO_AUTOMOUNT> フ"
7834 "ラグは何の効果もない。 このフラグは Linux 固有であり、その定義を得るには "
7835 "B<_GNU_SOURCE> を定義すること。"
7836
7837 #. type: TP
7838 #: build/C/man2/stat.2:501
7839 #, no-wrap
7840 msgid "B<AT_SYMLINK_NOFOLLOW>"
7841 msgstr "B<AT_SYMLINK_NOFOLLOW>"
7842
7843 #. type: Plain text
7844 #: build/C/man2/stat.2:512
7845 msgid ""
7846 "If I<pathname> is a symbolic link, do not dereference it: instead return "
7847 "information about the link itself, like B<lstat>().  (By default, "
7848 "B<fstatat>()  dereferences symbolic links, like B<stat>().)"
7849 msgstr ""
7850 "(B<lstat>() 同様) I<pathname> がシンボリックリンクの場合リンクの展開を行わ"
7851 "ず、 リンク自身の情報を返す (デフォルトでは、 B<fstatat>() は、 B<stat>() と"
7852 "同様に、シンボリックリンクの展開を行う)。"
7853
7854 #. type: Plain text
7855 #: build/C/man2/stat.2:517
7856 msgid "See B<openat>(2)  for an explanation of the need for B<fstatat>()."
7857 msgstr "B<fstatat>() の必要性についての説明については B<openat>(2) を参照。"
7858
7859 #. type: Plain text
7860 #: build/C/man2/stat.2:530
7861 msgid ""
7862 "Search permission is denied for one of the directories in the path prefix of "
7863 "I<pathname>.  (See also B<path_resolution>(7).)"
7864 msgstr ""
7865 "I<pathname> が所属するディレクトリとその上位のディレクトリのいずれかに 対する"
7866 "検索許可がなかった (B<path_resolution>(7)  も参照のこと)。"
7867
7868 #. type: Plain text
7869 #: build/C/man2/stat.2:534
7870 msgid "I<fd> is bad."
7871 msgstr "I<fd> が不正である。"
7872
7873 #. type: Plain text
7874 #: build/C/man2/stat.2:537
7875 msgid "Bad address."
7876 msgstr "アドレスが間違っている。"
7877
7878 #. type: Plain text
7879 #: build/C/man2/stat.2:540
7880 msgid "Too many symbolic links encountered while traversing the path."
7881 msgstr "パスを辿る際に解決すべきシンボリックリンクが多過ぎた。"
7882
7883 #. type: Plain text
7884 #: build/C/man2/stat.2:551
7885 msgid ""
7886 "A component of I<pathname> does not exist, or I<pathname> is an empty string."
7887 msgstr "I<pathname> の構成要素が存在しないか、 I<pathname> が空文字列である。"
7888
7889 #. type: Plain text
7890 #: build/C/man2/stat.2:554
7891 msgid "Out of memory (i.e., kernel memory)."
7892 msgstr "カーネルのメモリが足りない。"
7893
7894 #. type: Plain text
7895 #: build/C/man2/stat.2:559
7896 msgid "A component of the path prefix of I<pathname> is not a directory."
7897 msgstr "I<pathname> の前半部分 (prefix) の構成要素がディレクトリではない。"
7898
7899 #. type: TP
7900 #: build/C/man2/stat.2:559 build/C/man2/statfs.2:215
7901 #: build/C/man3/statvfs.3:154
7902 #, no-wrap
7903 msgid "B<EOVERFLOW>"
7904 msgstr "B<EOVERFLOW>"
7905
7906 #. type: Plain text
7907 #: build/C/man2/stat.2:578
7908 msgid ""
7909 "I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
7910 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
7911 "or I<blkcnt_t>.  This error can occur when, for example, an application "
7912 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
7913 "B<stat>()  on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
7914 msgstr ""
7915 "I<pathname> または I<fd> が、ファイルサイズ、inode 番号、ブロック数が\n"
7916 "それぞれ I<off_t> 型、 I<ino_t> 型、 I<blkcnt_t> 型で表現できないファイルを\n"
7917 "参照している。このエラーが起こるのは、例えば、32 ビットプラットフォーム上で\n"
7918 "I<-D_FILE_OFFSET_BITS=64> を指定せずにコンパイルされたアプリケーションが、\n"
7919 "ファイルサイズが I<(1E<lt>E<lt>31)-1> バイトを超えるファイルに対して\n"
7920 "B<stat>() を呼び出した場合である。"
7921
7922 #. type: Plain text
7923 #: build/C/man2/stat.2:581
7924 msgid "The following additional errors can occur for B<fstatat>():"
7925 msgstr "B<fstatat>() では以下のエラーも発生することがある。"
7926
7927 #. type: Plain text
7928 #: build/C/man2/stat.2:585
7929 msgid "I<dirfd> is not a valid file descriptor."
7930 msgstr "I<dirfd> が有効なファイルディスクリプタでない。"
7931
7932 #. type: Plain text
7933 #: build/C/man2/stat.2:589
7934 msgid "Invalid flag specified in I<flags>."
7935 msgstr "I<flags> に無効なフラグが指定された。"
7936
7937 #. type: Plain text
7938 #: build/C/man2/stat.2:595
7939 msgid ""
7940 "I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
7941 "file other than a directory."
7942 msgstr ""
7943 "I<pathname> が相対パスで、 I<dirfd> がディレクトリ以外のファイルを参照してい"
7944 "るファイルディスクリプタである。"
7945
7946 #. type: Plain text
7947 #: build/C/man2/stat.2:599
7948 msgid ""
7949 "B<fstatat>()  was added to Linux in kernel 2.6.16; library support was added "
7950 "to glibc in version 2.4."
7951 msgstr ""
7952 "B<fstatat>()  はカーネル 2.6.16 で Linux に追加された。 ライブラリによるサ"
7953 "ポートはバージョン 2.4 で glibc に追加された。"
7954
7955 #.  SVr4 documents additional
7956 #.  .BR fstat ()
7957 #.  error conditions EINTR, ENOLINK, and EOVERFLOW.  SVr4
7958 #.  documents additional
7959 #.  .BR stat ()
7960 #.  and
7961 #.  .BR lstat ()
7962 #.  error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
7963 #. type: Plain text
7964 #: build/C/man2/stat.2:612
7965 msgid ""
7966 "B<stat>(), B<fstat>(), B<lstat>(): SVr4, 4.3BSD, POSIX.1-2001, POSIX.1.2008."
7967 msgstr ""
7968 "B<stat>(), B<fstat>(), B<lstat>(): SVr4, 4.3BSD, POSIX.1-2001, POSIX.1.2008."
7969
7970 #. type: Plain text
7971 #: build/C/man2/stat.2:615
7972 msgid "B<fstatat>(): POSIX.1-2008."
7973 msgstr "B<fstatat>(): POSIX.1-2008."
7974
7975 #. type: Plain text
7976 #: build/C/man2/stat.2:629
7977 msgid ""
7978 "According to POSIX.1-2001, B<lstat>()  on a symbolic link need return valid "
7979 "information only in the I<st_size> field and the file-type component of the "
7980 "I<st_mode> field of the I<stat> structure.  POSIX.1-2008 tightens the "
7981 "specification, requiring B<lstat>()  to return valid information in all "
7982 "fields except the permission bits in I<st_mode>."
7983 msgstr ""
7984 "POSIX.1-2001 では、シンボリックリンクに対する B<lstat>() で\n"
7985 "有効な情報を返すように求められていたのは、 I<stat> 構造体の I<st_size>\n"
7986 "と I<st_mode> のファイル種別要素だけであった。\n"
7987 "POSIX.1-2008 では規定が厳しくなり、 B<lstat>() は I<st_mode> の\n"
7988 "アクセス許可ビット以外の全てのフィールドに有効な情報を返すことが\n"
7989 "求められるようになっている。"
7990
7991 #. type: Plain text
7992 #: build/C/man2/stat.2:649
7993 msgid ""
7994 "Use of the I<st_blocks> and I<st_blksize> fields may be less portable.  "
7995 "(They were introduced in BSD.  The interpretation differs between systems, "
7996 "and possibly on a single system when NFS mounts are involved.)  If you need "
7997 "to obtain the definition of the I<blkcnt_t> or I<blksize_t> types from "
7998 "I<E<lt>sys/stat.hE<gt>>, then define B<_XOPEN_SOURCE> with the value 500 or "
7999 "greater (before including I<any> header files)."
8000 msgstr ""
8001 "I<st_blocks> と I<st_blksize> フィールドの使用はあまり移植性がない\n"
8002 "(これらのフィールドは BSD によって導入された。 システムごとに解釈が\n"
8003 "異なっており、 NFS マウントの場合には同じシステムでも異なる可能性がある)。\n"
8004 "I<E<lt>sys/stat.hE<gt>> から I<blkcnt_t> の I<blksize_t> 型定義を\n"
8005 "読み込みたい場合は、(I<どの>ヘッダファイルをインクルードするよりも前に)\n"
8006 "B<_XOPEN_SOURCE> を 500 以上の値で定義すること。"
8007
8008 #. type: Plain text
8009 #: build/C/man2/stat.2:667
8010 msgid ""
8011 "POSIX.1-1990 did not describe the B<S_IFMT>, B<S_IFSOCK>, B<S_IFLNK>, "
8012 "B<S_IFREG>, B<S_IFBLK>, B<S_IFDIR>, B<S_IFCHR>, B<S_IFIFO>, B<S_ISVTX> "
8013 "constants, but instead demanded the use of the macros B<S_ISDIR>(), and so "
8014 "on.  The B<S_IF*> constants are present in POSIX.1-2001 and later."
8015 msgstr ""
8016 "POSIX.1-1990 には B<S_IFMT>, B<S_IFSOCK>, B<S_IFLNK>, B<S_IFREG>,\n"
8017 "B<S_IFBLK>, B<S_IFDIR>, B<S_IFCHR>, B<S_IFIFO>, B<S_ISVTX> 定数に関する\n"
8018 "記述はなかったが、代わりに B<S_ISDIR>() のようなマクロを使用するように\n"
8019 "要求していた。 B<S_IF*> 定数は POSIX.1-2001 以降には存在する。"
8020
8021 #. type: Plain text
8022 #: build/C/man2/stat.2:675
8023 msgid ""
8024 "The B<S_ISLNK>()  and B<S_ISSOCK>()  macros are not in POSIX.1-1996, but "
8025 "both are present in POSIX.1-2001; the former is from SVID 4, the latter from "
8026 "SUSv2."
8027 msgstr ""
8028 "マクロ B<S_ISLNK>() と B<S_ISSOCK>() は POSIX.1-1996 にはないが、\n"
8029 "POSIX.1-2001 には両方とも存在する。 前者は SVID 4 に、後者は SUSv2 に\n"
8030 "由来している。"
8031
8032 #. type: Plain text
8033 #: build/C/man2/stat.2:685
8034 msgid ""
8035 "UNIX\\ V7 (and later systems) had B<S_IREAD>, B<S_IWRITE>, B<S_IEXEC>, where "
8036 "POSIX prescribes the synonyms B<S_IRUSR>, B<S_IWUSR>, B<S_IXUSR>."
8037 msgstr ""
8038 "UNIX\\ V7 (とその後のシステム) は B<S_IREAD>, B<S_IWRITE>, B<S_IEXEC> を持っ"
8039 "ており、\n"
8040 "POSIX はその同義語として B<S_IRUSR>, B<S_IWUSR>, B<S_IXUSR> を規定している。"
8041
8042 #. type: SS
8043 #: build/C/man2/stat.2:685
8044 #, no-wrap
8045 msgid "Other systems"
8046 msgstr "他のシステム"
8047
8048 #. type: Plain text
8049 #: build/C/man2/stat.2:687
8050 msgid "Values that have been (or are) in use on various systems:"
8051 msgstr "各種システムで使用されていた(いる)値:"
8052
8053 #. type: tbl table
8054 #: build/C/man2/stat.2:690
8055 #, no-wrap
8056 msgid "hex\tname\tls\toctal\tdescription\n"
8057 msgstr "16進\t名前\tls\t8進数\t説明\n"
8058
8059 #. type: tbl table
8060 #: build/C/man2/stat.2:691
8061 #, no-wrap
8062 msgid "f000\tS_IFMT\t\t170000\tmask for file type\n"
8063 msgstr "f000\tS_IFMT\t\t170000\tファイル種別フィールドのビットマスク\n"
8064
8065 #. type: tbl table
8066 #: build/C/man2/stat.2:692
8067 #, no-wrap
8068 msgid "0000\t\t\t000000\tT{\n"
8069 msgstr "0000\t\t\t000000\tT{\n"
8070
8071 #. type: tbl table
8072 #: build/C/man2/stat.2:693
8073 #, no-wrap
8074 msgid "SCO out-of-service inode; BSD unknown type; SVID-v2 and XPG2\n"
8075 msgstr "SCO では 使用不能 inode; BSD では不明なファイル種別;\n"
8076
8077 #. type: tbl table
8078 #: build/C/man2/stat.2:694
8079 #, no-wrap
8080 msgid "have both 0 and 0100000 for ordinary file\n"
8081 msgstr "SVID-v2 と XPG2 では 0 と 0100000 の両方が通常のファイル\n"
8082
8083 #. type: tbl table
8084 #: build/C/man2/stat.2:696
8085 #, no-wrap
8086 msgid "1000\tS_IFIFO\tp|\t010000\tFIFO (named pipe)\n"
8087 msgstr "1000\tS_IFIFO\tp|\t010000\tFIFO (名前付きパイプ)\n"
8088
8089 #. type: tbl table
8090 #: build/C/man2/stat.2:697
8091 #, no-wrap
8092 msgid "2000\tS_IFCHR\tc\t020000\tcharacter special (V7)\n"
8093 msgstr "2000\tS_IFCHR\tc\t020000\tキャラクタ特殊ファイル (V7)\n"
8094
8095 #. type: tbl table
8096 #: build/C/man2/stat.2:698
8097 #, no-wrap
8098 msgid "3000\tS_IFMPC\t\t030000\tmultiplexed character special (V7)\n"
8099 msgstr "3000\tS_IFMPC\t\t030000\t多重化されたキャラクタ特殊ファイル (V7)\n"
8100
8101 #. type: tbl table
8102 #: build/C/man2/stat.2:699
8103 #, no-wrap
8104 msgid "4000\tS_IFDIR\td/\t040000\tdirectory (V7)\n"
8105 msgstr "4000\tS_IFDIR\td/\t040000\tディレクトリ (V7)\n"
8106
8107 #. type: tbl table
8108 #: build/C/man2/stat.2:700
8109 #, no-wrap
8110 msgid "5000\tS_IFNAM\t\t050000\tT{\n"
8111 msgstr "5000\tS_IFNAM\t\t050000\tT{\n"
8112
8113 #. type: tbl table
8114 #: build/C/man2/stat.2:701
8115 #, no-wrap
8116 msgid "XENIX named special file with two subtypes, distinguished by\n"
8117 msgstr "XENIX の二つの副型を持つ名前付きの特殊ファイル\n"
8118
8119 #. type: tbl table
8120 #: build/C/man2/stat.2:702
8121 #, no-wrap
8122 msgid "I<st_rdev> values 1, 2\n"
8123 msgstr "副型は I<st_rdev> の値 1, 2 で区別される\n"
8124
8125 #. type: tbl table
8126 #: build/C/man2/stat.2:704
8127 #, no-wrap
8128 msgid "0001\tS_INSEM\ts\t000001\tXENIX semaphore subtype of IFNAM\n"
8129 msgstr "0001\tS_INSEM\ts\t000001\tXENIX の IFNAM セマフォ副型\n"
8130
8131 #. type: tbl table
8132 #: build/C/man2/stat.2:705
8133 #, no-wrap
8134 msgid "0002\tS_INSHD\tm\t000002\tXENIX shared data subtype of IFNAM\n"
8135 msgstr "0002\tS_INSHD\tm\t000002\tXENIX の IFNAM 共有データ副型\n"
8136
8137 #. type: tbl table
8138 #: build/C/man2/stat.2:706
8139 #, no-wrap
8140 msgid "6000\tS_IFBLK\tb\t060000\tblock special (V7)\n"
8141 msgstr "6000\tS_IFBLK\tb\t060000\tブロック特殊ファイル (V7)\n"
8142
8143 #. type: tbl table
8144 #: build/C/man2/stat.2:707
8145 #, no-wrap
8146 msgid "7000\tS_IFMPB\t\t070000\tmultiplexed block special (V7)\n"
8147 msgstr "7000\tS_IFMPB\t\t070000\t多重化されたブロック特殊ファイル (V7)\n"
8148
8149 #. type: tbl table
8150 #: build/C/man2/stat.2:708
8151 #, no-wrap
8152 msgid "8000\tS_IFREG\t-\t100000\tregular (V7)\n"
8153 msgstr "8000\tS_IFREG\t-\t100000\t通常ファイル (V7)\n"
8154
8155 #. type: tbl table
8156 #: build/C/man2/stat.2:709
8157 #, no-wrap
8158 msgid "9000\tS_IFCMP\t\t110000\tVxFS compressed\n"
8159 msgstr "9000\tS_IFCMP\t\t110000\tVxFS 圧縮ファイル\n"
8160
8161 #. type: tbl table
8162 #: build/C/man2/stat.2:710
8163 #, no-wrap
8164 msgid "9000\tS_IFNWK\tn\t110000\tnetwork special (HP-UX)\n"
8165 msgstr "9000\tS_IFNWK\tn\t110000\tネットワーク特殊ファイル (HP-UX)\n"
8166
8167 #. type: tbl table
8168 #: build/C/man2/stat.2:711
8169 #, no-wrap
8170 msgid "a000\tS_IFLNK\tl@\t120000\tsymbolic link (BSD)\n"
8171 msgstr "a000\tS_IFLNK\tl@\t120000\tシンボリックリンク (BSD)\n"
8172
8173 #. type: tbl table
8174 #: build/C/man2/stat.2:712
8175 #, no-wrap
8176 msgid "b000\tS_IFSHAD\t\t130000\tT{\n"
8177 msgstr "b000\tS_IFSHAD\t\t130000\tT{\n"
8178
8179 #. type: tbl table
8180 #: build/C/man2/stat.2:713
8181 #, no-wrap
8182 msgid "Solaris shadow inode for ACL (not seen by user space)\n"
8183 msgstr "Solaris の ACL 用の隠し inode (ユーザ空間からは見えない)\n"
8184
8185 #. type: tbl table
8186 #: build/C/man2/stat.2:715
8187 #, no-wrap
8188 msgid "c000\tS_IFSOCK\ts=\t140000\tsocket (BSD; also \"S_IFSOC\" on VxFS)\n"
8189 msgstr "c000\tS_IFSOCK\ts=\t140000\tソケット (BSD; VxFS の \"S_IFSOC\")\n"
8190
8191 #. type: tbl table
8192 #: build/C/man2/stat.2:716
8193 #, no-wrap
8194 msgid "d000\tS_IFDOOR\tDE<gt>\t150000\tSolaris door\n"
8195 msgstr "d000\tS_IFDOOR\tDE<gt>\t150000\tSolaris の door ファイル\n"
8196
8197 #. type: tbl table
8198 #: build/C/man2/stat.2:717
8199 #, no-wrap
8200 msgid "e000\tS_IFWHT\tw%\t160000\tBSD whiteout (not used for inode)\n"
8201 msgstr "e000\tS_IFWHT\tw%\t160000\tBSD の空白ファイル (inode を使用しない)\n"
8202
8203 #. type: tbl table
8204 #: build/C/man2/stat.2:718
8205 #, no-wrap
8206 msgid "0200\tS_ISVTX\t\t001000\tT{\n"
8207 msgstr "0200\tS_ISVTX\t\t001000\tT{\n"
8208
8209 #. type: tbl table
8210 #: build/C/man2/stat.2:719
8211 #, no-wrap
8212 msgid "sticky bit: save swapped text even after use (V7)\n"
8213 msgstr "スティッキービット: 使用後もスワップに残す (V7)\n"
8214
8215 #. type: tbl table
8216 #: build/C/man2/stat.2:720 build/C/man2/stat.2:722 build/C/man2/stat.2:724
8217 #: build/C/man2/stat.2:729
8218 #, no-wrap
8219 msgid ".br\n"
8220 msgstr ".br\n"
8221
8222 #. type: tbl table
8223 #: build/C/man2/stat.2:721
8224 #, no-wrap
8225 msgid "reserved (SVID-v2)\n"
8226 msgstr "予約 (SVID-v2)\n"
8227
8228 #. type: tbl table
8229 #: build/C/man2/stat.2:723
8230 #, no-wrap
8231 msgid "On nondirectories: don't cache this file (SunOS)\n"
8232 msgstr "ディレクトリ以外: ファイルをキャッシュしない (SunOS)\n"
8233
8234 #. type: tbl table
8235 #: build/C/man2/stat.2:725
8236 #, no-wrap
8237 msgid "On directories: restricted deletion flag (SVID-v4.2)\n"
8238 msgstr "ディレクトリの場合: 削除制限フラグ (SVID-v4.2)\n"
8239
8240 #. type: tbl table
8241 #: build/C/man2/stat.2:727
8242 #, no-wrap
8243 msgid "0400\tS_ISGID\t\t002000\tT{\n"
8244 msgstr "0400\tS_ISGID\t\t002000\tT{\n"
8245
8246 #. type: tbl table
8247 #: build/C/man2/stat.2:728
8248 #, no-wrap
8249 msgid "set-group-ID on execution (V7)\n"
8250 msgstr "実行時の set-group-ID (V7)\n"
8251
8252 #. type: tbl table
8253 #: build/C/man2/stat.2:730
8254 #, no-wrap
8255 msgid "for directories: use BSD semantics for propagation of GID\n"
8256 msgstr "ディレクトリの場合: GID の伝搬に BSD 方式を使用する\n"
8257
8258 #. type: tbl table
8259 #: build/C/man2/stat.2:732
8260 #, no-wrap
8261 msgid "0400\tS_ENFMT\t\t002000\tT{\n"
8262 msgstr "0400\tS_ENFMT\t\t002000\tT{\n"
8263
8264 #. type: tbl table
8265 #: build/C/man2/stat.2:733
8266 #, no-wrap
8267 msgid "System V file locking enforcement (shared with S_ISGID)\n"
8268 msgstr "System V ファイルロックを強制する (S_ISGID と共有)\n"
8269
8270 #. type: tbl table
8271 #: build/C/man2/stat.2:735
8272 #, no-wrap
8273 msgid "0800\tS_ISUID\t\t004000\tset-user-ID on execution (V7)\n"
8274 msgstr "0800\tS_ISUID\t\t004000\t実行時の set-user-ID (V7)\n"
8275
8276 #. type: tbl table
8277 #: build/C/man2/stat.2:736
8278 #, no-wrap
8279 msgid "0800\tS_CDF\t\t004000\tT{\n"
8280 msgstr "0800\tS_CDF\t\t004000\tT{\n"
8281
8282 #. type: tbl table
8283 #: build/C/man2/stat.2:737
8284 #, no-wrap
8285 msgid "directory is a context dependent file (HP-UX)\n"
8286 msgstr "ディレクトリがコンテキスト依存ファイル (HP-UX)\n"
8287
8288 #. type: Plain text
8289 #: build/C/man2/stat.2:743
8290 msgid "A sticky command appeared in Version 32V AT&T UNIX."
8291 msgstr "スティッキー コマンドは Version 32V AT&T UNIX で登場した。"
8292
8293 #. type: Plain text
8294 #: build/C/man2/stat.2:750
8295 msgid ""
8296 "On Linux, B<lstat>()  will generally not trigger automounter action, whereas "
8297 "B<stat>()  will (but see B<fstatat>(2))."
8298 msgstr ""
8299 "Linux では、 B<lstat>() は一般には自動マウント動作 (automounter action) の\n"
8300 "きっかけとならないが、 B<stat>() はきっかけとなる (B<fstatat>(2) を参照)。"
8301
8302 #. type: Plain text
8303 #: build/C/man2/stat.2:758
8304 msgid ""
8305 "For most files under the I</proc> directory, B<stat>()  does not return the "
8306 "file size in the I<st_size> field; instead the field is returned with the "
8307 "value 0."
8308 msgstr ""
8309 "I</proc> ディレクトリ以下にあるファイルのほとんどでは、 B<stat>()  を呼び出し"
8310 "た際に、 I<st_size> フィールドにファイルサイズが返されない。 代わりに "
8311 "I<st_size> フィールドには 0 が返される。"
8312
8313 #. type: SS
8314 #: build/C/man2/stat.2:758
8315 #, no-wrap
8316 msgid "Timestamp fields"
8317 msgstr "タイムスタンプフィールド"
8318
8319 #. type: Plain text
8320 #: build/C/man2/stat.2:769
8321 msgid ""
8322 "Older kernels and older standards did not support nanosecond timestamp "
8323 "fields.  Instead, there were three timestamp fields\\(emI<st_atime>, "
8324 "I<st_mtime>, and I<st_ctime>\\(emtyped as I<time_t> that recorded timestamps "
8325 "with one-second precision."
8326 msgstr ""
8327 "古いカーネルや古い標準では、ナノ秒精度のタイムスタンプフィールドはサポートさ"
8328 "れていなかった。 代わりに 3 つの I<time_t> 型のタイムスタンプフィールド "
8329 "I<st_atime>, I<st_mtime>, and I<st_ctime> があった。これらのフィールドには 1 "
8330 "秒単位のタイムスタンプが記録されていた。"
8331
8332 #. type: Plain text
8333 #: build/C/man2/stat.2:791
8334 msgid ""
8335 "Since kernel 2.5.48, the I<stat> structure supports nanosecond resolution "
8336 "for the three file timestamp fields.  The nanosecond components of each "
8337 "timestamp are available via names of the form I<st_atim.tv_nsec> if the "
8338 "B<_BSD_SOURCE> or B<_SVID_SOURCE> feature test macro is defined.  Nanosecond "
8339 "timestamps are nowadays standardized, starting with POSIX.1-2008, and, "
8340 "starting with version 2.12, glibc also exposes the nanosecond component "
8341 "names if B<_POSIX_C_SOURCE> is defined with the value 200809L or greater, or "
8342 "B<_XOPEN_SOURCE> is defined with the value 700 or greater.  If none of the "
8343 "aforementioned macros are defined, then the nanosecond values are exposed "
8344 "with names of the form I<st_atimensec>."
8345 msgstr ""
8346 "カーネル 2.5.48 以降では、 I<stat> 構造体は 3 つのファイルのタイムスタンプ関"
8347 "連のフィールドでナノ秒単位の精度に対応している。 機能検査マクロ "
8348 "B<_BSD_SOURCE> か B<_SVID_SOURCE> が定義された場合に、各タイムスタンプのナノ"
8349 "秒の情報は I<st_atim.tv_nsec> という形式の名前で参照できる。 ナノ秒のタイムス"
8350 "タンプは現在では標準化されており、 POSIX.1-2008 からである。 バージョン 2.12 "
8351 "以降の glibc では、 B<_POSIX_C_SOURCE> が 200809L 以上の値で定義されるか、 "
8352 "B<_XOPEN_SOURCE> が 700 以上の値で定義された場合にも、 このナノ秒のタイムスタ"
8353 "ンプが公開される。 上記のマクロのいずれも定義されていない場合、ナノ秒の値は "
8354 "I<st_atimensec> という形式の名前で公開される。"
8355
8356 #.  commit ef7f38359ea8b3e9c7f2cae9a4d4935f55ca9e80
8357 #. type: Plain text
8358 #: build/C/man2/stat.2:798
8359 msgid ""
8360 "Nanosecond timestamps are supported on XFS, JFS, Btrfs, and ext4 (since "
8361 "Linux 2.6.23).  Nanosecond timestamps are not supported in ext2, ext3, and "
8362 "Reiserfs.  On filesystems that do not support subsecond timestamps, the "
8363 "nanosecond fields are returned with the value 0."
8364 msgstr ""
8365 "ナノ秒のタイムスタンプは XFS, JFS, Btrfs, ext4 でサポートされている (Linux "
8366 "2.6.23 以降)。 ナノ秒のタイムスタンプは ext2, ext3, Reiserfs ではサポートされ"
8367 "ていない。 サブ秒のタイムスタンプをサポートしていないファイルシステムでは、 "
8368 "ナノ秒のフィールドには値 0 が入る。"
8369
8370 #. type: SS
8371 #: build/C/man2/stat.2:798
8372 #, no-wrap
8373 msgid "Underlying kernel interface"
8374 msgstr "背後のカーネル・インタフェース"
8375
8376 #.  A note from Andries Brouwer, July 2007
8377 #.  > Is the story not rather more complicated for some calls like
8378 #.  > stat(2)?
8379 #.  Yes and no, mostly no. See /usr/include/sys/stat.h .
8380 #.  The idea is here not so much that syscalls change, but that
8381 #.  the definitions of struct stat and of the types dev_t and mode_t change.
8382 #.  This means that libc (even if it does not call the kernel
8383 #.  but only calls some internal function) must know what the
8384 #.  format of dev_t or of struct stat is.
8385 #.  The communication between the application and libc goes via
8386 #.  the include file <sys/stat.h> that defines a _STAT_VER and
8387 #.  _MKNOD_VER describing the layout of the data that user space
8388 #.  uses. Each (almost each) occurrence of stat() is replaced by
8389 #.  an occurrence of xstat() where the first parameter of xstat()
8390 #.  is this version number _STAT_VER.
8391 #.  Now, also the definitions used by the kernel change.
8392 #.  But glibc copes with this in the standard way, and the
8393 #.  struct stat as returned by the kernel is repacked into
8394 #.  the struct stat as expected by the application.
8395 #.  Thus, _STAT_VER and this setup cater for the application-libc
8396 #.  interface, rather than the libc-kernel interface.
8397 #.  (Note that the details depend on gcc being used as c compiler.)
8398 #. type: Plain text
8399 #: build/C/man2/stat.2:850
8400 msgid ""
8401 "Over time, increases in the size of the I<stat> structure have led to three "
8402 "successive versions of B<stat>(): I<sys_stat>()  (slot I<__NR_oldstat>), "
8403 "I<sys_newstat>()  (slot I<__NR_stat>), and I<sys_stat64()> (new in kernel "
8404 "2.4; slot I<__NR_stat64>).  The glibc B<stat>()  wrapper function hides "
8405 "these details from applications, invoking the most recent version of the "
8406 "system call provided by the kernel, and repacking the returned information "
8407 "if required for old binaries.  Similar remarks apply for B<fstat>()  and "
8408 "B<lstat>()."
8409 msgstr ""
8410 "時間の経過とともに、 I<stat> 構造体のサイズが大きくなり、この影響で "
8411 "B<stat>()  には 3つのバージョンが存在する: I<sys_stat>()  (スロットは "
8412 "I<__NR_oldstat>)、 I<sys_newstat>()  (スロットは I<__NR_stat>)、 "
8413 "I<sys_stat64>()  (カーネル 2.4 で導入; スロットは I<__NR_stat64>).  glibc の "
8414 "B<stat>()  ラッパー関数はこれらの詳細をアプリケーションから隠蔽してくれる。 "
8415 "具体的には、カーネルが提供しているシステムコールのうち最新のバージョンを 起動"
8416 "し、古いバイナリの場合には必要に応じて返された情報を再構成 (repack) する。 "
8417 "B<fstat>()  と B<lstat>()  についても同様である。"
8418
8419 #. type: Plain text
8420 #: build/C/man2/stat.2:855
8421 msgid ""
8422 "The underlying system call employed by the glibc B<fstatat>()  wrapper "
8423 "function is actually called B<fstatat64>()."
8424 msgstr ""
8425 "glibc の B<fstatat>() ラッパー関数が内部で利用するシステムコールは、実際には "
8426 "B<fstatat64>() である。"
8427
8428 #. type: Plain text
8429 #: build/C/man2/stat.2:861
8430 msgid ""
8431 "The following program calls B<stat>()  and displays selected fields in the "
8432 "returned I<stat> structure."
8433 msgstr ""
8434 "以下のプログラムは B<stat>()  を呼び出し、返ってきた I<stat> 構造体のフィール"
8435 "ドのいくつかを表示する。"
8436
8437 #. type: Plain text
8438 #: build/C/man2/stat.2:868
8439 #, no-wrap
8440 msgid ""
8441 "#include E<lt>sys/types.hE<gt>\n"
8442 "#include E<lt>sys/stat.hE<gt>\n"
8443 "#include E<lt>time.hE<gt>\n"
8444 "#include E<lt>stdio.hE<gt>\n"
8445 "#include E<lt>stdlib.hE<gt>\n"
8446 msgstr ""
8447 "#include E<lt>sys/types.hE<gt>\n"
8448 "#include E<lt>sys/stat.hE<gt>\n"
8449 "#include E<lt>time.hE<gt>\n"
8450 "#include E<lt>stdio.hE<gt>\n"
8451 "#include E<lt>stdlib.hE<gt>\n"
8452
8453 #. type: Plain text
8454 #: build/C/man2/stat.2:873
8455 #, no-wrap
8456 msgid ""
8457 "int\n"
8458 "main(int argc, char *argv[])\n"
8459 "{\n"
8460 "    struct stat sb;\n"
8461 msgstr ""
8462 "int\n"
8463 "main(int argc, char *argv[])\n"
8464 "{\n"
8465 "    struct stat sb;\n"
8466
8467 #. type: Plain text
8468 #: build/C/man2/stat.2:878
8469 #, no-wrap
8470 msgid ""
8471 "    if (argc != 2) {\n"
8472 "        fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\en\", argv[0]);\n"
8473 "        exit(EXIT_FAILURE);\n"
8474 "    }\n"
8475 msgstr ""
8476 "    if (argc != 2) {\n"
8477 "        fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\en\", argv[0]);\n"
8478 "        exit(EXIT_FAILURE);\n"
8479 "    }\n"
8480
8481 #. type: Plain text
8482 #: build/C/man2/stat.2:883
8483 #, no-wrap
8484 msgid ""
8485 "    if (stat(argv[1], &sb) == -1) {\n"
8486 "        perror(\"stat\");\n"
8487 "        exit(EXIT_FAILURE);\n"
8488 "    }\n"
8489 msgstr ""
8490 "    if (stat(argv[1], &sb) == -1) {\n"
8491 "        perror(\"stat\");\n"
8492 "        exit(EXIT_FAILURE);\n"
8493 "    }\n"
8494
8495 #. type: Plain text
8496 #: build/C/man2/stat.2:885
8497 #, no-wrap
8498 msgid "    printf(\"File type:                \");\n"
8499 msgstr "    printf(\"File type:                \");\n"
8500
8501 #. type: Plain text
8502 #: build/C/man2/stat.2:896
8503 #, no-wrap
8504 msgid ""
8505 "    switch (sb.st_mode & S_IFMT) {\n"
8506 "    case S_IFBLK:  printf(\"block device\\en\");            break;\n"
8507 "    case S_IFCHR:  printf(\"character device\\en\");        break;\n"
8508 "    case S_IFDIR:  printf(\"directory\\en\");               break;\n"
8509 "    case S_IFIFO:  printf(\"FIFO/pipe\\en\");               break;\n"
8510 "    case S_IFLNK:  printf(\"symlink\\en\");                 break;\n"
8511 "    case S_IFREG:  printf(\"regular file\\en\");            break;\n"
8512 "    case S_IFSOCK: printf(\"socket\\en\");                  break;\n"
8513 "    default:       printf(\"unknown?\\en\");                break;\n"
8514 "    }\n"
8515 msgstr ""
8516 "    switch (sb.st_mode & S_IFMT) {\n"
8517 "    case S_IFBLK:  printf(\"block device\\en\");            break;\n"
8518 "    case S_IFCHR:  printf(\"character device\\en\");        break;\n"
8519 "    case S_IFDIR:  printf(\"directory\\en\");               break;\n"
8520 "    case S_IFIFO:  printf(\"FIFO/pipe\\en\");               break;\n"
8521 "    case S_IFLNK:  printf(\"symlink\\en\");                 break;\n"
8522 "    case S_IFREG:  printf(\"regular file\\en\");            break;\n"
8523 "    case S_IFSOCK: printf(\"socket\\en\");                  break;\n"
8524 "    default:       printf(\"unknown?\\en\");                break;\n"
8525 "    }\n"
8526
8527 #. type: Plain text
8528 #: build/C/man2/stat.2:898
8529 #, no-wrap
8530 msgid "    printf(\"I-node number:            %ld\\en\", (long) sb.st_ino);\n"
8531 msgstr "    printf(\"I-node number:            %ld\\en\", (long) sb.st_ino);\n"
8532
8533 #. type: Plain text
8534 #: build/C/man2/stat.2:901
8535 #, no-wrap
8536 msgid ""
8537 "    printf(\"Mode:                     %lo (octal)\\en\",\n"
8538 "            (unsigned long) sb.st_mode);\n"
8539 msgstr ""
8540 "    printf(\"Mode:                     %lo (octal)\\en\",\n"
8541 "            (unsigned long) sb.st_mode);\n"
8542
8543 #. type: Plain text
8544 #: build/C/man2/stat.2:905
8545 #, no-wrap
8546 msgid ""
8547 "    printf(\"Link count:               %ld\\en\", (long) sb.st_nlink);\n"
8548 "    printf(\"Ownership:                UID=%ld   GID=%ld\\en\",\n"
8549 "            (long) sb.st_uid, (long) sb.st_gid);\n"
8550 msgstr ""
8551 "    printf(\"Link count:               %ld\\en\", (long) sb.st_nlink);\n"
8552 "    printf(\"Ownership:                UID=%ld   GID=%ld\\en\",\n"
8553 "            (long) sb.st_uid, (long) sb.st_gid);\n"
8554
8555 #. type: Plain text
8556 #: build/C/man2/stat.2:912
8557 #, no-wrap
8558 msgid ""
8559 "    printf(\"Preferred I/O block size: %ld bytes\\en\",\n"
8560 "            (long) sb.st_blksize);\n"
8561 "    printf(\"File size:                %lld bytes\\en\",\n"
8562 "            (long long) sb.st_size);\n"
8563 "    printf(\"Blocks allocated:         %lld\\en\",\n"
8564 "            (long long) sb.st_blocks);\n"
8565 msgstr ""
8566 "    printf(\"Preferred I/O block size: %ld bytes\\en\",\n"
8567 "            (long) sb.st_blksize);\n"
8568 "    printf(\"File size:                %lld bytes\\en\",\n"
8569 "            (long long) sb.st_size);\n"
8570 "    printf(\"Blocks allocated:         %lld\\en\",\n"
8571 "            (long long) sb.st_blocks);\n"
8572
8573 #. type: Plain text
8574 #: build/C/man2/stat.2:916
8575 #, no-wrap
8576 msgid ""
8577 "    printf(\"Last status change:       %s\", ctime(&sb.st_ctime));\n"
8578 "    printf(\"Last file access:         %s\", ctime(&sb.st_atime));\n"
8579 "    printf(\"Last file modification:   %s\", ctime(&sb.st_mtime));\n"
8580 msgstr ""
8581 "    printf(\"Last status change:       %s\", ctime(&sb.st_ctime));\n"
8582 "    printf(\"Last file access:         %s\", ctime(&sb.st_atime));\n"
8583 "    printf(\"Last file modification:   %s\", ctime(&sb.st_mtime));\n"
8584
8585 #. type: Plain text
8586 #: build/C/man2/stat.2:930
8587 msgid ""
8588 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
8589 "B<readlink>(2), B<utime>(2), B<capabilities>(7), B<symlink>(7)"
8590 msgstr ""
8591 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
8592 "B<readlink>(2), B<utime>(2), B<capabilities>(7), B<symlink>(7)"
8593
8594 #. type: TH
8595 #: build/C/man2/statfs.2:28
8596 #, no-wrap
8597 msgid "STATFS"
8598 msgstr "STATFS"
8599
8600 #. type: TH
8601 #: build/C/man2/statfs.2:28
8602 #, no-wrap
8603 msgid "2014-06-13"
8604 msgstr "2014-06-13"
8605
8606 #. type: Plain text
8607 #: build/C/man2/statfs.2:31
8608 msgid "statfs, fstatfs - get filesystem statistics"
8609 msgstr "statfs, fstatfs - ファイルシステムの統計を取得する"
8610
8611 #. type: Plain text
8612 #: build/C/man2/statfs.2:33
8613 msgid "B<#include E<lt>sys/vfs.hE<gt> >/* or E<lt>sys/statfs.hE<gt> */"
8614 msgstr "B<#include E<lt>sys/vfs.hE<gt> >/* または E<lt>sys/statfs.hE<gt> */"
8615
8616 #. type: Plain text
8617 #: build/C/man2/statfs.2:35
8618 msgid "B<int statfs(const char *>I<path>B<, struct statfs *>I<buf>B<);>"
8619 msgstr "B<int statfs(const char *>I<path>B<, struct statfs *>I<buf>B<);>"
8620
8621 #. type: Plain text
8622 #: build/C/man2/statfs.2:37
8623 msgid "B<int fstatfs(int >I<fd>B<, struct statfs *>I<buf>B<);>"
8624 msgstr "B<int fstatfs(int >I<fd>B<, struct statfs *>I<buf>B<);>"
8625
8626 #. type: Plain text
8627 #: build/C/man2/statfs.2:47
8628 msgid ""
8629 "The function B<statfs>()  returns information about a mounted filesystem.  "
8630 "I<path> is the pathname of any file within the mounted filesystem.  I<buf> "
8631 "is a pointer to a I<statfs> structure defined approximately as follows:"
8632 msgstr ""
8633 "関数 B<statfs>()  はマウントされたファイルシステムについての情報を返す。 "
8634 "I<path> はマウントされたファイルシステムにあるファイルのパス名である。 "
8635 "I<buf> は I<statfs> 構造体へのポインターで、およそ以下のように定義される:"
8636
8637 #. type: Plain text
8638 #: build/C/man2/statfs.2:55
8639 #, no-wrap
8640 msgid ""
8641 "#if __WORDSIZE == 32\t\t/* System word size */\n"
8642 "# define __SWORD_TYPE           int\n"
8643 "#else /* __WORDSIZE == 64 */\n"
8644 "# define __SWORD_TYPE\t\tlong int\n"
8645 "#endif\n"
8646 msgstr ""
8647 "#if __WORDSIZE == 32\t\t/* システムのワードサイズ */\n"
8648 "# define __SWORD_TYPE           int\n"
8649 "#else /* __WORDSIZE == 64 */\n"
8650 "# define __SWORD_TYPE\t\tlong int\n"
8651 "#endif\n"
8652
8653 #. type: Plain text
8654 #: build/C/man2/statfs.2:70
8655 #, no-wrap
8656 msgid ""
8657 "struct statfs {\n"
8658 "    __SWORD_TYPE f_type;    /* type of filesystem (see below) */\n"
8659 "    __SWORD_TYPE f_bsize;   /* optimal transfer block size */\n"
8660 "    fsblkcnt_t   f_blocks;  /* total data blocks in filesystem */\n"
8661 "    fsblkcnt_t   f_bfree;   /* free blocks in fs */\n"
8662 "    fsblkcnt_t   f_bavail;  /* free blocks available to\n"
8663 "                               unprivileged user */\n"
8664 "    fsfilcnt_t   f_files;   /* total file nodes in filesystem */\n"
8665 "    fsfilcnt_t   f_ffree;   /* free file nodes in fs */\n"
8666 "    fsid_t       f_fsid;    /* filesystem id */\n"
8667 "    __SWORD_TYPE f_namelen; /* maximum length of filenames */\n"
8668 "    __SWORD_TYPE f_frsize;  /* fragment size (since Linux 2.6) */\n"
8669 "    __SWORD_TYPE f_spare[5];\n"
8670 "};\n"
8671 msgstr ""
8672 "struct statfs {\n"
8673 "    __SWORD_TYPE f_type;    /* ファイルシステムの種別 (下記参照) */\n"
8674 "    __SWORD_TYPE f_bsize;   /* 最適な転送ブロックサイズ */\n"
8675 "    fsblkcnt_t   f_blocks;  /* ファイルシステムの総データブロック数 */\n"
8676 "    fsblkcnt_t   f_bfree;   /* ファイルシステムの空きブロック数 */\n"
8677 "    fsblkcnt_t   f_bavail;  /* 非特権ユーザが利用可能な空きブロック数 */\n"
8678 "    fsfilcnt_t   f_files;   /* ファイルシステムの総ファイルノード数 */\n"
8679 "    fsfilcnt_t   f_ffree;   /* ファイルシステムの空きファイルノード数 */\n"
8680 "    fsid_t       f_fsid;    /* ファイルシステムの ID */\n"
8681 "    __SWORD_TYPE f_namelen; /* ファイル名の最大長 */\n"
8682 "    __SWORD_TYPE f_frsize;  /* フラグメントサイズ (Linux 2.6 以降) */\n"
8683 "    __SWORD_TYPE f_spare[5];\n"
8684 "};\n"
8685
8686 #. type: Plain text
8687 #: build/C/man2/statfs.2:72
8688 #, no-wrap
8689 msgid "Filesystem types:\n"
8690 msgstr "ファイルシステムの型:\n"
8691
8692 #. type: Plain text
8693 #: build/C/man2/statfs.2:142
8694 #, no-wrap
8695 msgid ""
8696 "   ADFS_SUPER_MAGIC      0xadf5\n"
8697 "   AFFS_SUPER_MAGIC      0xADFF\n"
8698 "   BDEVFS_MAGIC          0x62646576\n"
8699 "   BEFS_SUPER_MAGIC      0x42465331\n"
8700 "   BFS_MAGIC             0x1BADFACE\n"
8701 "   BINFMTFS_MAGIC        0x42494e4d\n"
8702 "   BTRFS_SUPER_MAGIC     0x9123683E\n"
8703 "   CGROUP_SUPER_MAGIC    0x27e0eb\n"
8704 "   CIFS_MAGIC_NUMBER     0xFF534D42\n"
8705 "   CODA_SUPER_MAGIC      0x73757245\n"
8706 "   COH_SUPER_MAGIC       0x012FF7B7\n"
8707 "   CRAMFS_MAGIC          0x28cd3d45\n"
8708 "   DEBUGFS_MAGIC         0x64626720\n"
8709 "   DEVFS_SUPER_MAGIC     0x1373\n"
8710 "   DEVPTS_SUPER_MAGIC    0x1cd1\n"
8711 "   EFIVARFS_MAGIC        0xde5e81e4\n"
8712 "   EFS_SUPER_MAGIC       0x00414A53\n"
8713 "   EXT_SUPER_MAGIC       0x137D\n"
8714 "   EXT2_OLD_SUPER_MAGIC  0xEF51\n"
8715 "   EXT2_SUPER_MAGIC      0xEF53\n"
8716 "   EXT3_SUPER_MAGIC      0xEF53\n"
8717 "   EXT4_SUPER_MAGIC      0xEF53\n"
8718 "   FUSE_SUPER_MAGIC      0x65735546\n"
8719 "   FUTEXFS_SUPER_MAGIC   0xBAD1DEA\n"
8720 "   HFS_SUPER_MAGIC       0x4244\n"
8721 "   HOSTFS_SUPER_MAGIC    0x00c0ffee\n"
8722 "   HPFS_SUPER_MAGIC      0xF995E849\n"
8723 "   HUGETLBFS_MAGIC       0x958458f6\n"
8724 "   ISOFS_SUPER_MAGIC     0x9660\n"
8725 "   JFFS2_SUPER_MAGIC     0x72b6\n"
8726 "   JFS_SUPER_MAGIC       0x3153464a\n"
8727 "   MINIX_SUPER_MAGIC     0x137F /* orig. minix */\n"
8728 "   MINIX_SUPER_MAGIC2    0x138F /* 30 char minix */\n"
8729 "   MINIX2_SUPER_MAGIC    0x2468 /* minix V2 */\n"
8730 "   MINIX2_SUPER_MAGIC2   0x2478 /* minix V2, 30 char names */\n"
8731 "   MINIX3_SUPER_MAGIC    0x4d5a /* minix V3 fs, 60 char names */\n"
8732 "   MQUEUE_MAGIC          0x19800202\n"
8733 "   MSDOS_SUPER_MAGIC     0x4d44\n"
8734 "   NCP_SUPER_MAGIC       0x564c\n"
8735 "   NFS_SUPER_MAGIC       0x6969\n"
8736 "   NILFS_SUPER_MAGIC     0x3434\n"
8737 "   NTFS_SB_MAGIC         0x5346544e\n"
8738 "   OPENPROM_SUPER_MAGIC  0x9fa1\n"
8739 "   PIPEFS_MAGIC          0x50495045\n"
8740 "   PROC_SUPER_MAGIC      0x9fa0\n"
8741 "   PSTOREFS_MAGIC        0x6165676C\n"
8742 "   QNX4_SUPER_MAGIC      0x002f\n"
8743 "   QNX6_SUPER_MAGIC      0x68191122\n"
8744 "   RAMFS_MAGIC           0x858458f6\n"
8745 "   REISERFS_SUPER_MAGIC  0x52654973\n"
8746 "   ROMFS_MAGIC           0x7275\n"
8747 "   SELINUX_MAGIC         0xf97cff8c\n"
8748 "   SMACK_MAGIC           0x43415d53\n"
8749 "   SMB_SUPER_MAGIC       0x517B\n"
8750 "   SOCKFS_MAGIC          0x534F434B\n"
8751 "   SQUASHFS_MAGIC        0x73717368\n"
8752 "   SYSFS_MAGIC           0x62656572\n"
8753 "   SYSV2_SUPER_MAGIC     0x012FF7B6\n"
8754 "   SYSV4_SUPER_MAGIC     0x012FF7B5\n"
8755 "   TMPFS_MAGIC           0x01021994\n"
8756 "   UDF_SUPER_MAGIC       0x15013346\n"
8757 "   UFS_MAGIC             0x00011954\n"
8758 "   USBDEVICE_SUPER_MAGIC 0x9fa2\n"
8759 "   V9FS_MAGIC            0x01021997\n"
8760 "   VXFS_SUPER_MAGIC      0xa501FCF5\n"
8761 "   XENFS_SUPER_MAGIC     0xabba1974\n"
8762 "   XENIX_SUPER_MAGIC     0x012FF7B4\n"
8763 "   XFS_SUPER_MAGIC       0x58465342\n"
8764 "   _XIAFS_SUPER_MAGIC    0x012FD16D\n"
8765 msgstr ""
8766 "   ADFS_SUPER_MAGIC      0xadf5\n"
8767 "   AFFS_SUPER_MAGIC      0xADFF\n"
8768 "   BDEVFS_MAGIC          0x62646576\n"
8769 "   BEFS_SUPER_MAGIC      0x42465331\n"
8770 "   BFS_MAGIC             0x1BADFACE\n"
8771 "   BINFMTFS_MAGIC        0x42494e4d\n"
8772 "   BTRFS_SUPER_MAGIC     0x9123683E\n"
8773 "   CGROUP_SUPER_MAGIC    0x27e0eb\n"
8774 "   CIFS_MAGIC_NUMBER     0xFF534D42\n"
8775 "   CODA_SUPER_MAGIC      0x73757245\n"
8776 "   COH_SUPER_MAGIC       0x012FF7B7\n"
8777 "   CRAMFS_MAGIC          0x28cd3d45\n"
8778 "   DEBUGFS_MAGIC         0x64626720\n"
8779 "   DEVFS_SUPER_MAGIC     0x1373\n"
8780 "   DEVPTS_SUPER_MAGIC    0x1cd1\n"
8781 "   EFIVARFS_MAGIC        0xde5e81e4\n"
8782 "   EFS_SUPER_MAGIC       0x00414A53\n"
8783 "   EXT_SUPER_MAGIC       0x137D\n"
8784 "   EXT2_OLD_SUPER_MAGIC  0xEF51\n"
8785 "   EXT2_SUPER_MAGIC      0xEF53\n"
8786 "   EXT3_SUPER_MAGIC      0xEF53\n"
8787 "   EXT4_SUPER_MAGIC      0xEF53\n"
8788 "   FUSE_SUPER_MAGIC      0x65735546\n"
8789 "   FUTEXFS_SUPER_MAGIC   0xBAD1DEA\n"
8790 "   HFS_SUPER_MAGIC       0x4244\n"
8791 "   HOSTFS_SUPER_MAGIC    0x00c0ffee\n"
8792 "   HPFS_SUPER_MAGIC      0xF995E849\n"
8793 "   HUGETLBFS_MAGIC       0x958458f6\n"
8794 "   ISOFS_SUPER_MAGIC     0x9660\n"
8795 "   JFFS2_SUPER_MAGIC     0x72b6\n"
8796 "   JFS_SUPER_MAGIC       0x3153464a\n"
8797 "   MINIX_SUPER_MAGIC     0x137F /* オリジナルの minix */\n"
8798 "   MINIX_SUPER_MAGIC2    0x138F /* 30 文字ファイル名の minix */\n"
8799 "   MINIX2_SUPER_MAGIC    0x2468 /* minix V2 */\n"
8800 "   MINIX2_SUPER_MAGIC2   0x2478 /* minix V2, 30 文字ファイル名 */\n"
8801 "   MINIX3_SUPER_MAGIC    0x4d5a /* minix V3 ファイルシステム, 60 文字ファイル名 */\n"
8802 "   MQUEUE_MAGIC          0x19800202\n"
8803 "   MSDOS_SUPER_MAGIC     0x4d44\n"
8804 "   NCP_SUPER_MAGIC       0x564c\n"
8805 "   NFS_SUPER_MAGIC       0x6969\n"
8806 "   NILFS_SUPER_MAGIC     0x3434\n"
8807 "   NTFS_SB_MAGIC         0x5346544e\n"
8808 "   OPENPROM_SUPER_MAGIC  0x9fa1\n"
8809 "   PIPEFS_MAGIC          0x50495045\n"
8810 "   PROC_SUPER_MAGIC      0x9fa0\n"
8811 "   PSTOREFS_MAGIC        0x6165676C\n"
8812 "   QNX4_SUPER_MAGIC      0x002f\n"
8813 "   QNX6_SUPER_MAGIC      0x68191122\n"
8814 "   RAMFS_MAGIC           0x858458f6\n"
8815 "   REISERFS_SUPER_MAGIC  0x52654973\n"
8816 "   ROMFS_MAGIC           0x7275\n"
8817 "   SELINUX_MAGIC         0xf97cff8c\n"
8818 "   SMACK_MAGIC           0x43415d53\n"
8819 "   SMB_SUPER_MAGIC       0x517B\n"
8820 "   SOCKFS_MAGIC          0x534F434B\n"
8821 "   SQUASHFS_MAGIC        0x73717368\n"
8822 "   SYSFS_MAGIC           0x62656572\n"
8823 "   SYSV2_SUPER_MAGIC     0x012FF7B6\n"
8824 "   SYSV4_SUPER_MAGIC     0x012FF7B5\n"
8825 "   TMPFS_MAGIC           0x01021994\n"
8826 "   UDF_SUPER_MAGIC       0x15013346\n"
8827 "   UFS_MAGIC             0x00011954\n"
8828 "   USBDEVICE_SUPER_MAGIC 0x9fa2\n"
8829 "   V9FS_MAGIC            0x01021997\n"
8830 "   VXFS_SUPER_MAGIC      0xa501FCF5\n"
8831 "   XENFS_SUPER_MAGIC     0xabba1974\n"
8832 "   XENIX_SUPER_MAGIC     0x012FF7B4\n"
8833 "   XFS_SUPER_MAGIC       0x58465342\n"
8834 "   _XIAFS_SUPER_MAGIC    0x012FD16D\n"
8835
8836 #. type: Plain text
8837 #: build/C/man2/statfs.2:148
8838 msgid ""
8839 "Most of these MAGIC constants are defined in I</usr/include/linux/magic.h>, "
8840 "and some are hardcoded in kernel sources."
8841 msgstr ""
8842 "これらの MAGIC 定数のほとんどは I</usr/include/linux/magic.h> で定義されてお"
8843 "り、いくつかはカーネルソースで直接書かれている。"
8844
8845 #. type: Plain text
8846 #: build/C/man2/statfs.2:152
8847 msgid "Nobody knows what I<f_fsid> is supposed to contain (but see below)."
8848 msgstr ""
8849 "I<f_fsid> にどんな値が入るべきなのかは誰も知らない (但し、下記を参照)。"
8850
8851 #. type: Plain text
8852 #: build/C/man2/statfs.2:157
8853 msgid ""
8854 "Fields that are undefined for a particular filesystem are set to 0.  "
8855 "B<fstatfs>()  returns the same information about an open file referenced by "
8856 "descriptor I<fd>."
8857 msgstr ""
8858 "それぞれのファイルシステムにおいて未定義のフィールドには 0 が 設定される。 "
8859 "B<fstatfs>()  はディスクリプター I<fd> によって参照されるオープンされたファイ"
8860 "ルについて、同じ情報を返す。"
8861
8862 #. type: Plain text
8863 #: build/C/man2/statfs.2:170
8864 msgid ""
8865 "(B<statfs>())  Search permission is denied for a component of the path "
8866 "prefix of I<path>.  (See also B<path_resolution>(7).)"
8867 msgstr ""
8868 "(B<statfs>()  の場合)  I<path> のディレクトリ部分に検索許可が与えられていな"
8869 "い (B<path_resolution>(7)  も参照すること)。"
8870
8871 #. type: Plain text
8872 #: build/C/man2/statfs.2:175
8873 msgid "(B<fstatfs>())  I<fd> is not a valid open file descriptor."
8874 msgstr ""
8875 "(B<fstatfs>()  の場合)  I<fd> は有効なオープンされたファイルディスクリプター"
8876 "ではない。"
8877
8878 #. type: Plain text
8879 #: build/C/man2/statfs.2:181
8880 msgid "I<buf> or I<path> points to an invalid address."
8881 msgstr "I<buf> または I<path> が不正なアドレスを指している。"
8882
8883 #. type: Plain text
8884 #: build/C/man2/statfs.2:184 build/C/man3/statvfs.3:123
8885 msgid "This call was interrupted by a signal."
8886 msgstr "この呼び出しがシグナルで中断された。"
8887
8888 #. type: TP
8889 #: build/C/man2/statfs.2:184 build/C/man3/statvfs.3:123
8890 #, no-wrap
8891 msgid "B<EIO>"
8892 msgstr "B<EIO>"
8893
8894 #. type: Plain text
8895 #: build/C/man2/statfs.2:187 build/C/man3/statvfs.3:126
8896 msgid "An I/O error occurred while reading from the filesystem."
8897 msgstr "ファイルシステムからの読み込みの間に I/O エラーが発生した。"
8898
8899 #. type: Plain text
8900 #: build/C/man2/statfs.2:192
8901 msgid ""
8902 "(B<statfs>())  Too many symbolic links were encountered in translating "
8903 "I<path>."
8904 msgstr ""
8905 "(B<statfs>()  の場合)  I<path> を解決するのに辿るべきシンボリックリンクが多す"
8906 "ぎる。"
8907
8908 #. type: Plain text
8909 #: build/C/man2/statfs.2:197
8910 msgid "(B<statfs>())  I<path> is too long."
8911 msgstr "(B<statfs>()  の場合)  I<path> が長過ぎる。"
8912
8913 #. type: Plain text
8914 #: build/C/man2/statfs.2:203
8915 msgid "(B<statfs>())  The file referred to by I<path> does not exist."
8916 msgstr ""
8917 "(B<statfs>()  の場合)  I<path> によって参照されるファイルが存在しない。"
8918
8919 #. type: Plain text
8920 #: build/C/man2/statfs.2:206 build/C/man3/statvfs.3:145
8921 msgid "Insufficient kernel memory was available."
8922 msgstr "十分なカーネルメモリがない。"
8923
8924 #. type: Plain text
8925 #: build/C/man2/statfs.2:209 build/C/man3/statvfs.3:148
8926 msgid "The filesystem does not support this call."
8927 msgstr "ファイルシステムがこの呼び出しをサポートしていない。"
8928
8929 #. type: Plain text
8930 #: build/C/man2/statfs.2:215
8931 msgid ""
8932 "(B<statfs>())  A component of the path prefix of I<path> is not a directory."
8933 msgstr ""
8934 "(B<statfs>()  の場合)  I<path> のディレクトリ部分がディレクトリでない。"
8935
8936 #. type: Plain text
8937 #: build/C/man2/statfs.2:218 build/C/man3/statvfs.3:157
8938 msgid "Some values were too large to be represented in the returned struct."
8939 msgstr "いくつかの値が大き過ぎて、返り値の構造体で表現できない。"
8940
8941 #. type: Plain text
8942 #: build/C/man2/statfs.2:224
8943 msgid ""
8944 "Linux-specific.  The Linux B<statfs>()  was inspired by the 4.4BSD one (but "
8945 "they do not use the same structure)."
8946 msgstr ""
8947 "Linux 固有である。 Linux の B<statfs>()  は 4.4BSD のものに影響を受けてい"
8948 "る。 (しかし同じ構造体を使用しているわけではない)"
8949
8950 #. type: Plain text
8951 #: build/C/man2/statfs.2:246
8952 msgid ""
8953 "The original Linux B<statfs>()  and B<fstatfs>()  system calls were not "
8954 "designed with extremely large file sizes in mind.  Subsequently, Linux 2.6 "
8955 "added new B<statfs64>()  and B<fstatfs64>()  system calls that employ a new "
8956 "structure, I<statfs64>.  The new structure contains the same fields as the "
8957 "original I<statfs> structure, but the sizes of various fields are increased, "
8958 "to accommodate large file sizes.  The glibc B<statfs>()  and B<fstatfs>()  "
8959 "wrapper functions transparently deal with the kernel differences."
8960 msgstr ""
8961 "元々の Linux の B<statfs>() と B<fstatfs>() システムコールは\n"
8962 "非常に大きなファイルサイズを念頭に入れて設計されていなかった。\n"
8963 "その後、Linux 2.6 で、新しい構造体 I<statfs64> を使用する\n"
8964 "新しいシステムコール B<statfs64>() と B<fstatfs64>() が追加された。\n"
8965 "新しい構造体は元の I<statfs> 構造体と同じフィールドを持つが、\n"
8966 "いろいろなフィールドのサイズが大きなファイルサイズに対応できるように\n"
8967 "増やされている。 glibc の B<statfs>() と B<fstatfs>() のラッパー関数は\n"
8968 "カーネルによるこれらの違いを吸収している。"
8969
8970 #. type: Plain text
8971 #: build/C/man2/statfs.2:251
8972 msgid ""
8973 "Some systems only have I<E<lt>sys/vfs.hE<gt>>, other systems also have "
8974 "I<E<lt>sys/statfs.hE<gt>>, where the former includes the latter.  So it "
8975 "seems including the former is the best choice."
8976 msgstr ""
8977 "I<E<lt>sys/vfs.hE<gt>> しか持たないシステムもあり、 I<E<lt>sys/statfs."
8978 "hE<gt>> も持っているシステムもある。 前者は後者をインクルードするので、 前者"
8979 "をインクルードするのが良いと考えられる。"
8980
8981 #. type: Plain text
8982 #: build/C/man2/statfs.2:261
8983 msgid ""
8984 "LSB has deprecated the library calls B<statfs>()  and B<fstatfs>()  and "
8985 "tells us to use B<statvfs>(2)  and B<fstatvfs>(2)  instead."
8986 msgstr ""
8987 "LSB ではライブラリコール B<statfs>(), B<fstatfs>()  を非推奨として、代わりに "
8988 "B<statvfs>(2), B<fstatvfs>(2)  を使うように指示している。"
8989
8990 #. type: SS
8991 #: build/C/man2/statfs.2:261
8992 #, no-wrap
8993 msgid "The f_fsid field"
8994 msgstr "f_fsid フィールド"
8995
8996 #. type: Plain text
8997 #: build/C/man2/statfs.2:286
8998 msgid ""
8999 "Solaris, Irix and POSIX have a system call B<statvfs>(2)  that returns a "
9000 "I<struct statvfs> (defined in I<E<lt>sys/statvfs.hE<gt>>)  containing an "
9001 "I<unsigned long> I<f_fsid>.  Linux, SunOS, HP-UX, 4.4BSD have a system call "
9002 "B<statfs>()  that returns a I<struct statfs> (defined in I<E<lt>sys/vfs."
9003 "hE<gt>>)  containing a I<fsid_t> I<f_fsid>, where I<fsid_t> is defined as "
9004 "I<struct { int val[2]; }>.  The same holds for FreeBSD, except that it uses "
9005 "the include file I<E<lt>sys/mount.hE<gt>>."
9006 msgstr ""
9007 "Solaris, Irix, POSIX にはシステムコール B<statvfs>(2)  があり、 I<struct "
9008 "statvfs> を返す (I<E<lt>sys/statvfs.hE<gt>> で定義されている)。 この構造体に"
9009 "は、 I<unsigned long> I<f_fsid> が含まれている。 Linux, SunOS, HP-UX, 4.4BSD "
9010 "にはシステムコール B<statfs>()  があり、 I<struct statfs> を返す (I<E<lt>sys/"
9011 "vfs.hE<gt>> で定義されている)。 この構造体には I<fsid_t> I<f_fsid>, が含まれ"
9012 "ており、 I<fsid_t> は I<struct { int val[2]; }> と定義されている。 FreeBSD で"
9013 "も同じであるが、インクルードファイル I<E<lt>sys/mount.hE<gt>> を使う。"
9014
9015 #. type: Plain text
9016 #: build/C/man2/statfs.2:299
9017 msgid ""
9018 "The general idea is that I<f_fsid> contains some random stuff such that the "
9019 "pair (I<f_fsid>,I<ino>)  uniquely determines a file.  Some operating systems "
9020 "use (a variation on) the device number, or the device number combined with "
9021 "the filesystem type.  Several operating systems restrict giving out the "
9022 "I<f_fsid> field to the superuser only (and zero it for unprivileged users), "
9023 "because this field is used in the filehandle of the filesystem when NFS-"
9024 "exported, and giving it out is a security concern."
9025 msgstr ""
9026 "I<f_fsid> はあるランダムな値を持ち、 (I<f_fsid>,I<ino>)  という 1 組の値で"
9027 "ファイルを一意に決定できるようにする、 というのが基本的な考え方である。 いく"
9028 "つかの OS では、デバイス番号 (の変種) を使ったり、 デバイス番号とファイルシス"
9029 "テムタイプを組み合わせて使ったりしている。 OS の中には I<f_fsid> フィールドの"
9030 "取得をスーパーユーザに限定しているものもある (非特権ユーザが取得すると 0 とな"
9031 "る)。 NFS でエクスポートされる場合、 このフィールドがファイルシステムのファイ"
9032 "ルハンドルで使われており、 この値を提供するとセキュリティ上の問題がある。"
9033
9034 #. type: Plain text
9035 #: build/C/man2/statfs.2:305
9036 msgid ""
9037 "Under some operating systems, the I<fsid> can be used as the second argument "
9038 "to the B<sysfs>(2)  system call."
9039 msgstr ""
9040 "いくつかの OS では、 I<fsid> を B<sysfs>(2)  システムコールの第 2 引き数とし"
9041 "て使用できる。"
9042
9043 #.  broken in commit ff0c7d15f9787b7e8c601533c015295cc68329f8
9044 #.  fixed in commit d70ef97baf048412c395bb5d65791d8fe133a52b
9045 #. type: Plain text
9046 #: build/C/man2/statfs.2:314
9047 msgid ""
9048 "From Linux 2.6.38 up to and including Linux 3.1, B<fstatfs>()  failed with "
9049 "the error B<ENOSYS> for file descriptors created by B<pipe>(2)."
9050 msgstr ""
9051 "Linux 2.6.38 から Linux 3.1 までは (3.1 を含む)、 B<fstatfs>() は B<pipe>(2) "
9052 "で作成されたファイルディスクリプタに対してはエラー B<ENOSYS> で失敗していた。"
9053
9054 #. type: Plain text
9055 #: build/C/man2/statfs.2:318
9056 msgid "B<stat>(2), B<statvfs>(2), B<path_resolution>(7)"
9057 msgstr "B<stat>(2), B<statvfs>(2), B<path_resolution>(7)"
9058
9059 #. type: TH
9060 #: build/C/man3/statvfs.3:30
9061 #, no-wrap
9062 msgid "STATVFS"
9063 msgstr "STATVFS"
9064
9065 #. type: TH
9066 #: build/C/man3/statvfs.3:30
9067 #, no-wrap
9068 msgid "2013-09-26"
9069 msgstr "2013-09-26"
9070
9071 #. type: Plain text
9072 #: build/C/man3/statvfs.3:33
9073 msgid "statvfs, fstatvfs - get filesystem statistics"
9074 msgstr "statvfs, fstatvfs - ファイルシステムの統計を取得する"
9075
9076 #. type: Plain text
9077 #: build/C/man3/statvfs.3:35
9078 msgid "B<#include E<lt>sys/statvfs.hE<gt>>"
9079 msgstr "B<#include E<lt>sys/statvfs.hE<gt>>"
9080
9081 #. type: Plain text
9082 #: build/C/man3/statvfs.3:37
9083 msgid "B<int statvfs(const char *>I<path>B<, struct statvfs *>I<buf>B<);>"
9084 msgstr "B<int statvfs(const char *>I<path>B<, struct statvfs *>I<buf>B<);>"
9085
9086 #. type: Plain text
9087 #: build/C/man3/statvfs.3:39
9088 msgid "B<int fstatvfs(int >I<fd>B<, struct statvfs *>I<buf>B<);>"
9089 msgstr "B<int fstatvfs(int >I<fd>B<, struct statvfs *>I<buf>B<);>"
9090
9091 #. type: Plain text
9092 #: build/C/man3/statvfs.3:49
9093 msgid ""
9094 "The function B<statvfs>()  returns information about a mounted filesystem.  "
9095 "I<path> is the pathname of any file within the mounted filesystem.  I<buf> "
9096 "is a pointer to a I<statvfs> structure defined approximately as follows:"
9097 msgstr ""
9098 "関数 B<statvfs>()  はマウントされたファイルシステムについての情報を返す。 "
9099 "I<path> はマウントされたファイルシステム中の任意のファイルのパス名である。 "
9100 "I<buf> は、だいたい以下のように定義されている I<statvfs> 構造体へのポインタで"
9101 "ある:"
9102
9103 #. type: Plain text
9104 #: build/C/man3/statvfs.3:65
9105 #, no-wrap
9106 msgid ""
9107 "struct statvfs {\n"
9108 "    unsigned long  f_bsize;    /* filesystem block size */\n"
9109 "    unsigned long  f_frsize;   /* fragment size */\n"
9110 "    fsblkcnt_t     f_blocks;   /* size of fs in f_frsize units */\n"
9111 "    fsblkcnt_t     f_bfree;    /* # free blocks */\n"
9112 "    fsblkcnt_t     f_bavail;   /* # free blocks for unprivileged users */\n"
9113 "    fsfilcnt_t     f_files;    /* # inodes */\n"
9114 "    fsfilcnt_t     f_ffree;    /* # free inodes */\n"
9115 "    fsfilcnt_t     f_favail;   /* # free inodes for unprivileged users */\n"
9116 "    unsigned long  f_fsid;     /* filesystem ID */\n"
9117 "    unsigned long  f_flag;     /* mount flags */\n"
9118 "    unsigned long  f_namemax;  /* maximum filename length */\n"
9119 "};\n"
9120 msgstr ""
9121 "struct statvfs {\n"
9122 "    unsigned long  f_bsize;    /* ファイルシステムのブロックサイズ */\n"
9123 "    unsigned long  f_frsize;   /* フラグメントサイズ */\n"
9124 "    fsblkcnt_t     f_blocks;   /* ファイルシステムのサイズ (f_frsize 単位) */\n"
9125 "    fsblkcnt_t     f_bfree;    /* 解放されているブロック数 */\n"
9126 "    fsblkcnt_t     f_bafvail;   /* 非特権ユーザ用に解放されているブロック数 */\n"
9127 "    fsfilcnt_t     f_files;    /* inode 数 */\n"
9128 "    fsfilcnt_t     f_ffree;    /* 解放されている inode の数 */\n"
9129 "    fsfilcnt_t     f_favail;   /* 非特権ユーザ用に解放されている inode の数 */\n"
9130 "    unsigned long  f_fsid;     /* ファイルシステム ID */\n"
9131 "    unsigned long  f_flag;     /* マウントフラグ */\n"
9132 "    unsigned long  f_namemax;  /* ファイル名の長さの最大値 */\n"
9133 "};\n"
9134
9135 #. type: Plain text
9136 #: build/C/man3/statvfs.3:76
9137 msgid ""
9138 "Here the types I<fsblkcnt_t> and I<fsfilcnt_t> are defined in I<E<lt>sys/"
9139 "types.hE<gt>>.  Both used to be I<unsigned long>."
9140 msgstr ""
9141 "ここで、型 I<fsblkcnt_t> と I<fsfilcnt_t> は I<E<lt>sys/types.hE<gt>> で定義"
9142 "されている。 かつて、これらは共に I<unsigned long> であった。"
9143
9144 #. type: Plain text
9145 #: build/C/man3/statvfs.3:82
9146 msgid ""
9147 "The field I<f_flag> is a bit mask (of mount flags, see B<mount>(8)).  Bits "
9148 "defined by POSIX are"
9149 msgstr ""
9150 "フィールド I<f_flag> は (マウントフラグの) ビットマスクである (マウントフラグ"
9151 "については、 B<mount>(8)  を参照すること)。 POSIX で定義されているビットは以"
9152 "下の通り:"
9153
9154 #. type: TP
9155 #: build/C/man3/statvfs.3:82
9156 #, no-wrap
9157 msgid "B<ST_RDONLY>"
9158 msgstr "B<ST_RDONLY>"
9159
9160 #. type: Plain text
9161 #: build/C/man3/statvfs.3:85
9162 msgid "Read-only filesystem."
9163 msgstr "読み込み専用のファイルシステム。"
9164
9165 #. type: TP
9166 #: build/C/man3/statvfs.3:85
9167 #, no-wrap
9168 msgid "B<ST_NOSUID>"
9169 msgstr "B<ST_NOSUID>"
9170
9171 #. type: Plain text
9172 #: build/C/man3/statvfs.3:89
9173 msgid "Set-user-ID/set-group-ID bits are ignored by B<exec>(3)."
9174 msgstr "B<exec>(3)  に無視される set-user-id/set-group-ID ビット。"
9175
9176 #. type: Plain text
9177 #: build/C/man3/statvfs.3:92
9178 msgid ""
9179 "It is unspecified whether all members of the returned struct have meaningful "
9180 "values on all filesystems."
9181 msgstr ""
9182 "返された構造体の全てのメンバが全てのファイルシステムで 意味のある値であるか否"
9183 "かは、指定されていない。"
9184
9185 #. type: Plain text
9186 #: build/C/man3/statvfs.3:96
9187 msgid ""
9188 "B<fstatvfs>()  returns the same information about an open file referenced by "
9189 "descriptor I<fd>."
9190 msgstr ""
9191 "B<fstatvfs>()  は、ディスクリプタ I<fd> で参照されるオープンされたファイルに"
9192 "ついて、同じ情報を返す。"
9193
9194 #. type: Plain text
9195 #: build/C/man3/statvfs.3:109
9196 msgid ""
9197 "(B<statvfs>())  Search permission is denied for a component of the path "
9198 "prefix of I<path>.  (See also B<path_resolution>(7).)"
9199 msgstr ""
9200 "(B<statvfs>()  の場合)  I<path> のディレクトリ部分に検索許可が与えられていな"
9201 "い (B<path_resolution>(7)  も参照すること)。"
9202
9203 #. type: Plain text
9204 #: build/C/man3/statvfs.3:114
9205 msgid "(B<fstatvfs>())  I<fd> is not a valid open file descriptor."
9206 msgstr ""
9207 "(B<fstatvfs>()  の場合)  I<fd> が有効なオープンファイルディスクリプタではな"
9208 "い。"
9209
9210 #. type: Plain text
9211 #: build/C/man3/statvfs.3:120
9212 msgid "I<Buf> or I<path> points to an invalid address."
9213 msgstr "I<buf> または I<path> が無効なアドレスを指している。"
9214
9215 #. type: Plain text
9216 #: build/C/man3/statvfs.3:131
9217 msgid ""
9218 "(B<statvfs>())  Too many symbolic links were encountered in translating "
9219 "I<path>."
9220 msgstr "(B<statvfs>()  の場合)  I<path> にシンボリックリンクが多すぎる。"
9221
9222 #. type: Plain text
9223 #: build/C/man3/statvfs.3:136
9224 msgid "(B<statvfs>())  I<path> is too long."
9225 msgstr "(B<statvfs>()  の場合)  I<path> が長すぎる。"
9226
9227 #. type: Plain text
9228 #: build/C/man3/statvfs.3:142
9229 msgid "(B<statvfs>())  The file referred to by I<path> does not exist."
9230 msgstr "(B<statvfs>()  の場合)  I<path> で参照されるファイルが存在しない。"
9231
9232 #. type: Plain text
9233 #: build/C/man3/statvfs.3:154
9234 msgid ""
9235 "(B<statvfs>())  A component of the path prefix of I<path> is not a directory."
9236 msgstr ""
9237 "(B<statvfs>()  の場合)  I<path> のディレクトリ部分がディレクトリでない。"
9238
9239 #. type: SH
9240 #: build/C/man3/statvfs.3:157
9241 #, no-wrap
9242 msgid "ATTRIBUTES"
9243 msgstr "属性"
9244
9245 #. type: SS
9246 #: build/C/man3/statvfs.3:158
9247 #, no-wrap
9248 msgid "Multithreading (see pthreads(7))"
9249 msgstr "マルチスレッディング (pthreads(7) 参照)"
9250
9251 #. type: Plain text
9252 #: build/C/man3/statvfs.3:164
9253 msgid "The B<statvfs>()  and B<fstatvfs>()  functions are thread-safe."
9254 msgstr "関数 B<statvfs>() と B<fstatvfs>()はスレッドセーフである。"
9255
9256 #. type: Plain text
9257 #: build/C/man3/statvfs.3:166
9258 msgid "POSIX.1-2001."
9259 msgstr "POSIX.1-2001."
9260
9261 #. type: Plain text
9262 #: build/C/man3/statvfs.3:172
9263 msgid ""
9264 "The Linux kernel has system calls B<statfs>(2)  and B<fstatfs>(2)  to "
9265 "support this library call."
9266 msgstr ""
9267 "Linux カーネルには、このライブラリコールをサポートするために、 B<statfs>(2), "
9268 "B<fstatfs>(2)  システムコールがある。"
9269
9270 #. type: Plain text
9271 #: build/C/man3/statvfs.3:174
9272 msgid "The current glibc implementations of"
9273 msgstr "現在の glibc の実装において、"
9274
9275 #. type: Plain text
9276 #: build/C/man3/statvfs.3:179
9277 #, no-wrap
9278 msgid ""
9279 "   pathconf(path, _PC_REC_XFER_ALIGN);\n"
9280 "   pathconf(path, _PC_ALLOC_SIZE_MIN);\n"
9281 "   pathconf(path, _PC_REC_MIN_XFER_SIZE);\n"
9282 msgstr ""
9283 "   pathconf(path, _PC_REC_XFER_ALIGN);\n"
9284 "   pathconf(path, _PC_ALLOC_SIZE_MIN);\n"
9285 "   pathconf(path, _PC_REC_MIN_XFER_SIZE);\n"
9286
9287 #. type: Plain text
9288 #: build/C/man3/statvfs.3:188
9289 msgid ""
9290 "respectively use the I<f_frsize>, I<f_frsize>, and I<f_bsize> fields of the "
9291 "return value of I<statvfs(path,buf)>."
9292 msgstr ""
9293 "は、それぞれ I<statvfs(path,buf)> の返り値の I<f_frsize>, I<f_frsize>, "
9294 "I<f_bsize> フィールドを使う。"
9295
9296 #. type: Plain text
9297 #: build/C/man3/statvfs.3:190
9298 msgid "B<statfs>(2)"
9299 msgstr "B<statfs>(2)"
9300
9301 #. type: TH
9302 #: build/C/man2/sysfs.2:27
9303 #, no-wrap
9304 msgid "SYSFS"
9305 msgstr "SYSFS"
9306
9307 #. type: TH
9308 #: build/C/man2/sysfs.2:27
9309 #, no-wrap
9310 msgid "2010-06-27"
9311 msgstr "2010-06-27"
9312
9313 #. type: Plain text
9314 #: build/C/man2/sysfs.2:30
9315 msgid "sysfs - get filesystem type information"
9316 msgstr "sysfs - ファイルシステム (file system) の情報を取得する"
9317
9318 #. type: Plain text
9319 #: build/C/man2/sysfs.2:32
9320 msgid "B<int sysfs(int >I<option>B<, const char *>I<fsname>B<);>"
9321 msgstr "B<int sysfs(int >I<option>B<, const char *>I<fsname>B<);>"
9322
9323 #. type: Plain text
9324 #: build/C/man2/sysfs.2:34
9325 msgid ""
9326 "B<int sysfs(int >I<option>B<, unsigned int >I<fs_index>B<, char *>I<buf>B<);>"
9327 msgstr ""
9328 "B<int sysfs(int >I<option>B<, unsigned int >I<fs_index>B<, char *>I<buf>B<);>"
9329
9330 #. type: Plain text
9331 #: build/C/man2/sysfs.2:36
9332 msgid "B<int sysfs(int >I<option>B<);>"
9333 msgstr "B<int sysfs(int >I<option>B<);>"
9334
9335 #. type: Plain text
9336 #: build/C/man2/sysfs.2:45
9337 msgid ""
9338 "B<sysfs>()  returns information about the filesystem types currently present "
9339 "in the kernel.  The specific form of the B<sysfs>()  call and the "
9340 "information returned depends on the I<option> in effect:"
9341 msgstr ""
9342 "B<sysfs>()  は現在カーネル (kernel) に存在しているファイルシステムの型 "
9343 "(type) 情報を返す。 それぞれの B<sysfs>()  コールの形式と返される情報は "
9344 "I<option> に依存しており、それは:"
9345
9346 #. type: TP
9347 #: build/C/man2/sysfs.2:45
9348 #, no-wrap
9349 msgid "B<1>"
9350 msgstr "B<1>"
9351
9352 #. type: Plain text
9353 #: build/C/man2/sysfs.2:50
9354 msgid ""
9355 "Translate the filesystem identifier string I<fsname> into a filesystem type "
9356 "index."
9357 msgstr ""
9358 "ファイルシステム識別文字列 (identifier string)  I<fsname> をファイルシステム"
9359 "の型インデックス (type index) に翻訳する。"
9360
9361 #. type: TP
9362 #: build/C/man2/sysfs.2:50
9363 #, no-wrap
9364 msgid "B<2>"
9365 msgstr "B<2>"
9366
9367 #. type: Plain text
9368 #: build/C/man2/sysfs.2:61
9369 msgid ""
9370 "Translate the filesystem type index I<fs_index> into a null-terminated "
9371 "filesystem identifier string.  This string will be written to the buffer "
9372 "pointed to by I<buf>.  Make sure that I<buf> has enough space to accept the "
9373 "string."
9374 msgstr ""
9375 "ファイルシステムの型インデックス I<fs_index> をヌル終端されたファイルシステム"
9376 "識別文字列に翻訳する。 この文字列は I<buf> で指定されたバッファーへ書き込まれ"
9377 "る。 I<buf> に文字列を入れるだけの十分な容量があることを確かめること。"
9378
9379 #. type: TP
9380 #: build/C/man2/sysfs.2:61
9381 #, no-wrap
9382 msgid "B<3>"
9383 msgstr "B<3>"
9384
9385 #. type: Plain text
9386 #: build/C/man2/sysfs.2:65
9387 msgid ""
9388 "Return the total number of filesystem types currently present in the kernel."
9389 msgstr "現在カーネルに存在するファイルシステム型の数の合計を返す。"
9390
9391 #. type: Plain text
9392 #: build/C/man2/sysfs.2:67
9393 msgid "The numbering of the filesystem type indexes begins with zero."
9394 msgstr "ファイルシステムの型インデックスの数はゼロから始まる。"
9395
9396 #. type: Plain text
9397 #: build/C/man2/sysfs.2:79
9398 msgid ""
9399 "On success, B<sysfs>()  returns the filesystem index for option B<1>, zero "
9400 "for option B<2>, and the number of currently configured filesystems for "
9401 "option B<3>.  On error, -1 is returned, and I<errno> is set appropriately."
9402 msgstr ""
9403 "成功した場合 B<sysfs>()  は、 オプション B<1> では ファイルシステムのインデッ"
9404 "クスを返す。 オプション B<2> ではゼロを返す。 オプション B<3> は現在設定され"
9405 "ているファイルシステムの数を返す。 エラーの場合は、-1 が返され、 I<errno> が"
9406 "適切に設定される。"
9407
9408 #. type: Plain text
9409 #: build/C/man2/sysfs.2:84
9410 msgid "Either I<fsname> or I<buf> is outside your accessible address space."
9411 msgstr "fsnameI< と >buf のどちらかがアクセス可能なアドレス空間の外にある。"
9412
9413 #. type: Plain text
9414 #: build/C/man2/sysfs.2:92
9415 msgid ""
9416 "I<fsname> is not a valid filesystem type identifier; I<fs_index> is out-of-"
9417 "bounds; I<option> is invalid."
9418 msgstr ""
9419 "I<fsname> が正しいファイルシステムの型識別子ではない; I<fs_index> が範囲の外"
9420 "にある; I<option> が正しくない。"
9421
9422 #.  SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR
9423 #.  but has no ENOSYS condition.
9424 #. type: Plain text
9425 #: build/C/man2/sysfs.2:94 build/C/man2/ustat.2:98
9426 msgid "SVr4."
9427 msgstr "SVr4."
9428
9429 #. type: Plain text
9430 #: build/C/man2/sysfs.2:101
9431 msgid ""
9432 "This System-V derived system call is obsolete; don't use it.  On systems "
9433 "with I</proc>, the same information can be obtained via I</proc/"
9434 "filesystems>; use that interface instead."
9435 msgstr ""
9436 "この System-V 由来のシステムコールは廃止予定 (obsolete) であり、 使用しないこ"
9437 "と。 I</proc> が利用できるシステムでは、同じ情報が I</proc/filesystems> 経由"
9438 "で取得でき、このインタフェースを使用すること。"
9439
9440 #. type: Plain text
9441 #: build/C/man2/sysfs.2:104
9442 msgid ""
9443 "There is no libc or glibc support.  There is no way to guess how large "
9444 "I<buf> should be."
9445 msgstr ""
9446 "libc または glibc のサポートは存在しない。 I<buf> の大きさがどれだけ必要かを"
9447 "推測する方法がない。"
9448
9449 #. type: TH
9450 #: build/C/man2/umount.2:30
9451 #, no-wrap
9452 msgid "UMOUNT"
9453 msgstr "UMOUNT"
9454
9455 #. type: TH
9456 #: build/C/man2/umount.2:30
9457 #, no-wrap
9458 msgid "2014-02-26"
9459 msgstr "2014-02-26"
9460
9461 #. type: Plain text
9462 #: build/C/man2/umount.2:33
9463 msgid "umount, umount2 - unmount filesystem"
9464 msgstr "umount, umount2 - ファイルシステムをアンマウントする"
9465
9466 #. type: Plain text
9467 #: build/C/man2/umount.2:38
9468 #, no-wrap
9469 msgid "B<int umount(const char *>I<target>B<);>\n"
9470 msgstr "B<int umount(const char *>I<target>B<);>\n"
9471
9472 #. type: Plain text
9473 #: build/C/man2/umount.2:40
9474 #, no-wrap
9475 msgid "B<int umount2(const char *>I<target>B<, int >I<flags>B<);>\n"
9476 msgstr "B<int umount2(const char *>I<target>B<, int >I<flags>B<);>\n"
9477
9478 #.  Note: the kernel naming differs from the glibc naming
9479 #.  umount2 is the glibc name for what the kernel now calls umount
9480 #.  and umount is the glibc name for oldumount
9481 #. type: Plain text
9482 #: build/C/man2/umount.2:50
9483 msgid ""
9484 "B<umount>()  and B<umount2>()  remove the attachment of the (topmost) "
9485 "filesystem mounted on I<target>."
9486 msgstr ""
9487 "B<umount>()  と B<umount2>()  は I<target> にマウントされている (最上位の) "
9488 "ファイルシステムを外す。"
9489
9490 #. type: Plain text
9491 #: build/C/man2/umount.2:54
9492 msgid ""
9493 "Appropriate privilege (Linux: the B<CAP_SYS_ADMIN> capability) is required "
9494 "to unmount filesystems."
9495 msgstr ""
9496 "ファイルシステムのアンマウントを行うには、 適切な権限 (Linux では "
9497 "B<CAP_SYS_ADMIN> ケーパビリティ) が必要である。"
9498
9499 #. type: Plain text
9500 #: build/C/man2/umount.2:62
9501 msgid ""
9502 "Linux 2.1.116 added the B<umount2>()  system call, which, like B<umount>(), "
9503 "unmounts a target, but allows additional I<flags> controlling the behavior "
9504 "of the operation:"
9505 msgstr ""
9506 "Linux 2.1.116 から、 B<umount2>()  システムコールが追加された。これは "
9507 "B<umount>()  と同様に I<target> をアンマウントするが、 I<flags> が追加されて"
9508 "おり、操作時の振る舞いを制御できる。"
9509
9510 #. type: TP
9511 #: build/C/man2/umount.2:62
9512 #, no-wrap
9513 msgid "B<MNT_FORCE> (since Linux 2.1.116)"
9514 msgstr "B<MNT_FORCE> (2.1.116 以降)"
9515
9516 #. type: Plain text
9517 #: build/C/man2/umount.2:67
9518 msgid ""
9519 "Force unmount even if busy.  This can cause data loss.  (Only for NFS "
9520 "mounts.)"
9521 msgstr ""
9522 "使用中 (busy) でも強制的にアンマウントを実行する。 これを行うとデータを失う可"
9523 "能性がある。 (NFS マウント専用)"
9524
9525 #. type: TP
9526 #: build/C/man2/umount.2:67
9527 #, no-wrap
9528 msgid "B<MNT_DETACH> (since Linux 2.4.11)"
9529 msgstr "B<MNT_DETACH> (2.4.11 以降)"
9530
9531 #. type: Plain text
9532 #: build/C/man2/umount.2:72
9533 msgid ""
9534 "Perform a lazy unmount: make the mount point unavailable for new accesses, "
9535 "and actually perform the unmount when the mount point ceases to be busy."
9536 msgstr ""
9537 "遅延アンマウントを行う。マウントポイントに対する新規のアクセスは 不可能とな"
9538 "り、実際のアンマウントはマウントポイントがビジーで なくなった時点で行う。"
9539
9540 #. type: TP
9541 #: build/C/man2/umount.2:72
9542 #, no-wrap
9543 msgid "B<MNT_EXPIRE> (since Linux 2.6.8)"
9544 msgstr "B<MNT_EXPIRE> (Linux 2.6.8 以降)"
9545
9546 #. type: Plain text
9547 #: build/C/man2/umount.2:91
9548 msgid ""
9549 "Mark the mount point as expired.  If a mount point is not currently in use, "
9550 "then an initial call to B<umount2>()  with this flag fails with the error "
9551 "B<EAGAIN>, but marks the mount point as expired.  The mount point remains "
9552 "expired as long as it isn't accessed by any process.  A second B<umount2>()  "
9553 "call specifying B<MNT_EXPIRE> unmounts an expired mount point.  This flag "
9554 "cannot be specified with either B<MNT_FORCE> or B<MNT_DETACH>."
9555 msgstr ""
9556 "マウントポイントに期限切れの印をつける。 マウントポイントが現在使用中でない場"
9557 "合、このフラグをつけて B<umount2>()  を初めて呼び出すと B<EAGAIN> エラーで失"
9558 "敗するが、マウントポイントには期限切れ (expire)  の印がつけられる。 そのマウ"
9559 "ントポイントはいずれかのプロセスがアクセスしない限り 期限切れの印がついたまま"
9560 "となる。 もう一度 B<MNT_EXPIRE> をつけて B<umount2>()  を呼び出すと、期限切れ"
9561 "の印のついたマウントポイントが アンマウントされる。 このフラグを "
9562 "B<MNT_FORCE> もしくは B<MNT_DETACH> と同時に指定することはできない。"
9563
9564 #. type: TP
9565 #: build/C/man2/umount.2:91
9566 #, no-wrap
9567 msgid "B<UMOUNT_NOFOLLOW> (since Linux 2.6.34)"
9568 msgstr "B<UMOUNT_NOFOLLOW> (Linux 2.6.34 以降)"
9569
9570 #.  Later added to 2.6.33-stable
9571 #. type: Plain text
9572 #: build/C/man2/umount.2:99
9573 msgid ""
9574 "Don't dereference I<target> if it is a symbolic link.  This flag allows "
9575 "security problems to be avoided in set-user-ID-I<root> programs that allow "
9576 "unprivileged users to unmount filesystems."
9577 msgstr ""
9578 "I<target> がシンボリックリンクの場合に、シンボリックリンクの展開を行わな"
9579 "い。\n"
9580 "このフラグを使うと、 I<root> に set-user-ID されたプログラムにおいて、\n"
9581 "非特権ユーザがファイルシステムのアンマウントをできてしまうという\n"
9582 "セキュリティ問題を回避することができる。"
9583
9584 #. type: TP
9585 #: build/C/man2/umount.2:110
9586 #, no-wrap
9587 msgid "B<EAGAIN>"
9588 msgstr "B<EAGAIN>"
9589
9590 #. type: Plain text
9591 #: build/C/man2/umount.2:117
9592 msgid ""
9593 "A call to B<umount2>()  specifying B<MNT_EXPIRE> successfully marked an "
9594 "unbusy filesystem as expired."
9595 msgstr ""
9596 "B<MNT_EXPIRE> を指定した B<umount2>()  の呼び出しで、正常に未使用のファイルシ"
9597 "ステムに期限切れの印を つけることができた。"
9598
9599 #. type: Plain text
9600 #: build/C/man2/umount.2:121
9601 msgid "I<target> could not be unmounted because it is busy."
9602 msgstr "使用中 (busy) のため、 I<target> をアンマウントできなかった。"
9603
9604 #. type: Plain text
9605 #: build/C/man2/umount.2:125
9606 msgid "I<target> points outside the user address space."
9607 msgstr "I<target> がユーザアドレス空間の外を指している。"
9608
9609 #. type: Plain text
9610 #: build/C/man2/umount.2:129
9611 msgid "I<target> is not a mount point."
9612 msgstr "I<target> がマウントポイントではない。"
9613
9614 #. type: Plain text
9615 #: build/C/man2/umount.2:138
9616 msgid ""
9617 "B<umount2>()  was called with B<MNT_EXPIRE> and either B<MNT_DETACH> or "
9618 "B<MNT_FORCE>."
9619 msgstr ""
9620 "B<MNT_EXPIRE> が指定された B<umount2>() で、 B<MNT_DETACH> か B<MNT_FORCE> が"
9621 "同時に指定された。"
9622
9623 #. type: TP
9624 #: build/C/man2/umount.2:138
9625 #, no-wrap
9626 msgid "B<EINVAL> (since Linux 2.6.34)"
9627 msgstr "B<EINVAL> (Linux 2.6.34 以降)"
9628
9629 #. type: Plain text
9630 #: build/C/man2/umount.2:143
9631 msgid "B<umount2>()  was called with an invalid flag value in I<flags>."
9632 msgstr "I<flags> に無効なフラグが指定されて B<umount2>() が呼び出された。"
9633
9634 #.  http://sourceware.org/bugzilla/show_bug.cgi?id=10092
9635 #. type: Plain text
9636 #: build/C/man2/umount.2:162
9637 msgid ""
9638 "B<MNT_DETACH> and B<MNT_EXPIRE> are available in glibc since version 2.11."
9639 msgstr ""
9640 "B<MNT_DETACH> と B<MNT_EXPIRE> はバージョン 2.11 以降の glibc で利用できる。"
9641
9642 #. type: Plain text
9643 #: build/C/man2/umount.2:165
9644 msgid ""
9645 "These functions are Linux-specific and should not be used in programs "
9646 "intended to be portable."
9647 msgstr ""
9648 "この関数は Linux 固有の関数であり、移植を考慮したプログラムでは 使用すべきで"
9649 "ない。"
9650
9651 #. type: Plain text
9652 #: build/C/man2/umount.2:176
9653 msgid ""
9654 "The original B<umount>()  function was called as I<umount(device)> and would "
9655 "return B<ENOTBLK> when called with something other than a block device.  In "
9656 "Linux 0.98p4, a call I<umount(dir)> was added, in order to support anonymous "
9657 "devices.  In Linux 2.3.99-pre7, the call I<umount(device)> was removed, "
9658 "leaving only I<umount(dir)> (since now devices can be mounted in more than "
9659 "one place, so specifying the device does not suffice)."
9660 msgstr ""
9661 "元々の B<umount>()  関数は I<umount(device)> の形で呼び出され、 ブロックデバ"
9662 "イス以外を指定して呼び出すと B<ENOTBLK> を返した。 Linux 0.98p4 で、無名デバ"
9663 "イス (anonymous device) に対応するために I<umount(dir)> の形での呼び出しが加"
9664 "えられた。 Linux 2.3.99-pre7 で、I<umount(device)> は削除され、 "
9665 "I<umount(dir)> だけが残された (一つのデバイスを複数の位置にマウント出来るよう"
9666 "になったため、 デバイスを指定しただけでは不十分だからである)。"
9667
9668 #. type: Plain text
9669 #: build/C/man2/umount.2:181
9670 msgid "B<mount>(2), B<path_resolution>(7), B<mount>(8), B<umount>(8)"
9671 msgstr "B<mount>(2), B<path_resolution>(7), B<mount>(8), B<umount>(8)"
9672
9673 #. type: TH
9674 #: build/C/man2/ustat.2:30
9675 #, no-wrap
9676 msgid "USTAT"
9677 msgstr "USTAT"
9678
9679 #. type: TH
9680 #: build/C/man2/ustat.2:30
9681 #, no-wrap
9682 msgid "2003-08-04"
9683 msgstr "2003-08-04"
9684
9685 #. type: Plain text
9686 #: build/C/man2/ustat.2:33
9687 msgid "ustat - get filesystem statistics"
9688 msgstr "ustat - ファイルシステム (file system) の統計を得る"
9689
9690 #. type: Plain text
9691 #: build/C/man2/ustat.2:38
9692 #, no-wrap
9693 msgid "B<#include E<lt>unistd.hE<gt>>    /* libc[45] */\n"
9694 msgstr "B<#include E<lt>unistd.hE<gt>>    /* libc[45] */\n"
9695
9696 #. type: Plain text
9697 #: build/C/man2/ustat.2:40
9698 #, no-wrap
9699 msgid "B<#include E<lt>ustat.hE<gt>>     /* glibc2 */\n"
9700 msgstr "B<#include E<lt>ustat.hE<gt>>     /* glibc2 */\n"
9701
9702 #. type: Plain text
9703 #: build/C/man2/ustat.2:42
9704 #, no-wrap
9705 msgid "B<int ustat(dev_t >I<dev>B<, struct ustat *>I<ubuf>B<);>\n"
9706 msgstr "B<int ustat(dev_t >I<dev>B<, struct ustat *>I<ubuf>B<);>\n"
9707
9708 #. type: Plain text
9709 #: build/C/man2/ustat.2:54
9710 msgid ""
9711 "B<ustat>()  returns information about a mounted filesystem.  I<dev> is a "
9712 "device number identifying a device containing a mounted filesystem.  I<ubuf> "
9713 "is a pointer to a I<ustat> structure that contains the following members:"
9714 msgstr ""
9715 "B<ustat>()  はマウント (mount) されたファイルシステムの情報を返す。 I<dev> は"
9716 "調べるファイルシステムを含んでいるデバイス (device) の デバイス番号。 "
9717 "I<ubuf> は以下のメンバーを含む ustat 構造体へのポインター:"
9718
9719 #. type: Plain text
9720 #: build/C/man2/ustat.2:61
9721 #, no-wrap
9722 msgid ""
9723 "daddr_t f_tfree;      /* Total free blocks */\n"
9724 "ino_t   f_tinode;     /* Number of free inodes */\n"
9725 "char    f_fname[6];   /* Filsys name */\n"
9726 "char    f_fpack[6];   /* Filsys pack name */\n"
9727 msgstr ""
9728 "daddr_t f_tfree;      /* Total free blocks */\n"
9729 "ino_t   f_tinode;     /* Number of free inodes */\n"
9730 "char    f_fname[6];   /* Filsys name */\n"
9731 "char    f_fpack[6];   /* Filsys pack name */\n"
9732
9733 #. type: Plain text
9734 #: build/C/man2/ustat.2:70
9735 msgid ""
9736 "The last two fields, I<f_fname> and I<f_fpack>, are not implemented and will "
9737 "always be filled with null bytes (\\(aq\\e0\\(aq)."
9738 msgstr ""
9739 "後の二つのフィールド I<f_fname> と I<f_fpack> は実装されておらず、常にヌルバ"
9740 "イト (\\(aq\\e0\\(aq) で埋められる。"
9741
9742 #. type: Plain text
9743 #: build/C/man2/ustat.2:79
9744 msgid ""
9745 "On success, zero is returned and the I<ustat> structure pointed to by "
9746 "I<ubuf> will be filled in.  On error, -1 is returned, and I<errno> is set "
9747 "appropriately."
9748 msgstr ""
9749 "成功した場合にはゼロが返され、 I<ubuf> が指す I<ustat> 構造体が埋められる。 "
9750 "エラーの場合は -1 が返され、 I<errno> が適切に設定される。"
9751
9752 #. type: Plain text
9753 #: build/C/man2/ustat.2:84
9754 msgid "I<ubuf> points outside of your accessible address space."
9755 msgstr "I<ubuf> がアクセス可能な空間の外側を指している。"
9756
9757 #. type: Plain text
9758 #: build/C/man2/ustat.2:88
9759 msgid "I<dev> does not refer to a device containing a mounted filesystem."
9760 msgstr ""
9761 "I<dev> がマウントされたファイルシステムを含むデバイスを参照していない。"
9762
9763 #. type: Plain text
9764 #: build/C/man2/ustat.2:94
9765 msgid ""
9766 "The mounted filesystem referenced by I<dev> does not support this operation, "
9767 "or any version of Linux before 1.3.16."
9768 msgstr ""
9769 "I<dev> で参照されるマウントされたファイルシステムがこの操作 (operation) を サ"
9770 "ポートしていないか、Linux のバージョンが 1.3.16 以前である。"
9771
9772 #. type: Plain text
9773 #: build/C/man2/ustat.2:104
9774 msgid ""
9775 "B<ustat>()  is deprecated and has been provided only for compatibility.  All "
9776 "new programs should use B<statfs>(2)  instead."
9777 msgstr ""
9778 "B<ustat>()  は推奨されず、互換性のためだけに提供される。 新しいプログラムは全"
9779 "てこれの代りに B<statfs>(2)  を使用するべきである。"
9780
9781 #. type: SS
9782 #: build/C/man2/ustat.2:104
9783 #, no-wrap
9784 msgid "HP-UX notes"
9785 msgstr "HP-UX における注意"
9786
9787 #.  Some software tries to use this in order to test whether the
9788 #.  underlying filesystem is NFS.
9789 #. type: Plain text
9790 #: build/C/man2/ustat.2:118
9791 msgid ""
9792 "The HP-UX version of the I<ustat> structure has an additional field, "
9793 "I<f_blksize>, that is unknown elsewhere.  HP-UX warns: For some filesystems, "
9794 "the number of free inodes does not change.  Such filesystems will return -1 "
9795 "in the field I<f_tinode>.  For some filesystems, inodes are dynamically "
9796 "allocated.  Such filesystems will return the current number of free inodes."
9797 msgstr ""
9798 "HP-UX 版の構造体 I<ustat> には、その他にフィールド I<f_blksize> が存在する"
9799 "が、他では見かけない。 HP-UX は次のように警告している: ファイルシステムの中に"
9800 "は、解放されている inode の数を変更しないものもある。 このようなファイルシス"
9801 "テムは、フィールド I<f_tinode> に -1 を返す。 ファイルシステムの中には、"
9802 "inode を動的に確保するものもある。 このようなファイルシステムは、現在解放され"
9803 "ている inode の数を返す。"
9804
9805 #. type: Plain text
9806 #: build/C/man2/ustat.2:121
9807 msgid "B<stat>(2), B<statfs>(2)"
9808 msgstr "B<stat>(2), B<statfs>(2)"
9809
9810 #~ msgid "2009-09-15"
9811 #~ msgstr "2009-09-15"
9812
9813 #~ msgid "2014-01-11"
9814 #~ msgstr "2014-01-11"
9815
9816 #~ msgid "2014-03-17"
9817 #~ msgstr "2014-03-17"
9818
9819 #~ msgid "2014-05-10"
9820 #~ msgstr "2014-05-10"
9821
9822 #~ msgid "2010-11-21"
9823 #~ msgstr "2010-11-21"
9824
9825 #~ msgid "The following flags are defined for the I<st_mode> field:"
9826 #~ msgstr "以下のフラグが I<st_mode> フィールド用に定義されている:"
9827
9828 #~ msgid ""
9829 #~ "The returned file handler can only be passed to B<spu_run>(2)  or closed; "
9830 #~ "other operations are not defined on it.  A logical SPU context is "
9831 #~ "destroyed when its file descriptor is closed as well as all the file "
9832 #~ "descriptors pointing to files inside it.  When an SPU context is "
9833 #~ "destroyed all its directory entries in the SPUFS are removed."
9834 #~ msgstr ""
9835 #~ "返されたファイルハンドラは、 B<spu_run>(2)  に渡すか、クローズするかしかで"
9836 #~ "きない。 他の操作は定義されていない。 論理 SPU コンテキストが破棄されるの"
9837 #~ "は、 コンテキスト自身へのファイルディスクリプタがクローズされ、 その中の"
9838 #~ "ファイルへのファイルディスクリプタが全てクローズされたときである。 SPU コ"
9839 #~ "ンテキストが破棄されると、SPUFS 内のそのディレクトリの全てのエントリ が削"
9840 #~ "除される。"
9841
9842 #~ msgid ""
9843 #~ "Allow mapping of some of the hardware registers of the SPU into user "
9844 #~ "space.  This flag requires the B<CAP_SYS_RAWIO> capability."
9845 #~ msgstr ""
9846 #~ "SPU のハードウェアレジスタのいくつかをユーザ空間にマッピングすることを 許"
9847 #~ "可する。このフラグを指定するには B<CAP_SYS_RAWIO> ケーパビリティが必要であ"
9848 #~ "る。"
9849
9850 #~ msgid ""
9851 #~ "The new directory and files are created in the SPUFS with the permissions "
9852 #~ "set by the I<mode> argument minus those set in the process's "
9853 #~ "B<umask>(2).  The actual permissions set for each file also depend on "
9854 #~ "whether the file supports read and/or write accesses."
9855 #~ msgstr ""
9856 #~ "SPUFS 内に新しく生成されたディレクトリとファイルのアクセス許可は、 "
9857 #~ "I<mode> 引き数からそのプロセスの B<umask>(2)  を引いた値に設定される。 各"
9858 #~ "ファイルの実際のアクセス許可は、そのファイルが読み出しアクセスや 書き込み"
9859 #~ "アクセスをサポートしているかも考慮して決まる。"
9860
9861 #~ msgid ""
9862 #~ "These files expose internal registers of the SPU.  The values are "
9863 #~ "represented as ASCII strings containing the numeric value of each "
9864 #~ "register.  These can be used in read/write mode for debugging, but normal "
9865 #~ "operation of programs should not rely on these files because accesses to "
9866 #~ "any of them except I<npc> require an SPU context save, which is very "
9867 #~ "inefficient."
9868 #~ msgstr ""
9869 #~ "これらのファイルは SPU の内部レジスタを公開するものである。 値は、各レジス"
9870 #~ "タの数値を含むアスキー文字列で表現される。 これらのファイルはデバッグ用と"
9871 #~ "して読み出し/書き込みの両モードで利用できるが、 プログラムの通常の操作はこ"
9872 #~ "れらのファイルに依存すべきではない。 なぜなら、これらのファイルのうち "
9873 #~ "I<npc> 以外へのアクセスでは SPU コンテキストの保存が必須であり、 SPU コン"
9874 #~ "テキストの保存は非常に効率が悪いからである。"