OSDN Git Service

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