OSDN Git Service

(split) LDP: Update POT and ja.po to LDP v3.65
[linuxjm/LDP_man-pages.git] / po4a / inotify / 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: 2014-04-24 00:50+0900\n"
10 "PO-Revision-Date: 2014-04-21 02:20+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/man7/inotify.7:26
20 #, no-wrap
21 msgid "INOTIFY"
22 msgstr "INOTIFY"
23
24 #. type: TH
25 #: build/C/man7/inotify.7:26
26 #, no-wrap
27 msgid "2014-04-01"
28 msgstr "2014-04-01"
29
30 #. type: TH
31 #: build/C/man7/inotify.7:26 build/C/man2/inotify_add_watch.2:28
32 #: build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:27
33 #, no-wrap
34 msgid "Linux"
35 msgstr "Linux"
36
37 #. type: TH
38 #: build/C/man7/inotify.7:26 build/C/man2/inotify_add_watch.2:28
39 #: build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:27
40 #, no-wrap
41 msgid "Linux Programmer's Manual"
42 msgstr "Linux Programmer's Manual"
43
44 #. type: SH
45 #: build/C/man7/inotify.7:27 build/C/man2/inotify_add_watch.2:29
46 #: build/C/man2/inotify_init.2:30 build/C/man2/inotify_rm_watch.2:28
47 #, no-wrap
48 msgid "NAME"
49 msgstr "名前"
50
51 #. type: Plain text
52 #: build/C/man7/inotify.7:29
53 msgid "inotify - monitoring filesystem events"
54 msgstr "inotify - ファイルシステムイベントを監視する"
55
56 #. type: SH
57 #: build/C/man7/inotify.7:29 build/C/man2/inotify_add_watch.2:35
58 #: build/C/man2/inotify_init.2:39 build/C/man2/inotify_rm_watch.2:36
59 #, no-wrap
60 msgid "DESCRIPTION"
61 msgstr "説明"
62
63 #. type: Plain text
64 #: build/C/man7/inotify.7:37
65 msgid ""
66 "The I<inotify> API provides a mechanism for monitoring filesystem events.  "
67 "Inotify can be used to monitor individual files, or to monitor directories.  "
68 "When a directory is monitored, inotify will return events for the directory "
69 "itself, and for files inside the directory."
70 msgstr ""
71 "I<inotify> API はファイルシステムイベントを監視するための機構を提供する。 "
72 "inotify は個々のファイルやディレクトリを監視するのに使える。 ディレクトリを監"
73 "視する場合、inotify はディレクトリ自身と ディレクトリ内のファイルのイベントを"
74 "返す。"
75
76 #. type: Plain text
77 #: build/C/man7/inotify.7:39
78 msgid "The following system calls are used with this API:"
79 msgstr "この API では以下のシステムコールが使用される。"
80
81 #. type: IP
82 #: build/C/man7/inotify.7:39 build/C/man7/inotify.7:50
83 #: build/C/man7/inotify.7:63 build/C/man7/inotify.7:69
84 #: build/C/man7/inotify.7:72
85 #, no-wrap
86 msgid "*"
87 msgstr "*"
88
89 #. type: Plain text
90 #: build/C/man7/inotify.7:50
91 msgid ""
92 "B<inotify_init>(2)  creates an inotify instance and returns a file "
93 "descriptor referring to the inotify instance.  The more recent "
94 "B<inotify_init1>(2)  is like B<inotify_init>(2), but has a I<flags> argument "
95 "that provides access to some extra functionality."
96 msgstr ""
97 "B<inotify_init>(2)  は inotify インスタンスを作成し、inotify インスタンスを参"
98 "照する ファイルディスクリプタを返す。 もっと新しい B<inotify_init1>(2)  も "
99 "B<inotify_init>(2)  と同様だが、いくつかの追加の機能を利用するための "
100 "I<flags> 引き数を持っている。"
101
102 #. type: Plain text
103 #: build/C/man7/inotify.7:63
104 msgid ""
105 "B<inotify_add_watch>(2)  manipulates the \"watch list\" associated with an "
106 "inotify instance.  Each item (\"watch\") in the watch list specifies the "
107 "pathname of a file or directory, along with some set of events that the "
108 "kernel should monitor for the file referred to by that pathname.  "
109 "B<inotify_add_watch>(2)  either creates a new watch item, or modifies an "
110 "existing watch.  Each watch has a unique \"watch descriptor\", an integer "
111 "returned by B<inotify_add_watch>(2)  when the watch is created."
112 msgstr ""
113 "B<inotify_add_watch>(2)  は inotify インスタンスに関連づけられた「監視対象 "
114 "(watch) リスト」を操作する。 監視対象リストの各アイテム (\"watch\") は、 ファ"
115 "イルまたはディレクトリのパス名と、 そのパス名で参照されるファイルに対して "
116 "カーネルが監視する複数のイベントの集合を指定する。 B<inotify_add_watch>(2)  "
117 "は新しい監視アイテムの作成や既存の監視対象の変更ができる。 各監視対象は一意の"
118 "「監視対象ディスクリプタ」を持つ。 これは監視対象を作成したときに "
119 "B<inotify_add_watch>(2)  から返される整数である。"
120
121 #. type: Plain text
122 #: build/C/man7/inotify.7:69
123 msgid ""
124 "When events occur for monitored files and directories, those events are made "
125 "available to the application as structured data that can be read from the "
126 "inotify file descriptor using B<read>(2)  (see below)."
127 msgstr ""
128
129 #. type: Plain text
130 #: build/C/man7/inotify.7:72
131 msgid "B<inotify_rm_watch>(2)  removes an item from an inotify watch list."
132 msgstr ""
133 "B<inotify_rm_watch>(2)  は inotify の監視対象リストからアイテムを削除する。"
134
135 #. type: Plain text
136 #: build/C/man7/inotify.7:79
137 msgid ""
138 "When all file descriptors referring to an inotify instance have been closed "
139 "(using B<close>(2)), the underlying object and its resources are freed for "
140 "reuse by the kernel; all associated watches are automatically freed."
141 msgstr ""
142 "inotify インスタンスを指している 全てのファイルディスクリプタが (B<close>(2) "
143 "を使って) クローズされた場合、 その下層にあるオブジェクトとそのリソースは、 "
144 "カーネルで再利用するために解放される。 関連が切られた監視対象は自動的に解放さ"
145 "れる。"
146
147 #. type: Plain text
148 #: build/C/man7/inotify.7:88
149 msgid ""
150 "With careful programming, an application can use inotify to efficiently "
151 "monitor and cache the state of a set of filesystem objects.  However, robust "
152 "applications should allow for the fact that bugs in the monitoring logic or "
153 "races of the kind described below may leave the cache inconsistent with the "
154 "filesystem state.  It is probably wise to to do some consistency checking, "
155 "and rebuild the cache when inconsistencies are detected."
156 msgstr ""
157
158 #. type: SS
159 #: build/C/man7/inotify.7:88
160 #, no-wrap
161 msgid "Reading events from an inotify file descriptor"
162 msgstr "inotify ファイルディスクリプタからのイベントの読み出し"
163
164 #. type: Plain text
165 #: build/C/man7/inotify.7:101
166 msgid ""
167 "To determine what events have occurred, an application B<read>(2)s from the "
168 "inotify file descriptor.  If no events have so far occurred, then, assuming "
169 "a blocking file descriptor, B<read>(2)  will block until at least one event "
170 "occurs (unless interrupted by a signal, in which case the call fails with "
171 "the error B<EINTR>; see B<signal>(7))."
172 msgstr ""
173 "どのようなイベントが起こっていたかを知るには、 アプリケーションで inotify "
174 "ファイルディスクリプタを B<read>(2)  すればよい。 これまでに何もイベントが起"
175 "こっていない場合、 停止 (blocking) モードのファイルディスクリプタであれば、 "
176 "少なくとも 1 つのイベントが起こるまで B<read>(2)  は停止する (シグナルにより"
177 "割り込まれなかった場合。 シグナルによる割り込みがあった場合、呼び出しはエ"
178 "ラー B<EINTR> で失敗する。 B<signal>(7)  参照)。"
179
180 #. type: Plain text
181 #: build/C/man7/inotify.7:105
182 msgid ""
183 "Each successful B<read>(2)  returns a buffer containing one or more of the "
184 "following structures:"
185 msgstr ""
186 "B<read>(2)  が成功すると、以下の構造体を 1 つ以上含むバッファが返される:"
187
188 #.  FIXME . The type of the 'wd' field should probably be "int32_t".
189 #.  I submitted a patch to fix this.  See the LKML thread
190 #.  "[patch] Fix type errors in inotify interfaces", 18 Nov 2008
191 #.  Glibc bug filed: http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040
192 #. type: Plain text
193 #: build/C/man7/inotify.7:120
194 #, no-wrap
195 msgid ""
196 "struct inotify_event {\n"
197 "    int      wd;       /* Watch descriptor */\n"
198 "    uint32_t mask;     /* Mask of events */\n"
199 "    uint32_t cookie;   /* Unique cookie associating related\n"
200 "                          events (for rename(2)) */\n"
201 "    uint32_t len;      /* Size of I<name> field */\n"
202 "    char     name[];   /* Optional null-terminated name */\n"
203 "};\n"
204 msgstr ""
205 "struct inotify_event {\n"
206 "    int      wd;       /* 監視対象ディスクリプタ */\n"
207 "    uint32_t mask;     /* イベントのマスク */\n"
208 "    uint32_t cookie;   /* 関連するイベント群を関連づける\n"
209 "                          一意なクッキー (rename(2) 用) */\n"
210 "    uint32_t len;      /* \\(aqname\\(aq フィールドのサイズ */\n"
211 "    char     name[];   /* NULL で終端された任意の名前 */\n"
212 "};\n"
213
214 #. type: Plain text
215 #: build/C/man7/inotify.7:127
216 msgid ""
217 "I<wd> identifies the watch for which this event occurs.  It is one of the "
218 "watch descriptors returned by a previous call to B<inotify_add_watch>(2)."
219 msgstr ""
220 "I<wd> はイベント発生の監視対象を指定する。 これは、前もって行われた "
221 "B<inotify_add_watch>(2)  呼び出しで返された監視対象ディスクリプタのうちの 1 "
222 "つである。"
223
224 #. type: Plain text
225 #: build/C/man7/inotify.7:130
226 msgid ""
227 "I<mask> contains bits that describe the event that occurred (see below)."
228 msgstr ""
229 "I<mask> には発生したイベント (下記参照) を記述するためのビットが含まれる。"
230
231 #. type: Plain text
232 #: build/C/man7/inotify.7:142
233 msgid ""
234 "I<cookie> is a unique integer that connects related events.  Currently this "
235 "is used only for rename events, and allows the resulting pair of "
236 "B<IN_MOVED_FROM> and B<IN_MOVED_TO> events to be connected by the "
237 "application.  For all other event types, I<cookie> is set to 0."
238 msgstr ""
239 "I<cookie> は関連するイベントを関連づけるための一意な整数である。\n"
240 "現在のところ、この値は rename イベントに対してのみ使われており、\n"
241 "結果のペアである B<IN_MOVED_FROM> と B<IN_MOVED_TO> イベントを\n"
242 "アプリケーションで関連づけることができる。\n"
243 "他のイベント種別の場合には、 I<cookie> は 0 に設定する。"
244
245 #. type: Plain text
246 #: build/C/man7/inotify.7:151
247 msgid ""
248 "The I<name> field is present only when an event is returned for a file "
249 "inside a watched directory; it identifies the file pathname relative to the "
250 "watched directory.  This pathname is null-terminated, and may include "
251 "further null bytes (\\(aq\\e0\\(aq) to align subsequent reads to a suitable "
252 "address boundary."
253 msgstr ""
254 "I<name> フィールドは監視しているディレクトリ内のファイルに対して イベントが返"
255 "される場合のためにだけ存在する。 監視するディレクトリからのファイルの相対パス"
256 "名を表す。 このパス名は NULL で終端され、 その後の読み込みで適切なアドレス境"
257 "界に調整するために、 さらに NULL バイト (\\(aq\\e0\\(aq) が含まれる場合もあ"
258 "る。"
259
260 #. type: Plain text
261 #: build/C/man7/inotify.7:161
262 msgid ""
263 "The I<len> field counts all of the bytes in I<name>, including the null "
264 "bytes; the length of each I<inotify_event> structure is thus I<sizeof(struct "
265 "inotify_event)+len>."
266 msgstr ""
267 "I<len> フィールドは NULL バイトを含む I<name> の全てのバイト数を表す。\n"
268 "よって、 I<inotify_event> 構造体のサイズは \n"
269 "I<sizeof(struct inotify_event)+len> である。"
270
271 #. type: Plain text
272 #: build/C/man7/inotify.7:172
273 msgid ""
274 "The behavior when the buffer given to B<read>(2)  is too small to return "
275 "information about the next event depends on the kernel version: in kernels "
276 "before 2.6.21, B<read>(2)  returns 0; since kernel 2.6.21, B<read>(2)  fails "
277 "with the error B<EINVAL>.  Specifying a buffer of size"
278 msgstr ""
279 "B<read>(2) に渡されたバッファが小さすぎて次のイベントに関する情報を返せ\n"
280 "ない場合の動作はカーネルのバージョンにより異なる。 2.6.21 より前のカー\n"
281 "ネルでは、 B<read>(2) は 0 を返す。 2.6.21 以降のカーネルでは、\n"
282 "B<read>(2) はエラー B<EINVAL> で失敗する。\n"
283 "バッファサイズとして"
284
285 #. type: Plain text
286 #: build/C/man7/inotify.7:174
287 #, no-wrap
288 msgid "    sizeof(struct inotify_event) + NAME_MAX + 1\n"
289 msgstr "    sizeof(struct inotify_event) + NAME_MAX + 1\n"
290
291 #. type: Plain text
292 #: build/C/man7/inotify.7:176
293 msgid "will be sufficient to read at least one event."
294 msgstr "を指定すれば、少なくとも 1 イベントで読み出しを行うには十分である。"
295
296 #. type: SS
297 #: build/C/man7/inotify.7:176
298 #, no-wrap
299 msgid "inotify events"
300 msgstr "inotify イベント"
301
302 #. type: Plain text
303 #: build/C/man7/inotify.7:196
304 msgid ""
305 "The B<inotify_add_watch>(2)  I<mask> argument and the I<mask> field of the "
306 "I<inotify_event> structure returned when B<read>(2)ing an inotify file "
307 "descriptor are both bit masks identifying inotify events.  The following "
308 "bits can be specified in I<mask> when calling B<inotify_add_watch>(2)  and "
309 "may be returned in the I<mask> field returned by B<read>(2):"
310 msgstr ""
311 "B<inotify_add_watch>(2)  の I<mask> 引き数と、inotify ファイル構造体を "
312 "B<read>(2)  したときに返される I<inotify_event> 構造体の I<mask> フィールド"
313 "は、ともに inotify イベントを識別するための ビットマスクである。 以下のビット"
314 "が B<inotify_add_watch>(2)  を呼ぶときの I<mask> に指定可能であり、 B<read>"
315 "(2)  で返される I<mask> フィールドで返される:"
316
317 #. type: TP
318 #: build/C/man7/inotify.7:197
319 #, no-wrap
320 msgid "B<IN_ACCESS> (*)"
321 msgstr "B<IN_ACCESS> (*)"
322
323 #. type: Plain text
324 #: build/C/man7/inotify.7:202
325 msgid "File was accessed (e.g., B<read>(2), B<execve>(2))."
326 msgstr "(B<read>(2), B<execve>(2) などで) ファイルがアクセスされた。"
327
328 #. type: TP
329 #: build/C/man7/inotify.7:202
330 #, no-wrap
331 msgid "B<IN_ATTRIB> (*)"
332 msgstr "B<IN_ATTRIB> (*)"
333
334 #. type: Plain text
335 #: build/C/man7/inotify.7:217
336 msgid ""
337 "Metadata changed\\(emfor example, permissions (e.g., B<chmod>(2)), "
338 "timestamps (e.g., B<utimensat>(2)), extended attributes (B<setxattr>(2)), "
339 "link count (since Linux 2.6.25; e.g., for the target of B<link>(2)  and for "
340 "B<unlink>(2)), and user/group ID (e.g., B<chown>(2))."
341 msgstr ""
342 "メタデータが変更された。 メタデータとは、例えば、アクセス許可 (B<chmod>(2))、"
343 "タイムスタンプ (B<utimensat>(2) など)、拡張属性 (B<setxattr>(2))、 リンクカウ"
344 "ント (Linux 2.6.25 以降; B<link>(2) のリンク先や B<unlink>(2) など)、ユー"
345 "ザー/グループ ID (B<chown>(2) など) などである。"
346
347 #. type: TP
348 #: build/C/man7/inotify.7:217
349 #, no-wrap
350 msgid "B<IN_CLOSE_WRITE> (*)"
351 msgstr "B<IN_CLOSE_WRITE> (*)"
352
353 #. type: Plain text
354 #: build/C/man7/inotify.7:220
355 msgid "File opened for writing was closed."
356 msgstr "書き込みのためにオープンされたファイルがクローズされた。"
357
358 #. type: TP
359 #: build/C/man7/inotify.7:220
360 #, no-wrap
361 msgid "B<IN_CLOSE_NOWRITE> (*)"
362 msgstr "B<IN_CLOSE_NOWRITE> (*)"
363
364 #. type: Plain text
365 #: build/C/man7/inotify.7:223
366 msgid "File not opened for writing was closed."
367 msgstr "書き込み以外のためにオープンされたファイルがクローズされた。"
368
369 #. type: TP
370 #: build/C/man7/inotify.7:223
371 #, no-wrap
372 msgid "B<IN_CREATE> (*)"
373 msgstr "B<IN_CREATE> (*)"
374
375 #. type: Plain text
376 #: build/C/man7/inotify.7:233
377 msgid ""
378 "File/directory created in watched directory (e.g., B<open>(2)  B<O_CREAT>, "
379 "B<mkdir>(2), B<link>(2), B<symlink>(2), B<bind>(2)  on a UNIX domain socket)."
380 msgstr ""
381 "監視対象ディレクトリ内でファイルやディレクトリが作成された (B<open>(2)  "
382 "B<O_CREAT>, B<mkdir>(2), B<link>(2), B<symlink>(2), UNIX ドメインソケットに対"
383 "する B<bind>(2) など)。"
384
385 #. type: TP
386 #: build/C/man7/inotify.7:233
387 #, no-wrap
388 msgid "B<IN_DELETE> (*)"
389 msgstr "B<IN_DELETE> (*)"
390
391 #. type: Plain text
392 #: build/C/man7/inotify.7:236
393 msgid "File/directory deleted from watched directory."
394 msgstr "監視対象ディレクトリ内でファイルやディレクトリが削除された。"
395
396 #. type: TP
397 #: build/C/man7/inotify.7:236
398 #, no-wrap
399 msgid "B<IN_DELETE_SELF>"
400 msgstr "B<IN_DELETE_SELF>"
401
402 #. type: Plain text
403 #: build/C/man7/inotify.7:247
404 msgid ""
405 "Watched file/directory was itself deleted.  (This event also occurs if an "
406 "object is moved to another filesystem, since B<mv>(1)  in effect copies the "
407 "file to the other filesystem and then deletes it from the original "
408 "filesystem.)  In addition, an B<IN_IGNORED> event will subsequently be "
409 "generated for the watch descriptor."
410 msgstr ""
411
412 #. type: TP
413 #: build/C/man7/inotify.7:247
414 #, no-wrap
415 msgid "B<IN_MODIFY> (*)"
416 msgstr "B<IN_MODIFY> (*)"
417
418 #. type: Plain text
419 #: build/C/man7/inotify.7:252
420 msgid "File was modified (e.g., B<write>(2), B<truncate>(2))."
421 msgstr "ファイルが変更された (B<write>(2), B<truncate>(2) など)。"
422
423 #. type: TP
424 #: build/C/man7/inotify.7:252
425 #, no-wrap
426 msgid "B<IN_MOVE_SELF>"
427 msgstr "B<IN_MOVE_SELF>"
428
429 #. type: Plain text
430 #: build/C/man7/inotify.7:255
431 msgid "Watched file/directory was itself moved."
432 msgstr "監視対象のディレクトリまたはファイル自身が移動された。"
433
434 #. type: TP
435 #: build/C/man7/inotify.7:255
436 #, no-wrap
437 msgid "B<IN_MOVED_FROM> (*)"
438 msgstr "B<IN_MOVED_FROM> (*)"
439
440 #. type: Plain text
441 #: build/C/man7/inotify.7:259
442 msgid ""
443 "Generated for the directory containing the old filename when a file is "
444 "renamed."
445 msgstr ""
446 "ファイル名の変更を行った際に変更前のファイル名が含まれるディレクトリに対して"
447 "生成される。"
448
449 #. type: TP
450 #: build/C/man7/inotify.7:259
451 #, no-wrap
452 msgid "B<IN_MOVED_TO> (*)"
453 msgstr "B<IN_MOVED_TO> (*)"
454
455 #. type: Plain text
456 #: build/C/man7/inotify.7:263
457 msgid ""
458 "Generated for the directory containing the new filename when a file is "
459 "renamed."
460 msgstr ""
461 "ファイル名の変更を行った際に新しいファイル名が含まれるディレクトリに対して生"
462 "成される。"
463
464 #. type: TP
465 #: build/C/man7/inotify.7:263
466 #, no-wrap
467 msgid "B<IN_OPEN> (*)"
468 msgstr "B<IN_OPEN> (*)"
469
470 #. type: Plain text
471 #: build/C/man7/inotify.7:266
472 msgid "File was opened."
473 msgstr "ファイルがオープンされた。"
474
475 #. type: Plain text
476 #: build/C/man7/inotify.7:275
477 msgid ""
478 "When monitoring a directory, the events marked with an asterisk (*) above "
479 "can occur for files in the directory, in which case the I<name> field in the "
480 "returned I<inotify_event> structure identifies the name of the file within "
481 "the directory."
482 msgstr ""
483 "ディレクトリを監視する場合、 上記でアスタリスク (*) を付けたイベントは、 その"
484 "ディレクトリ内のファイルに対して発生する。 このとき I<inotify_event> 構造体で"
485 "返される I<name> フィールドは、ディレクトリ内のファイル名を表す。"
486
487 #. type: Plain text
488 #: build/C/man7/inotify.7:283
489 msgid ""
490 "The B<IN_ALL_EVENTS> macro is defined as a bit mask of all of the above "
491 "events.  This macro can be used as the I<mask> argument when calling "
492 "B<inotify_add_watch>(2)."
493 msgstr ""
494 "B<IN_ALL_EVENTS> マクロは上記のイベント全てのマスクとして定義される。 このマ"
495 "クロは B<inotify_add_watch>(2)  を呼び出すときの I<mask> 引き数として使える。"
496
497 #. type: Plain text
498 #: build/C/man7/inotify.7:285
499 msgid "Two additional convenience macros are defined:"
500 msgstr "以下の 2 つの便利なマクロが定義されている。"
501
502 #. type: TP
503 #: build/C/man7/inotify.7:286
504 #, no-wrap
505 msgid "B<IN_MOVE>"
506 msgstr "B<IN_MOVE>"
507
508 #. type: Plain text
509 #: build/C/man7/inotify.7:290
510 msgid "Equates to B<IN_MOVED_FROM | IN_MOVED_TO>."
511 msgstr "B<IN_MOVED_FROM | IN_MOVED_TO> と等価。"
512
513 #. type: TP
514 #: build/C/man7/inotify.7:290
515 #, no-wrap
516 msgid "B<IN_CLOSE>"
517 msgstr "B<IN_CLOSE>"
518
519 #. type: Plain text
520 #: build/C/man7/inotify.7:294
521 msgid "Equates to B<IN_CLOSE_WRITE | IN_CLOSE_NOWRITE>."
522 msgstr "B<IN_CLOSE_WRITE | IN_CLOSE_NOWRITE> と等価。"
523
524 #. type: Plain text
525 #: build/C/man7/inotify.7:300
526 msgid ""
527 "The following further bits can be specified in I<mask> when calling "
528 "B<inotify_add_watch>(2):"
529 msgstr ""
530 "その他にも以下のビットを B<inotify_add_watch>(2)  を呼ぶときの I<mask> に指定"
531 "できる:"
532
533 #. type: TP
534 #: build/C/man7/inotify.7:301
535 #, no-wrap
536 msgid "B<IN_DONT_FOLLOW> (since Linux 2.6.15)"
537 msgstr "B<IN_DONT_FOLLOW> (Linux 2.6.15 以降)"
538
539 #. type: Plain text
540 #: build/C/man7/inotify.7:306
541 msgid "Don't dereference I<pathname> if it is a symbolic link."
542 msgstr ""
543 "I<pathname> がシンボリックリンクである場合に辿らない。 (Linux 2.6.15 以降)"
544
545 #. type: TP
546 #: build/C/man7/inotify.7:306
547 #, no-wrap
548 msgid "B<IN_EXCL_UNLINK> (since Linux 2.6.36)"
549 msgstr "B<IN_EXCL_UNLINK> (Linux 2.6.36 以降)"
550
551 #.  commit 8c1934c8d70b22ca8333b216aec6c7d09fdbd6a6
552 #. type: Plain text
553 #: build/C/man7/inotify.7:322
554 msgid ""
555 "By default, when watching events on the children of a directory, events are "
556 "generated for children even after they have been unlinked from the "
557 "directory.  This can result in large numbers of uninteresting events for "
558 "some applications (e.g., if watching I</tmp>, in which many applications "
559 "create temporary files whose names are immediately unlinked).  Specifying "
560 "B<IN_EXCL_UNLINK> changes the default behavior, so that events are not "
561 "generated for children after they have been unlinked from the watched "
562 "directory."
563 msgstr ""
564 "デフォルトでは、あるディレクトリの子ファイルに関するイベントを監視 (watch) し"
565 "た際、ディレクトリからその子ファイルが削除 (unlink) された場合であってもその"
566 "子ファイルに対してイベントが生成される。このことは、アプリケーションによって"
567 "はあまり興味のないイベントが大量に発生することにつながる (例えば、I</tmp> を"
568 "監視している場合、たくさんのアプリケーションが、すぐにその名前が削除される一"
569 "時ファイルをそのディレクトリに作成する)。 B<IN_EXCL_UNLINK> を指定するとこの"
570 "デフォルトの動作を変更でき、監視対象のディレクトリから子ファイルが削除された"
571 "後に子ファイルに関するイベントが生成されなくなる。"
572
573 #. type: TP
574 #: build/C/man7/inotify.7:322
575 #, no-wrap
576 msgid "B<IN_MASK_ADD>"
577 msgstr "B<IN_MASK_ADD>"
578
579 #. type: Plain text
580 #: build/C/man7/inotify.7:326
581 msgid ""
582 "Add (OR) events to watch mask for this pathname if it already exists "
583 "(instead of replacing mask)."
584 msgstr ""
585 "I<pathname> に対する監視マスクが既に存在する場合、 (マスクの置き換えではな"
586 "く) イベントを追加 (OR) する。"
587
588 #. type: TP
589 #: build/C/man7/inotify.7:326
590 #, no-wrap
591 msgid "B<IN_ONESHOT>"
592 msgstr "B<IN_ONESHOT>"
593
594 #. type: Plain text
595 #: build/C/man7/inotify.7:332
596 msgid "Monitor I<pathname> for one event, then remove from watch list."
597 msgstr ""
598 "1 つのイベントについて I<pathname> を監視し、 イベントが発生したら監視対象リ"
599 "ストから削除する。"
600
601 #. type: TP
602 #: build/C/man7/inotify.7:332
603 #, no-wrap
604 msgid "B<IN_ONLYDIR> (since Linux 2.6.15)"
605 msgstr "B<IN_ONLYDIR> (Linux 2.6.15 以降)"
606
607 #. type: Plain text
608 #: build/C/man7/inotify.7:337
609 msgid "Only watch I<pathname> if it is a directory."
610 msgstr "I<pathname> がディレクトリの場合にのみ監視する。"
611
612 #. type: Plain text
613 #: build/C/man7/inotify.7:343
614 msgid ""
615 "The following bits may be set in the I<mask> field returned by B<read>(2):"
616 msgstr "以下のビットが B<read>(2)  で返される I<mask> フィールドに設定される:"
617
618 #. type: TP
619 #: build/C/man7/inotify.7:344
620 #, no-wrap
621 msgid "B<IN_IGNORED>"
622 msgstr "B<IN_IGNORED>"
623
624 #. type: Plain text
625 #: build/C/man7/inotify.7:350
626 msgid ""
627 "Watch was removed explicitly (B<inotify_rm_watch>(2))  or automatically "
628 "(file was deleted, or filesystem was unmounted).  See also BUGS."
629 msgstr ""
630 "監視対象が (B<inotify_rm_watch>(2) により) 明示的に 削除された。もしくは "
631 "(ファイルの削除、またはファイル システムのアンマウントにより) 自動的に削除さ"
632 "れた。「バグ」も参照のこと。"
633
634 #. type: TP
635 #: build/C/man7/inotify.7:350
636 #, no-wrap
637 msgid "B<IN_ISDIR>"
638 msgstr "B<IN_ISDIR>"
639
640 #. type: Plain text
641 #: build/C/man7/inotify.7:353
642 msgid "Subject of this event is a directory."
643 msgstr "このイベントの対象がディレクトリである。"
644
645 #. type: TP
646 #: build/C/man7/inotify.7:353
647 #, no-wrap
648 msgid "B<IN_Q_OVERFLOW>"
649 msgstr "B<IN_Q_OVERFLOW>"
650
651 #. type: Plain text
652 #: build/C/man7/inotify.7:358
653 msgid "Event queue overflowed (I<wd> is -1 for this event)."
654 msgstr "イベントキューが溢れた (このイベントの場合、I<wd> は -1 である)。"
655
656 #. type: TP
657 #: build/C/man7/inotify.7:358
658 #, no-wrap
659 msgid "B<IN_UNMOUNT>"
660 msgstr "B<IN_UNMOUNT>"
661
662 #. type: Plain text
663 #: build/C/man7/inotify.7:364
664 msgid ""
665 "Filesystem containing watched object was unmounted.  In addition, an "
666 "B<IN_IGNORED> event will subsequently be generated for the watch descriptor."
667 msgstr ""
668 "監視対象オブジェクトを含むファイルシステムがアンマウントされた。さらに、この"
669 "監視対象ディスクリプタに対して B<IN_IGNORED> イベントが生成される。"
670
671 #. type: SS
672 #: build/C/man7/inotify.7:365
673 #, no-wrap
674 msgid "Examples"
675 msgstr "例"
676
677 #. type: Plain text
678 #: build/C/man7/inotify.7:373
679 msgid ""
680 "Suppose an application is watching the directory I<dir> and the file I<dir/"
681 "myfile> for all events.  The examples below show some events that will be "
682 "generated for these two objects."
683 msgstr ""
684
685 #. type: TP
686 #: build/C/man7/inotify.7:374
687 #, no-wrap
688 msgid "fd = open(\"dir/myfile\", O_RDWR);"
689 msgstr "fd = open(\"dir/myfile\", O_RDWR);"
690
691 #. type: Plain text
692 #: build/C/man7/inotify.7:382
693 msgid "Generates B<IN_OPEN> events for both I<dir> and I<dir/myfile>."
694 msgstr ""
695 "I<dir> と I<dir/myfile> の両方に対して B<IN_OPEN> イベントが生成される。"
696
697 #. type: TP
698 #: build/C/man7/inotify.7:382
699 #, no-wrap
700 msgid "read(fd, buf, count);"
701 msgstr "read(fd, buf, count);"
702
703 #. type: Plain text
704 #: build/C/man7/inotify.7:390
705 msgid "Generates B<IN_ACCESS> events for both I<dir> and I<dir/myfile>."
706 msgstr ""
707 "I<dir> と I<dir/myfile> の両方に対して B<IN_ACCESS> イベントが生成される"
708
709 #. type: TP
710 #: build/C/man7/inotify.7:390
711 #, no-wrap
712 msgid "write(fd, buf, count);"
713 msgstr "write(fd, buf, count);"
714
715 #. type: Plain text
716 #: build/C/man7/inotify.7:398
717 msgid "Generates B<IN_MODIFY> events for both I<dir> and I<dir/myfile>."
718 msgstr ""
719 "I<dir> と I<dir/myfile> の両方に対して B<IN_MODIFY> イベントが生成される"
720
721 #. type: TP
722 #: build/C/man7/inotify.7:398
723 #, no-wrap
724 msgid "fchmod(fd, mode);"
725 msgstr "fchmod(fd, mode);"
726
727 #. type: Plain text
728 #: build/C/man7/inotify.7:406
729 msgid "Generates B<IN_ATTRIB> events for both I<dir> and I<dir/myfile>."
730 msgstr ""
731 "I<dir> と I<dir/myfile> の両方に対して B<IN_ATTRIB> イベントが生成される"
732
733 #. type: TP
734 #: build/C/man7/inotify.7:406
735 #, no-wrap
736 msgid "close(fd);"
737 msgstr "close(fd);"
738
739 #. type: Plain text
740 #: build/C/man7/inotify.7:414
741 msgid "Generates B<IN_CLOSE_WRITE> events for both I<dir> and I<dir/myfile>."
742 msgstr ""
743 "I<dir> と I<dir/myfile> の両方に対して B<IN_CLOSE_WRITE> イベントが生成される"
744
745 #. type: Plain text
746 #: build/C/man7/inotify.7:423
747 msgid ""
748 "Suppose an application is watching the directories I<dir1> and I<dir2>, and "
749 "the file I<dir1/myfile>.  The following examples show some events that may "
750 "be generated."
751 msgstr ""
752
753 #. type: TP
754 #: build/C/man7/inotify.7:424
755 #, fuzzy, no-wrap
756 #| msgid "link(\"dir/myfile\", \"dir2/new\");"
757 msgid "link(\"dir1/myfile\", \"dir2/new\");"
758 msgstr "link(\"dir/myfile\", \"dir2/new\");"
759
760 #. type: Plain text
761 #: build/C/man7/inotify.7:434
762 msgid ""
763 "Generates an B<IN_ATTRIB> event for I<myfile> and an B<IN_CREATE> event for "
764 "I<dir2>."
765 msgstr ""
766 "I<myfile> に対して B<IN_ATTRIB> イベントが生成され、 I<dir2> に対して "
767 "B<IN_CREATE> イベントが生成される。"
768
769 #. type: TP
770 #: build/C/man7/inotify.7:434
771 #, no-wrap
772 msgid "rename(\"dir1/myfile\", \"dir2/myfile\");"
773 msgstr "rename(\"dir1/myfile\", \"dir2/myfile\");"
774
775 #. type: Plain text
776 #: build/C/man7/inotify.7:455
777 msgid ""
778 "Generates an B<IN_MOVED_FROM> event for I<dir1>, an B<IN_MOVED_TO> event for "
779 "I<dir2>, and an B<IN_MOVE_SELF> event for I<myfile>.  The B<IN_MOVED_FROM> "
780 "and B<IN_MOVED_TO> events will have the same I<cookie> value."
781 msgstr ""
782 "I<dir1> に対してイベント B<IN_MOVED_FROM> が、 I<dir2> に対してイベント "
783 "B<IN_MOVED_TO> が、 I<myfile> に対してイベント B<IN_MOVE_SELF> が生成される。"
784 "この際 イベント B<IN_MOVED_FROM> と B<IN_MOVED_TO> は同じ I<cookie> 値を持"
785 "つ。"
786
787 #. type: Plain text
788 #: build/C/man7/inotify.7:469
789 msgid ""
790 "Suppose that I<dir1/xx> and I<dir2/yy> are (the only) links to the same "
791 "file, and an application is watching I<dir1>, I<dir2>, I<dir1/xx>, and "
792 "I<dir2/yy>.  Executing the following calls in the order given below will "
793 "generate the following events:"
794 msgstr ""
795
796 #. type: TP
797 #: build/C/man7/inotify.7:470
798 #, no-wrap
799 msgid "unlink(\"dir2/yy\");"
800 msgstr "unlink(\"dir2/yy\");"
801
802 #. type: Plain text
803 #: build/C/man7/inotify.7:481
804 #, fuzzy
805 #| msgid ""
806 #| "Generates an B<IN_ATTRIB> event for I<myfile> and an B<IN_CREATE> event "
807 #| "for I<dir2>."
808 msgid ""
809 "Generates an B<IN_ATTRIB> event for I<xx> (because its link count changes)  "
810 "and an B<IN_DELETE> event for I<dir2>."
811 msgstr ""
812 "I<myfile> に対して B<IN_ATTRIB> イベントが生成され、 I<dir2> に対して "
813 "B<IN_CREATE> イベントが生成される。"
814
815 #. type: TP
816 #: build/C/man7/inotify.7:481
817 #, no-wrap
818 msgid "unlink(\"dir1/xx\");"
819 msgstr "unlink(\"dir1/xx\");"
820
821 #. type: Plain text
822 #: build/C/man7/inotify.7:494
823 #, fuzzy
824 #| msgid ""
825 #| "Generates an B<IN_ATTRIB> event for I<myfile> and an B<IN_CREATE> event "
826 #| "for I<dir2>."
827 msgid ""
828 "Generates B<IN_ATTRIB>, B<IN_DELETE_SELF>, and B<IN_IGNORED> events for "
829 "I<xx>, and an B<IN_DELETE> event for I<dir1>."
830 msgstr ""
831 "I<myfile> に対して B<IN_ATTRIB> イベントが生成され、 I<dir2> に対して "
832 "B<IN_CREATE> イベントが生成される。"
833
834 #. type: Plain text
835 #: build/C/man7/inotify.7:501
836 msgid ""
837 "Suppose an application is watching the directory I<dir> and (the empty) "
838 "directory I<dir/subdir>.  The following examples show some events that may "
839 "be generated."
840 msgstr ""
841
842 #. type: TP
843 #: build/C/man7/inotify.7:502
844 #, no-wrap
845 msgid "mkdir(\"dir/new\", mode);"
846 msgstr "mkdir(\"dir/new\", mode);"
847
848 #. type: Plain text
849 #: build/C/man7/inotify.7:508
850 msgid "Generates an B<IN_CREATE | IN_ISDIR> event for I<dir>."
851 msgstr ""
852
853 #. type: TP
854 #: build/C/man7/inotify.7:508
855 #, fuzzy, no-wrap
856 #| msgid "rmdir(\"dir/sub\");"
857 msgid "rmdir(\"dir/subdir\");"
858 msgstr "rmdir(\"dir/sub\");"
859
860 #. type: Plain text
861 #: build/C/man7/inotify.7:520
862 msgid ""
863 "Generates B<IN_DELETE_SELF> and B<IN_IGNORED> events for I<subdir>, and an "
864 "B<IN_DELETE | IN_ISDIR> event for I<dir>."
865 msgstr ""
866
867 #. type: SS
868 #: build/C/man7/inotify.7:521
869 #, no-wrap
870 msgid "/proc interfaces"
871 msgstr "/proc インターフェース"
872
873 #. type: Plain text
874 #: build/C/man7/inotify.7:524
875 msgid ""
876 "The following interfaces can be used to limit the amount of kernel memory "
877 "consumed by inotify:"
878 msgstr ""
879 "以下のインターフェースは、inotify で消費される カーネルメモリの総量を制限する"
880 "のに使用できる:"
881
882 #. type: TP
883 #: build/C/man7/inotify.7:524
884 #, no-wrap
885 msgid "I</proc/sys/fs/inotify/max_queued_events>"
886 msgstr "I</proc/sys/fs/inotify/max_queued_events>"
887
888 #. type: Plain text
889 #: build/C/man7/inotify.7:533
890 msgid ""
891 "The value in this file is used when an application calls B<inotify_init>(2)  "
892 "to set an upper limit on the number of events that can be queued to the "
893 "corresponding inotify instance.  Events in excess of this limit are dropped, "
894 "but an B<IN_Q_OVERFLOW> event is always generated."
895 msgstr ""
896 "このファイルの値は、アプリケーションが B<inotify_init>(2)  を呼び出すときに使"
897 "用され、対応する inotify インスタンスについて キューに入れられるイベントの数"
898 "の上限を設定する。 この制限を超えたイベントは破棄されるが、 B<IN_Q_OVERFLOW> "
899 "イベントが常に生成される。"
900
901 #. type: TP
902 #: build/C/man7/inotify.7:533
903 #, no-wrap
904 msgid "I</proc/sys/fs/inotify/max_user_instances>"
905 msgstr "I</proc/sys/fs/inotify/max_user_instances>"
906
907 #. type: Plain text
908 #: build/C/man7/inotify.7:537
909 msgid ""
910 "This specifies an upper limit on the number of inotify instances that can be "
911 "created per real user ID."
912 msgstr ""
913 "1 つの実ユーザ ID に対して生成できる inotify インスタンスの数の上限を指定す"
914 "る。"
915
916 #. type: TP
917 #: build/C/man7/inotify.7:537
918 #, no-wrap
919 msgid "I</proc/sys/fs/inotify/max_user_watches>"
920 msgstr "I</proc/sys/fs/inotify/max_user_watches>"
921
922 #. type: Plain text
923 #: build/C/man7/inotify.7:541
924 msgid ""
925 "This specifies an upper limit on the number of watches that can be created "
926 "per real user ID."
927 msgstr "作成可能な監視対象の数の実 UID 単位の上限を指定する。"
928
929 #. type: SH
930 #: build/C/man7/inotify.7:541 build/C/man2/inotify_add_watch.2:118
931 #: build/C/man2/inotify_init.2:94 build/C/man2/inotify_rm_watch.2:67
932 #, no-wrap
933 msgid "VERSIONS"
934 msgstr "バージョン"
935
936 #. type: Plain text
937 #: build/C/man7/inotify.7:549
938 msgid ""
939 "Inotify was merged into the 2.6.13 Linux kernel.  The required library "
940 "interfaces were added to glibc in version 2.4.  (B<IN_DONT_FOLLOW>, "
941 "B<IN_MASK_ADD>, and B<IN_ONLYDIR> were added in glibc version 2.5.)"
942 msgstr ""
943 "inotify は 2.6.13 の Linux カーネルに組込まれた。 これに必要なライブラリのイ"
944 "ンターフェースは、 glibc のバージョン 2.4 に追加された (B<IN_DONT_FOLLOW>, "
945 "B<IN_MASK_ADD>, B<IN_ONLYDIR> は glibc バージョン 2.5 で追加された)。"
946
947 #. type: SH
948 #: build/C/man7/inotify.7:549 build/C/man2/inotify_add_watch.2:120
949 #: build/C/man2/inotify_init.2:101 build/C/man2/inotify_rm_watch.2:69
950 #, no-wrap
951 msgid "CONFORMING TO"
952 msgstr "準拠"
953
954 #. type: Plain text
955 #: build/C/man7/inotify.7:551
956 msgid "The inotify API is Linux-specific."
957 msgstr "inotify API は Linux 独自のものである。"
958
959 #. type: SH
960 #: build/C/man7/inotify.7:551
961 #, no-wrap
962 msgid "NOTES"
963 msgstr "注意"
964
965 #. type: Plain text
966 #: build/C/man7/inotify.7:558
967 msgid ""
968 "Inotify file descriptors can be monitored using B<select>(2), B<poll>(2), "
969 "and B<epoll>(7).  When an event is available, the file descriptor indicates "
970 "as readable."
971 msgstr ""
972 "inotify ファイルディスクリプタは B<select>(2), B<poll>(2), B<epoll>(7)  を"
973 "使って監視できる。 イベントがある場合、ファイルディスクリプタは読み込み可能と"
974 "通知する。"
975
976 #. type: Plain text
977 #: build/C/man7/inotify.7:587
978 msgid ""
979 "Since Linux 2.6.25, signal-driven I/O notification is available for inotify "
980 "file descriptors; see the discussion of B<F_SETFL> (for setting the "
981 "B<O_ASYNC> flag), B<F_SETOWN>, and B<F_SETSIG> in B<fcntl>(2).  The "
982 "I<siginfo_t> structure (described in B<sigaction>(2))  that is passed to the "
983 "signal handler has the following fields set: I<si_fd> is set to the inotify "
984 "file descriptor number; I<si_signo> is set to the signal number; I<si_code> "
985 "is set to B<POLL_IN>; and B<POLLIN> is set in I<si_band>."
986 msgstr ""
987 "Linux 2.6.25 以降では、シグナル駆動 (signal-driven) I/O の通知が inotify ファ"
988 "イルディスクリプタについて利用可能である。 B<fcntl>(2)  に書かれている "
989 "(B<O_ASYNC> フラグを設定するための)  B<F_SETFL>, B<F_SETOWN>, B<F_SETSIG> の"
990 "議論を参照のこと。 シグナルハンドラに渡される I<siginfo_t> 構造体は、以下の"
991 "フィールドが設定される (I<siginfo_t> は B<sigaction>(2)  で説明されている)。 "
992 "I<si_fd> には inotify ファイルディスクリプタ番号が、 I<si_signo> にはシグナル"
993 "番号が、 I<si_code> には B<POLL_IN> が、 I<si_band> には B<POLLIN> が設定され"
994 "る。"
995
996 #. type: Plain text
997 #: build/C/man7/inotify.7:600
998 msgid ""
999 "If successive output inotify events produced on the inotify file descriptor "
1000 "are identical (same I<wd>, I<mask>, I<cookie>, and I<name>), then they are "
1001 "coalesced into a single event if the older event has not yet been read (but "
1002 "see BUGS).  This reduces the amount of kernel memory required for the event "
1003 "queue, but also means that an application can't use inotify to reliably "
1004 "count file events."
1005 msgstr ""
1006 "inotify ファイルディスクリプタに対して 連続して生成される出力 inotify イベン"
1007 "トが同一の場合 (I<wd>, I<mask>, I<cookie>, I<name> が等しい場合)、 前のイベン"
1008 "トがまだ読み込まれていなければ、 連続するイベントが 1 つのイベントにまとめら"
1009 "れる (ただし「バグ」の節も参照のこと)。 これによりイベントキューに必要なカー"
1010 "ネルメモリ量が減るが、 これはまたアプリケーションがファイルイベント数を信頼性"
1011 "を持って数えるのに inotify を使用できないということでもある。"
1012
1013 #. type: Plain text
1014 #: build/C/man7/inotify.7:606
1015 msgid ""
1016 "The events returned by reading from an inotify file descriptor form an "
1017 "ordered queue.  Thus, for example, it is guaranteed that when renaming from "
1018 "one directory to another, events will be produced in the correct order on "
1019 "the inotify file descriptor."
1020 msgstr ""
1021 "inotify ファイルディスクリプタの読み込みで返されるイベントは、 順序付けられた"
1022 "キューになる。 従って、たとえば、あるディレクトリの名前を別の名前に変更した場"
1023 "合、 inotify ファイルディスクリプタについての正しい順番で イベントが生成され"
1024 "ることが保証される。"
1025
1026 #. type: Plain text
1027 #: build/C/man7/inotify.7:612
1028 msgid ""
1029 "The B<FIONREAD> B<ioctl>(2)  returns the number of bytes available to read "
1030 "from an inotify file descriptor."
1031 msgstr ""
1032 "B<FIONREAD> B<ioctl>(2)  は inotify ファイルディスクリプタから何バイト読み込"
1033 "めるかを返す。"
1034
1035 #. type: SS
1036 #: build/C/man7/inotify.7:612
1037 #, no-wrap
1038 msgid "Limitations and caveats"
1039 msgstr "制限と警告"
1040
1041 #. type: Plain text
1042 #: build/C/man7/inotify.7:619
1043 msgid ""
1044 "The inotify API provides no information about the user or process that "
1045 "triggered the inotify event.  In particular, there is no easy way for a "
1046 "process that is monitoring events via inotify to distinguish events that it "
1047 "triggers itself from those that are triggered by other processes."
1048 msgstr ""
1049 "inotify API では、inotify イベントが発生するきっかけとなったユーザやプロセス"
1050 "に関する情報は提供されない。とりわけ、inotify 経由でイベントを監視しているプ"
1051 "ロセスが、自分自身がきっかけとなったイベントと他のプロセスがきっかけとなった"
1052 "イベントを区別する簡単な手段はない。"
1053
1054 #. type: Plain text
1055 #: build/C/man7/inotify.7:632
1056 msgid ""
1057 "Inotify reports only events that a user-space program triggers through the "
1058 "filesystem API.  As a result, it does not catch remote events that occur on "
1059 "network filesystems.  (Applications must fall back to polling the filesystem "
1060 "to catch such events.)  Furthermore, various pseudo-filesystems such as I</"
1061 "proc>, I</sys>, and I</dev/pts> are not monitorable with inotify."
1062 msgstr ""
1063
1064 #. type: Plain text
1065 #: build/C/man7/inotify.7:638
1066 msgid ""
1067 "The inotify API does not report file accesses and modifications that may "
1068 "occur because of B<mmap>(2)  and B<msync>(2)."
1069 msgstr ""
1070
1071 #. type: Plain text
1072 #: build/C/man7/inotify.7:642
1073 msgid ""
1074 "The inotify API identifies affected files by filename.  However, by the time "
1075 "an application processes an inotify event, the filename may already have "
1076 "been deleted or renamed."
1077 msgstr ""
1078 "inotify API では影響が受けるファイルをファイル名で特定する。\n"
1079 "しかしながら、アプリケーションが inotify イベントを処理する時点では、\n"
1080 "そのファイル名がすでに削除されたり変更されたりしている可能性がある。"
1081
1082 #. type: Plain text
1083 #: build/C/man7/inotify.7:647
1084 msgid ""
1085 "The inotify API identifies events via watch descriptors.  It is the "
1086 "application's responsibility to cache a mapping (if one is needed) between "
1087 "watch descriptors and pathnames.  Be aware that directory renamings may "
1088 "affect multiple cached pathnames."
1089 msgstr ""
1090
1091 #. type: Plain text
1092 #: build/C/man7/inotify.7:652
1093 msgid ""
1094 "Inotify monitoring of directories is not recursive: to monitor "
1095 "subdirectories under a directory, additional watches must be created.  This "
1096 "can take a significant amount time for large directory trees."
1097 msgstr ""
1098 "inotify によるディレクトリの監視は再帰的に行われない: あるディレクトリ以下"
1099 "の\n"
1100 "サブディレクトリを監視する場合、 監視対象を追加で作成しなければならない。\n"
1101 "大きなディレクトリツリーの場合には、この作業にかなり時間がかかることがある。"
1102
1103 #. type: Plain text
1104 #: build/C/man7/inotify.7:661
1105 msgid ""
1106 "If monitoring an entire directory subtree, and a new subdirectory is created "
1107 "in that tree or an existing directory is renamed into that tree, be aware "
1108 "that by the time you create a watch for the new subdirectory, new files (and "
1109 "subdirectories) may already exist inside the subdirectory.  Therefore, you "
1110 "may want to scan the contents of the subdirectory immediately after adding "
1111 "the watch (and, if desired, recursively add watches for any subdirectories "
1112 "that it contains)."
1113 msgstr ""
1114 "ディレクトリツリー全体を監視していて、 そのツリー内に新しいサブディレクトリが"
1115 "作成されるか、 既存のディレクトリが名前が変更されそのツリー内に移動した場"
1116 "合、 新しいサブディレクトリに対する watch を作成するまでに、 新しいファイル "
1117 "(やサブディレクトリ) がそのサブディレクトリ内にすでに作成されている場合がある"
1118 "点に注意すること。 したがって、watch を追加した直後にサブディレクトリの内容を"
1119 "スキャンしたいと思う場合もあるだろう (必要ならそのサブディレクトリ内のサブ"
1120 "ディレクトリに対する watch も再帰的に追加することもあるだろう)。"
1121
1122 #. type: Plain text
1123 #: build/C/man7/inotify.7:673
1124 msgid ""
1125 "Note that the event queue can overflow.  In this case, events are lost.  "
1126 "Robust applications should handle the possibility of lost events "
1127 "gracefully.  For example, it may be necessary to rebuild part or all of the "
1128 "application cache.  (One simple, but possibly expensive, approach is to "
1129 "close the inotify file descriptor, empty the cache, create a new inotify "
1130 "file descriptor, and then re-create watches and cache entries for the "
1131 "objects to be monitored.)"
1132 msgstr ""
1133
1134 #. type: SS
1135 #: build/C/man7/inotify.7:673
1136 #, no-wrap
1137 msgid "Dealing with rename() events"
1138 msgstr "rename() イベントの取り扱い"
1139
1140 #. type: Plain text
1141 #: build/C/man7/inotify.7:682
1142 msgid ""
1143 "As noted above, the B<IN_MOVED_FROM> and B<IN_MOVED_TO> event pair that is "
1144 "generated by B<rename>(2)  can be matched up via their shared cookie value.  "
1145 "However, the task of matching has some challenges."
1146 msgstr ""
1147
1148 #. type: Plain text
1149 #: build/C/man7/inotify.7:693
1150 msgid ""
1151 "These two events are usually consecutive in the event stream available when "
1152 "reading from the inotify file descriptor.  However, this is not guaranteed.  "
1153 "If multiple processes are triggering events for monitored objects, then (on "
1154 "rare occasions) an arbitrary number of other events may appear between the "
1155 "B<IN_MOVED_FROM> and B<IN_MOVED_TO> events."
1156 msgstr ""
1157
1158 #. type: Plain text
1159 #: build/C/man7/inotify.7:718
1160 msgid ""
1161 "Matching up the B<IN_MOVED_FROM> and B<IN_MOVED_TO> event pair generated by "
1162 "B<rename>(2)  is thus inherently racy.  (Don't forget that if an object is "
1163 "renamed outside of a monitored directory, there may not even be an "
1164 "B<IN_MOVED_TO> event.)  Heuristic approaches (e.g., assume the events are "
1165 "always consecutive)  can be used to ensure a match in most cases, but will "
1166 "inevitably miss some cases, causing the application to perceive the "
1167 "B<IN_MOVED_FROM> and B<IN_MOVED_TO> events as being unrelated.  If watch "
1168 "descriptors are destroyed and re-created as a result, then those watch "
1169 "descriptors will be inconsistent with the watch descriptors in any pending "
1170 "events.  (Re-creating the inotify file descriptor and rebuilding the cache "
1171 "may be useful to deal with this scenario.)"
1172 msgstr ""
1173
1174 #. type: Plain text
1175 #: build/C/man7/inotify.7:728
1176 msgid ""
1177 "Applications should also allow for the possibility that the B<IN_MOVED_FROM> "
1178 "event was the last event that could fit in the buffer returned by the "
1179 "current call to B<read>(2), and the accompanying B<IN_MOVED_TO> event might "
1180 "be fetched only on the next B<read>(2)."
1181 msgstr ""
1182
1183 #. type: SH
1184 #: build/C/man7/inotify.7:728
1185 #, no-wrap
1186 msgid "BUGS"
1187 msgstr "バグ"
1188
1189 #.  FIXME kernel commit 611da04f7a31b2208e838be55a42c7a1310ae321
1190 #.  implies that unmount events were buggy 2.6.11 to 2.6.36
1191 #. type: Plain text
1192 #: build/C/man7/inotify.7:736
1193 msgid "In kernels before 2.6.16, the B<IN_ONESHOT> I<mask> flag does not work."
1194 msgstr "2.6.16 以前のカーネルでは B<IN_ONESHOT> I<mask> フラグが働かない。"
1195
1196 #. type: Plain text
1197 #: build/C/man7/inotify.7:746
1198 msgid ""
1199 "As originally designed and implemented, the B<IN_ONESHOT> flag did not cause "
1200 "an B<IN_IGNORED> event to be generated when the watch was dropped after one "
1201 "event.  However, as an unintended effect of other changes, since Linux "
1202 "2.6.36, an B<IN_IGNORED> event is generated in this case."
1203 msgstr ""
1204
1205 #.  commit 1c17d18e3775485bf1e0ce79575eb637a94494a2
1206 #. type: Plain text
1207 #: build/C/man7/inotify.7:755
1208 msgid ""
1209 "Before kernel 2.6.25, the kernel code that was intended to coalesce "
1210 "successive identical events (i.e., the two most recent events could "
1211 "potentially be coalesced if the older had not yet been read)  instead "
1212 "checked if the most recent event could be coalesced with the I<oldest> "
1213 "unread event."
1214 msgstr ""
1215 "カーネル 2.6.25 より前では、 連続する同一のイベントを一つにまとめることを意図"
1216 "したコード (古い方のイベントがまだ読み込まれていない場合に、 最新の 2 つのイ"
1217 "ベントを一つにまとめられる可能性がある) が、 最新のイベントが「最も古い」読み"
1218 "込まれていないイベントとまとめられるか をチェックするようになっていた。"
1219
1220 #. type: SH
1221 #: build/C/man7/inotify.7:755 build/C/man2/inotify_add_watch.2:122
1222 #: build/C/man2/inotify_init.2:103 build/C/man2/inotify_rm_watch.2:71
1223 #, no-wrap
1224 msgid "SEE ALSO"
1225 msgstr "関連項目"
1226
1227 #. type: Plain text
1228 #: build/C/man7/inotify.7:764
1229 msgid ""
1230 "B<inotifywait>(1), B<inotifywatch>(1), B<inotify_add_watch>(2), "
1231 "B<inotify_init>(2), B<inotify_init1>(2), B<inotify_rm_watch>(2), B<read>(2), "
1232 "B<stat>(2)"
1233 msgstr ""
1234 "B<inotifywait>(1), B<inotifywatch>(1), B<inotify_add_watch>(2), "
1235 "B<inotify_init>(2), B<inotify_init1>(2), B<inotify_rm_watch>(2), B<read>(2), "
1236 "B<stat>(2)"
1237
1238 #. type: Plain text
1239 #: build/C/man7/inotify.7:767
1240 msgid ""
1241 "I<Documentation/filesystems/inotify.txt> in the Linux kernel source tree"
1242 msgstr "Linux カーネルソース内の I<Documentation/filesystems/inotify.txt>"
1243
1244 #. type: SH
1245 #: build/C/man7/inotify.7:767 build/C/man2/inotify_add_watch.2:126
1246 #: build/C/man2/inotify_init.2:107 build/C/man2/inotify_rm_watch.2:75
1247 #, no-wrap
1248 msgid "COLOPHON"
1249 msgstr "この文書について"
1250
1251 #. type: Plain text
1252 #: build/C/man7/inotify.7:774 build/C/man2/inotify_add_watch.2:133
1253 #: build/C/man2/inotify_init.2:114 build/C/man2/inotify_rm_watch.2:82
1254 #, fuzzy
1255 #| msgid ""
1256 #| "This page is part of release 3.64 of the Linux I<man-pages> project.  A "
1257 #| "description of the project, and information about reporting bugs, can be "
1258 #| "found at \\%http://www.kernel.org/doc/man-pages/."
1259 msgid ""
1260 "This page is part of release 3.65 of the Linux I<man-pages> project.  A "
1261 "description of the project, and information about reporting bugs, can be "
1262 "found at \\%http://www.kernel.org/doc/man-pages/."
1263 msgstr ""
1264 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.64 の一部\n"
1265 "である。プロジェクトの説明とバグ報告に関する情報は\n"
1266 "http://www.kernel.org/doc/man-pages/ に書かれている。"
1267
1268 #. type: TH
1269 #: build/C/man2/inotify_add_watch.2:28
1270 #, no-wrap
1271 msgid "INOTIFY_ADD_WATCH"
1272 msgstr "INOTIFY_ADD_WATCH"
1273
1274 #. type: TH
1275 #: build/C/man2/inotify_add_watch.2:28 build/C/man2/inotify_init.2:29
1276 #, no-wrap
1277 msgid "2014-03-28"
1278 msgstr "2014-03-28"
1279
1280 #. type: Plain text
1281 #: build/C/man2/inotify_add_watch.2:31
1282 msgid "inotify_add_watch - add a watch to an initialized inotify instance"
1283 msgstr ""
1284 "inotify_add_watch - 初期化済み inotify インスタンスに監視対象を追加する"
1285
1286 #. type: SH
1287 #: build/C/man2/inotify_add_watch.2:31 build/C/man2/inotify_init.2:32
1288 #: build/C/man2/inotify_rm_watch.2:30
1289 #, no-wrap
1290 msgid "SYNOPSIS"
1291 msgstr "書式"
1292
1293 #. type: Plain text
1294 #: build/C/man2/inotify_add_watch.2:33 build/C/man2/inotify_rm_watch.2:32
1295 msgid "B<#include E<lt>sys/inotify.hE<gt>>"
1296 msgstr "B<#include E<lt>sys/inotify.hE<gt>>"
1297
1298 #. type: Plain text
1299 #: build/C/man2/inotify_add_watch.2:35
1300 msgid ""
1301 "B<int inotify_add_watch(int >I<fd>B<, const char *>I<pathname>B<, uint32_t "
1302 ">I<mask>B<);>"
1303 msgstr ""
1304 "B<int inotify_add_watch(int >I<fd>B<, const char *>I<pathname>B<, uint32_t "
1305 ">I<mask>B<);>"
1306
1307 #. type: Plain text
1308 #: build/C/man2/inotify_add_watch.2:54
1309 msgid ""
1310 "B<inotify_add_watch>()  adds a new watch, or modifies an existing watch, for "
1311 "the file whose location is specified in I<pathname>; the caller must have "
1312 "read permission for this file.  The I<fd> argument is a file descriptor "
1313 "referring to the inotify instance whose watch list is to be modified.  The "
1314 "events to be monitored for I<pathname> are specified in the I<mask> bit-mask "
1315 "argument.  See B<inotify>(7)  for a description of the bits that can be set "
1316 "in I<mask>."
1317 msgstr ""
1318 "B<inotify_add_watch>()  は、 I<pathname> で指定された位置にあるファイルを監視"
1319 "する監視アイテム (watch) の新規追加、 または既存の監視アイテムの変更を行う。 "
1320 "呼び出し元は、監視対象のファイルに対する読み出し許可を 持っていなければならな"
1321 "い。 I<fd> 引き数は、変更を行う監視対象リスト (watch list) を持つ inotify イ"
1322 "ンスタンスを参照するファイルディスクリプタである。 I<pathname> のどのイベント"
1323 "を監視するかは、引き数のビットマスク I<mask> で指定する。 I<mask> に設定でき"
1324 "るビットの説明については B<inotify>(7)  を参照のこと。"
1325
1326 #. type: Plain text
1327 #: build/C/man2/inotify_add_watch.2:68
1328 msgid ""
1329 "A successful call to B<inotify_add_watch>()  returns the unique watch "
1330 "descriptor associated with I<pathname> for this inotify instance.  If "
1331 "I<pathname> was not previously being watched by this inotify instance, then "
1332 "the watch descriptor is newly allocated.  If I<pathname> was already being "
1333 "watched, then the descriptor for the existing watch is returned."
1334 msgstr ""
1335 "B<inotify_add_watch>()  の呼び出しが成功すると、変更対象の inotify インスタン"
1336 "スで I<pathname> に対応付けられる一意な監視対象ディスクリプタ (watch "
1337 "descriptor) を返す。 I<pathname> がその inotify インスタンスに追加されていな"
1338 "ければ、 監視対象ディスクリプタが新規に割り当てられる。 I<pathname> がすでに"
1339 "監視対象になっていれば、既存の監視アイテムに対する ディスクリプタが返される。"
1340
1341 #. type: Plain text
1342 #: build/C/man2/inotify_add_watch.2:79
1343 msgid ""
1344 "The watch descriptor is returned by later B<read>(2)s from the inotify file "
1345 "descriptor.  These reads fetch I<inotify_event> structures (see B<inotify>"
1346 "(7))  indicating filesystem events; the watch descriptor inside this "
1347 "structure identifies the object for which the event occurred."
1348 msgstr ""
1349 "これ以降に inotify ファイルディスクリプタから B<read>(2)  を行うと、監視対象"
1350 "ディスクリプタが返される。 これらの B<read>()  を行うと、ファイルシステムイベ"
1351 "ントを示す I<inotify_event> 構造体が読み出される (B<inotify>(7)  参照)。この"
1352 "構造体内の監視対象ディスクリプタにより、 どのオブジェクトでそのイベントが発生"
1353 "したかを特定できる。"
1354
1355 #. type: SH
1356 #: build/C/man2/inotify_add_watch.2:79 build/C/man2/inotify_init.2:74
1357 #: build/C/man2/inotify_rm_watch.2:48
1358 #, no-wrap
1359 msgid "RETURN VALUE"
1360 msgstr "返り値"
1361
1362 #. type: Plain text
1363 #: build/C/man2/inotify_add_watch.2:86
1364 msgid ""
1365 "On success, B<inotify_add_watch>()  returns a nonnegative watch descriptor.  "
1366 "On error, -1 is returned and I<errno> is set appropriately."
1367 msgstr ""
1368 "成功すると、 B<inotify_add_watch>()  は非負の監視対象ディスクリプタを返す。 "
1369 "エラーの場合、-1 を返し、 I<errno> を適切に設定する。"
1370
1371 #. type: SH
1372 #: build/C/man2/inotify_add_watch.2:86 build/C/man2/inotify_init.2:79
1373 #: build/C/man2/inotify_rm_watch.2:55
1374 #, no-wrap
1375 msgid "ERRORS"
1376 msgstr "エラー"
1377
1378 #. type: TP
1379 #: build/C/man2/inotify_add_watch.2:87
1380 #, no-wrap
1381 msgid "B<EACCES>"
1382 msgstr "B<EACCES>"
1383
1384 #. type: Plain text
1385 #: build/C/man2/inotify_add_watch.2:90
1386 msgid "Read access to the given file is not permitted."
1387 msgstr "指定されたファイルに対する読み出しアクセスが許可されていない。"
1388
1389 #. type: TP
1390 #: build/C/man2/inotify_add_watch.2:90 build/C/man2/inotify_rm_watch.2:56
1391 #, no-wrap
1392 msgid "B<EBADF>"
1393 msgstr "B<EBADF>"
1394
1395 #. type: Plain text
1396 #: build/C/man2/inotify_add_watch.2:93
1397 msgid "The given file descriptor is not valid."
1398 msgstr "指定されたファイルディスクリプタが有効ではない。"
1399
1400 #. type: TP
1401 #: build/C/man2/inotify_add_watch.2:93
1402 #, no-wrap
1403 msgid "B<EFAULT>"
1404 msgstr "B<EFAULT>"
1405
1406 #. type: Plain text
1407 #: build/C/man2/inotify_add_watch.2:97
1408 msgid "I<pathname> points outside of the process's accessible address space."
1409 msgstr ""
1410 "I<pathname> が指すアドレスがプロセスがアクセスできるアドレス空間外である。"
1411
1412 #. type: TP
1413 #: build/C/man2/inotify_add_watch.2:97 build/C/man2/inotify_init.2:80
1414 #: build/C/man2/inotify_rm_watch.2:60
1415 #, no-wrap
1416 msgid "B<EINVAL>"
1417 msgstr "B<EINVAL>"
1418
1419 #. type: Plain text
1420 #: build/C/man2/inotify_add_watch.2:102
1421 msgid ""
1422 "The given event mask contains no valid events; or I<fd> is not an inotify "
1423 "file descriptor."
1424 msgstr ""
1425 "指定されたイベントマスクに有効なイベントが含まれていない。 もしくは I<fd> が "
1426 "inotify ファイルディスクリプタではない。"
1427
1428 #. type: TP
1429 #: build/C/man2/inotify_add_watch.2:102
1430 #, no-wrap
1431 msgid "B<ENAMETOOLONG>"
1432 msgstr "B<ENAMETOOLONG>"
1433
1434 #. type: Plain text
1435 #: build/C/man2/inotify_add_watch.2:106
1436 msgid "I<pathname> is too long."
1437 msgstr "I<pathname> が長過ぎる。"
1438
1439 #. type: TP
1440 #: build/C/man2/inotify_add_watch.2:106
1441 #, no-wrap
1442 msgid "B<ENOENT>"
1443 msgstr "B<ENOENT>"
1444
1445 #. type: Plain text
1446 #: build/C/man2/inotify_add_watch.2:111
1447 msgid ""
1448 "A directory component in I<pathname> does not exist or is a dangling "
1449 "symbolic link."
1450 msgstr ""
1451 "I<pathname> のディレクトリ部分の構成要素が、存在しないか、\n"
1452 "リンク切れのシンボリックリンクである。"
1453
1454 #. type: TP
1455 #: build/C/man2/inotify_add_watch.2:111 build/C/man2/inotify_init.2:91
1456 #, no-wrap
1457 msgid "B<ENOMEM>"
1458 msgstr "B<ENOMEM>"
1459
1460 #. type: Plain text
1461 #: build/C/man2/inotify_add_watch.2:114
1462 msgid "Insufficient kernel memory was available."
1463 msgstr "カーネルメモリが十分になかった。"
1464
1465 #. type: TP
1466 #: build/C/man2/inotify_add_watch.2:114
1467 #, no-wrap
1468 msgid "B<ENOSPC>"
1469 msgstr "B<ENOSPC>"
1470
1471 #. type: Plain text
1472 #: build/C/man2/inotify_add_watch.2:118
1473 msgid ""
1474 "The user limit on the total number of inotify watches was reached or the "
1475 "kernel failed to allocate a needed resource."
1476 msgstr ""
1477 "inotify 監視対象の総数がユーザが追加できる上限に達していた。 もしくは、必要な"
1478 "資源の割り当てにカーネルが失敗した。"
1479
1480 #. type: Plain text
1481 #: build/C/man2/inotify_add_watch.2:120 build/C/man2/inotify_rm_watch.2:69
1482 msgid "Inotify was merged into the 2.6.13 Linux kernel."
1483 msgstr "inotify は Linux カーネル 2.6.13 に組み込まれた。"
1484
1485 #. type: Plain text
1486 #: build/C/man2/inotify_add_watch.2:122 build/C/man2/inotify_rm_watch.2:71
1487 msgid "This system call is Linux-specific."
1488 msgstr "このシステムコールは Linux 独自である。"
1489
1490 #. type: Plain text
1491 #: build/C/man2/inotify_add_watch.2:126
1492 msgid "B<inotify_init>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
1493 msgstr "B<inotify_init>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
1494
1495 #. type: TH
1496 #: build/C/man2/inotify_init.2:29
1497 #, no-wrap
1498 msgid "INOTIFY_INIT"
1499 msgstr "INOTIFY_INIT"
1500
1501 #. type: Plain text
1502 #: build/C/man2/inotify_init.2:32
1503 msgid "inotify_init, inotify_init1 - initialize an inotify instance"
1504 msgstr "inotify_init, inotify_init1 - inotify インスタンスを初期化する"
1505
1506 #. type: Plain text
1507 #: build/C/man2/inotify_init.2:35
1508 #, no-wrap
1509 msgid "B<#include E<lt>sys/inotify.hE<gt>>\n"
1510 msgstr "B<#include E<lt>sys/inotify.hE<gt>>\n"
1511
1512 #. type: Plain text
1513 #: build/C/man2/inotify_init.2:38
1514 #, no-wrap
1515 msgid ""
1516 "B<int inotify_init(void);>\n"
1517 "B<int inotify_init1(int >I<flags>B<);>\n"
1518 msgstr ""
1519 "B<int inotify_init(void);>\n"
1520 "B<int inotify_init1(int >I<flags>B<);>\n"
1521
1522 #. type: Plain text
1523 #: build/C/man2/inotify_init.2:42
1524 msgid "For an overview of the inotify API, see B<inotify>(7)."
1525 msgstr "inotify API の概要については B<inotify>(7) を参照。"
1526
1527 #. type: Plain text
1528 #: build/C/man2/inotify_init.2:46
1529 msgid ""
1530 "B<inotify_init>()  initializes a new inotify instance and returns a file "
1531 "descriptor associated with a new inotify event queue."
1532 msgstr ""
1533 "B<inotify_init>()  は、新規の inotify インスタンスを初期化し、作成された "
1534 "inotify イベントキュー に対応するファイルディスクリプタを返す。"
1535
1536 #. type: Plain text
1537 #: build/C/man2/inotify_init.2:56
1538 msgid ""
1539 "If I<flags> is 0, then B<inotify_init1>()  is the same as B<inotify_init>"
1540 "().  The following values can be bitwise ORed in I<flags> to obtain "
1541 "different behavior:"
1542 msgstr ""
1543 "B<inotify_init1>()  は、 I<flags> が 0 の場合、 B<inotify_init>()  と同じであ"
1544 "る。 I<flags> に以下の値をビット毎の論理和 (OR) で指定することで、 異なる動作"
1545 "をさせることができる。"
1546
1547 #. type: TP
1548 #: build/C/man2/inotify_init.2:56
1549 #, no-wrap
1550 msgid "B<IN_NONBLOCK>"
1551 msgstr "B<IN_NONBLOCK>"
1552
1553 #. type: Plain text
1554 #: build/C/man2/inotify_init.2:64
1555 msgid ""
1556 "Set the B<O_NONBLOCK> file status flag on the new open file description.  "
1557 "Using this flag saves extra calls to B<fcntl>(2)  to achieve the same result."
1558 msgstr ""
1559 "新しく生成されるオープンファイル記述 (open file description) の BR "
1560 "O_NONBLOCK ファイルステータスフラグをセットする。 このフラグを使うことで、 "
1561 "B<O_NONBLOCK> をセットするために B<fcntl>(2)  を追加で呼び出す必要がなくな"
1562 "る。"
1563
1564 #. type: TP
1565 #: build/C/man2/inotify_init.2:64
1566 #, no-wrap
1567 msgid "B<IN_CLOEXEC>"
1568 msgstr "B<IN_CLOEXEC>"
1569
1570 #. type: Plain text
1571 #: build/C/man2/inotify_init.2:74
1572 msgid ""
1573 "Set the close-on-exec (B<FD_CLOEXEC>)  flag on the new file descriptor.  See "
1574 "the description of the B<O_CLOEXEC> flag in B<open>(2)  for reasons why this "
1575 "may be useful."
1576 msgstr ""
1577 "新しいファイル・ディスクリプターに対して close-on-exec (B<FD_CLOEXEC>)  フラ"
1578 "グをセットする。 このフラグが役に立つ理由については、 B<open>(2)  の "
1579 "B<O_CLOEXEC> フラグの説明を参照のこと。"
1580
1581 #. type: Plain text
1582 #: build/C/man2/inotify_init.2:79
1583 msgid ""
1584 "On success, these system calls return a new file descriptor.  On error, -1 "
1585 "is returned, and I<errno> is set to indicate the error."
1586 msgstr ""
1587 "成功すると、これらのシステムコールは新しいファイルディスクリプタを返す。 エ"
1588 "ラーの場合、-1 を返し、 I<errno> をエラーを示す値に設定する。"
1589
1590 #. type: Plain text
1591 #: build/C/man2/inotify_init.2:85
1592 msgid "(B<inotify_init1>())  An invalid value was specified in I<flags>."
1593 msgstr "(B<inotify_init1>())  無効な値が I<flags> に指定された。"
1594
1595 #. type: TP
1596 #: build/C/man2/inotify_init.2:85
1597 #, no-wrap
1598 msgid "B<EMFILE>"
1599 msgstr "B<EMFILE>"
1600
1601 #. type: Plain text
1602 #: build/C/man2/inotify_init.2:88
1603 msgid ""
1604 "The user limit on the total number of inotify instances has been reached."
1605 msgstr "inotify インスタンスの総数がユーザ単位の上限に達していた。"
1606
1607 #. type: TP
1608 #: build/C/man2/inotify_init.2:88
1609 #, no-wrap
1610 msgid "B<ENFILE>"
1611 msgstr "B<ENFILE>"
1612
1613 #. type: Plain text
1614 #: build/C/man2/inotify_init.2:91
1615 msgid ""
1616 "The system limit on the total number of file descriptors has been reached."
1617 msgstr "inotify インスタンスの総数がシステムの上限に達していた。"
1618
1619 #. type: Plain text
1620 #: build/C/man2/inotify_init.2:94
1621 msgid "Insufficient kernel memory is available."
1622 msgstr "カーネルメモリが十分になかった。"
1623
1624 #. type: Plain text
1625 #: build/C/man2/inotify_init.2:101
1626 msgid ""
1627 "B<inotify_init>()  first appeared in Linux 2.6.13; library support was added "
1628 "to glibc in version 2.4.  B<inotify_init1>()  was added in Linux 2.6.27; "
1629 "library support was added to glibc in version 2.9."
1630 msgstr ""
1631 "B<inotify_init>()  は Linux 2.6.13 で初めて登場し、\n"
1632 "ライブラリによるサポートは glibc バージョン 2.4 で追加された。\n"
1633 "B<inotify_init1>()  は Linux 2.6.27 で追加され、\n"
1634 "ライブラリによるサポートは glibc バージョン 2.9 で追加された。"
1635
1636 #. type: Plain text
1637 #: build/C/man2/inotify_init.2:103
1638 msgid "These system calls are Linux-specific."
1639 msgstr "これらのシステムコールは Linux 独自である。"
1640
1641 #. type: Plain text
1642 #: build/C/man2/inotify_init.2:107
1643 msgid "B<inotify_add_watch>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
1644 msgstr "B<inotify_add_watch>(2), B<inotify_rm_watch>(2), B<inotify>(7)"
1645
1646 #. type: TH
1647 #: build/C/man2/inotify_rm_watch.2:27
1648 #, no-wrap
1649 msgid "INOTIFY_RM_WATCH"
1650 msgstr "INOTIFY_RM_WATCH"
1651
1652 #. type: TH
1653 #: build/C/man2/inotify_rm_watch.2:27
1654 #, no-wrap
1655 msgid "2010-10-15"
1656 msgstr "2010-10-15"
1657
1658 #. type: Plain text
1659 #: build/C/man2/inotify_rm_watch.2:30
1660 msgid "inotify_rm_watch - remove an existing watch from an inotify instance"
1661 msgstr ""
1662 "inotify_rm_watch - inotify インスタンスから既存の監視アイテムを削除する"
1663
1664 #.  Before glibc 2.10, the second argument was types as uint32_t.
1665 #.  http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040
1666 #. type: Plain text
1667 #: build/C/man2/inotify_rm_watch.2:36
1668 msgid "B<int inotify_rm_watch(int >I<fd>B<, int >I<wd>B<);>"
1669 msgstr "B<int inotify_rm_watch(int >I<fd>B<, int >I<wd>B<);>"
1670
1671 #. type: Plain text
1672 #: build/C/man2/inotify_rm_watch.2:42
1673 msgid ""
1674 "B<inotify_rm_watch>()  removes the watch associated with the watch "
1675 "descriptor I<wd> from the inotify instance associated with the file "
1676 "descriptor I<fd>."
1677 msgstr ""
1678 "B<inotify_rm_watch>()  は、監視対象ディスクリプタ (watch descriptor)  I<wd> "
1679 "に対応する監視アイテムを、 ファイルディスクリプタ I<fd> に対応する inotify イ"
1680 "ンスタンスから削除する。"
1681
1682 #. type: Plain text
1683 #: build/C/man2/inotify_rm_watch.2:48
1684 msgid ""
1685 "Removing a watch causes an B<IN_IGNORED> event to be generated for this "
1686 "watch descriptor.  (See B<inotify>(7).)"
1687 msgstr ""
1688 "監視対象を削除すると、 この監視対象ディスクリプタに対して B<IN_IGNORED> イベ"
1689 "ントが生成される (B<inotify>(7)  参照)。"
1690
1691 #. type: Plain text
1692 #: build/C/man2/inotify_rm_watch.2:55
1693 msgid ""
1694 "On success, B<inotify_rm_watch>()  returns zero.  On error, -1 is returned "
1695 "and I<errno> is set to indicate the cause of the error."
1696 msgstr ""
1697 "成功すると、B<inotify_rm_watch>() は 0 を返す。 エラーの場合、-1 を返し、 "
1698 "I<errno> をエラーの原因を示す値に設定する。"
1699
1700 #. type: Plain text
1701 #: build/C/man2/inotify_rm_watch.2:60
1702 msgid "I<fd> is not a valid file descriptor."
1703 msgstr "I<fd> が有効なファイルディスクリプタではない。"
1704
1705 #. type: Plain text
1706 #: build/C/man2/inotify_rm_watch.2:67
1707 msgid ""
1708 "The watch descriptor I<wd> is not valid; or I<fd> is not an inotify file "
1709 "descriptor."
1710 msgstr ""
1711 "監視対象ディスクリプタ I<wd> が有効でない。もしくは、 I<fd> が inotify ファイ"
1712 "ルディスクリプタではない。"
1713
1714 #. type: Plain text
1715 #: build/C/man2/inotify_rm_watch.2:75
1716 msgid "B<inotify_add_watch>(2), B<inotify_init>(2), B<inotify>(7)"
1717 msgstr "B<inotify_add_watch>(2), B<inotify_init>(2), B<inotify>(7)"
1718
1719 #~ msgid "2013-09-16"
1720 #~ msgstr "2013-09-16"
1721
1722 #~ msgid ""
1723 #~ "The following system calls are used with this API: B<inotify_init>(2)  "
1724 #~ "(or B<inotify_init1>(2)), B<inotify_add_watch>(2), B<inotify_rm_watch>"
1725 #~ "(2), B<read>(2), and B<close>(2)."
1726 #~ msgstr ""
1727 #~ "以下のシステムコールがこの API と共に使用される: B<inotify_init>(2)  (や "
1728 #~ "B<inotify_init1>(2)), B<inotify_add_watch>(2), B<inotify_rm_watch>(2), "
1729 #~ "B<read>(2), B<close>(2)."
1730
1731 #~ msgid "File/directory created in watched directory (*)."
1732 #~ msgstr "監視対象ディレクトリ内でファイルやディレクトリが作成された。(*)"
1733
1734 #~ msgid "Watched file/directory was itself deleted."
1735 #~ msgstr "監視対象のディレクトリまたはファイル自身が削除された。"
1736
1737 #~ msgid "File was modified (*)."
1738 #~ msgstr "ファイルが修正された。(*)"
1739
1740 #~ msgid ""
1741 #~ "Two additional convenience macros are B<IN_MOVE>, which equates to "
1742 #~ "IN_MOVED_FROM|IN_MOVED_TO, and B<IN_CLOSE>, which equates to "
1743 #~ "IN_CLOSE_WRITE|IN_CLOSE_NOWRITE."
1744 #~ msgstr ""
1745 #~ "さらに 2 つの便利なマクロがある。\n"
1746 #~ "B<IN_MOVE> は IN_MOVED_FROM|IN_MOVED_TO と同じで、\n"
1747 #~ "B<IN_CLOSE> は IN_CLOSE_WRITE|IN_CLOSE_NOWRITE と同じである。"
1748
1749 #~ msgid "Filesystem containing watched object was unmounted."
1750 #~ msgstr "監視対象オブジェクトを含むファイルシステムがアンマウントされた。"
1751
1752 #~ msgid ""
1753 #~ "Note that the event queue can overflow.  In this case, events are lost.  "
1754 #~ "Robust applications should handle the possibility of lost events "
1755 #~ "gracefully."
1756 #~ msgstr ""
1757 #~ "イベントキューは溢れる場合があることに注意すること。この場合にはイベント"
1758 #~ "は\n"
1759 #~ "失われてしまう。堅牢性が必要なアプリケーションでは、イベントが失われる可能"
1760 #~ "性\n"
1761 #~ "を適切に扱う必要がある。"
1762
1763 #~ msgid ""
1764 #~ "On success, B<inotify_rm_watch>()  returns zero, or -1 if an error "
1765 #~ "occurred (in which case, I<errno> is set appropriately)."
1766 #~ msgstr ""
1767 #~ "成功すると、 B<inotify_rm_watch>()  は 0 を返す。 エラーの場合、-1 を返"
1768 #~ "し、 I<errno> を適切に設定する。"
1769
1770 #~ msgid "File moved out of watched directory (*)."
1771 #~ msgstr "ファイルが監視対象ディレクトリ外へ移動された。(*)"
1772
1773 #~ msgid "File moved into watched directory (*)."
1774 #~ msgstr "ファイルが監視対象ディレクトリ内へ移動された。(*)"
1775
1776 #~ msgid ""
1777 #~ "The inotify API provides no information about the user or process that "
1778 #~ "triggered the inotify event."
1779 #~ msgstr ""
1780 #~ "inotify API では inotify イベントのきっかけとなったユーザやプロセスに関す"
1781 #~ "る\n"
1782 #~ "情報が提供されない。"