OSDN Git Service

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