X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=po4a%2Finotify%2Fpo%2Fja.po;h=f5d75293993c981fe1ee060996333aa54eb90fca;hb=37013ea09923fad326cd02f60fd4305db674bd77;hp=e87b199e15951ca0f3d85cfb88c3e54dd9dd2653;hpb=eb43a066824ed61d7d8cb5a8413d0b3a3b9304b3;p=linuxjm%2FLDP_man-pages.git diff --git a/po4a/inotify/po/ja.po b/po4a/inotify/po/ja.po index e87b199e..f5d75293 100644 --- a/po4a/inotify/po/ja.po +++ b/po4a/inotify/po/ja.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2014-04-13 10:26+0900\n" -"PO-Revision-Date: 2014-04-13 22:48+0900\n" +"POT-Creation-Date: 2014-04-17 13:13+0900\n" +"PO-Revision-Date: 2014-04-21 02:20+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -24,26 +24,26 @@ msgstr "INOTIFY" #. type: TH #: build/C/man7/inotify.7:26 #, no-wrap -msgid "2013-09-16" -msgstr "2013-09-16" +msgid "2014-04-01" +msgstr "2014-04-01" #. type: TH #: build/C/man7/inotify.7:26 build/C/man2/inotify_add_watch.2:28 -#: build/C/man2/inotify_init.2:28 build/C/man2/inotify_rm_watch.2:27 +#: build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:27 #, no-wrap msgid "Linux" msgstr "Linux" #. type: TH #: build/C/man7/inotify.7:26 build/C/man2/inotify_add_watch.2:28 -#: build/C/man2/inotify_init.2:28 build/C/man2/inotify_rm_watch.2:27 +#: build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:27 #, no-wrap msgid "Linux Programmer's Manual" msgstr "Linux Programmer's Manual" #. type: SH #: build/C/man7/inotify.7:27 build/C/man2/inotify_add_watch.2:29 -#: build/C/man2/inotify_init.2:29 build/C/man2/inotify_rm_watch.2:28 +#: build/C/man2/inotify_init.2:30 build/C/man2/inotify_rm_watch.2:28 #, no-wrap msgid "NAME" msgstr "名前" @@ -55,7 +55,7 @@ msgstr "inotify - ファイルシステムイベントを監視する" #. type: SH #: build/C/man7/inotify.7:29 build/C/man2/inotify_add_watch.2:35 -#: build/C/man2/inotify_init.2:38 build/C/man2/inotify_rm_watch.2:36 +#: build/C/man2/inotify_init.2:39 build/C/man2/inotify_rm_watch.2:36 #, no-wrap msgid "DESCRIPTION" msgstr "説明" @@ -74,30 +74,29 @@ msgstr "" "返す。" #. type: Plain text -#: build/C/man7/inotify.7:47 -msgid "" -"The following system calls are used with this API: B(2) (or " -"B(2)), B(2), B(2), " -"B(2), and B(2)." -msgstr "" -"以下のシステムコールがこの API と共に使用される: B(2) (や " -"B(2)), B(2), B(2), " -"B(2), B(2)." +#: build/C/man7/inotify.7:39 +msgid "The following system calls are used with this API:" +msgstr "この API では以下のシステムコールが使用される。" + +#. type: IP +#: build/C/man7/inotify.7:39 build/C/man7/inotify.7:50 +#: build/C/man7/inotify.7:63 build/C/man7/inotify.7:69 +#: build/C/man7/inotify.7:72 +#, no-wrap +msgid "*" +msgstr "*" #. type: Plain text -#: build/C/man7/inotify.7:56 +#: build/C/man7/inotify.7:50 msgid "" "B(2) creates an inotify instance and returns a file " "descriptor referring to the inotify instance. The more recent " -"B(2) is like B(2), but provides some extra " -"functionality." -msgstr "" -"B(2) は inotify インスタンスを作成し、inotify インスタンスを参" -"照する ファイルディスクリプタを返す。 もっと新しい B(2) も " -"B(2) と同様だが、いくつかの追加の機能が提供されている。" +"B(2) is like B(2), but has a I argument " +"that provides access to some extra functionality." +msgstr "B(2) は inotify インスタンスを作成し、inotify インスタンスを参照する ファイルディスクリプタを返す。 もっと新しい B(2) も B(2) と同様だが、いくつかの追加の機能を利用するための I 引き数を持っている。" #. type: Plain text -#: build/C/man7/inotify.7:69 +#: build/C/man7/inotify.7:63 msgid "" "B(2) manipulates the \"watch list\" associated with an " "inotify instance. Each item (\"watch\") in the watch list specifies the " @@ -116,24 +115,46 @@ msgstr "" "B(2) から返される整数である。" #. type: Plain text +#: build/C/man7/inotify.7:69 +msgid "" +"When events occur for monitored files and directories, those events are made " +"available to the application as structured data that can be read from the " +"inotify file descriptor using B(2) (see below)." +msgstr "" + +#. type: Plain text #: build/C/man7/inotify.7:72 msgid "B(2) removes an item from an inotify watch list." msgstr "" "B(2) は inotify の監視対象リストからアイテムを削除する。" #. type: Plain text -#: build/C/man7/inotify.7:78 +#: build/C/man7/inotify.7:79 msgid "" -"When all file descriptors referring to an inotify instance have been closed, " -"the underlying object and its resources are freed for reuse by the kernel; " -"all associated watches are automatically freed." +"When all file descriptors referring to an inotify instance have been closed " +"(using B(2)), the underlying object and its resources are freed for " +"reuse by the kernel; all associated watches are automatically freed." +msgstr "inotify インスタンスを指している 全てのファイルディスクリプタが (B(2) を使って) クローズされた場合、 その下層にあるオブジェクトとそのリソースは、 カーネルで再利用するために解放される。 関連が切られた監視対象は自動的に解放される。" + +#. type: Plain text +#: build/C/man7/inotify.7:88 +msgid "" +"With careful programming, an application can use inotify to efficiently " +"monitor and cache the state of a set of filesystem objects. However, robust " +"applications should allow for the fact that bugs in the monitoring logic or " +"races of the kind described below may leave the cache inconsistent with the " +"filesystem state. It is probably wise to to do some consistency checking, " +"and rebuild the cache when inconsistencies are detected." msgstr "" -"inotify インスタンスを指している 全てのファイルディスクリプタがクローズされた" -"場合、 その下層にあるオブジェクトとそのリソースは、 カーネルで再利用するため" -"に解放される。 関連が切られた監視対象は自動的に解放される。" + +#. type: SS +#: build/C/man7/inotify.7:88 +#, no-wrap +msgid "Reading events from an inotify file descriptor" +msgstr "inotify ファイルディスクリプタからのイベントの読み出し" #. type: Plain text -#: build/C/man7/inotify.7:91 +#: build/C/man7/inotify.7:101 msgid "" "To determine what events have occurred, an application B(2)s from the " "inotify file descriptor. If no events have so far occurred, then, assuming " @@ -149,7 +170,7 @@ msgstr "" "ラー B で失敗する。 B(7) 参照)。" #. type: Plain text -#: build/C/man7/inotify.7:95 +#: build/C/man7/inotify.7:105 msgid "" "Each successful B(2) returns a buffer containing one or more of the " "following structures:" @@ -161,7 +182,7 @@ msgstr "" #. "[patch] Fix type errors in inotify interfaces", 18 Nov 2008 #. Glibc bug filed: http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040 #. type: Plain text -#: build/C/man7/inotify.7:110 +#: build/C/man7/inotify.7:120 #, no-wrap msgid "" "struct inotify_event {\n" @@ -183,7 +204,7 @@ msgstr "" "};\n" #. type: Plain text -#: build/C/man7/inotify.7:117 +#: build/C/man7/inotify.7:127 msgid "" "I identifies the watch for which this event occurs. It is one of the " "watch descriptors returned by a previous call to B(2)." @@ -193,14 +214,14 @@ msgstr "" "つである。" #. type: Plain text -#: build/C/man7/inotify.7:120 +#: build/C/man7/inotify.7:130 msgid "" "I contains bits that describe the event that occurred (see below)." msgstr "" "I には発生したイベント (下記参照) を記述するためのビットが含まれる。" #. type: Plain text -#: build/C/man7/inotify.7:132 +#: build/C/man7/inotify.7:142 msgid "" "I is a unique integer that connects related events. Currently this " "is used only for rename events, and allows the resulting pair of " @@ -214,7 +235,7 @@ msgstr "" "他のイベント種別の場合には、 I は 0 に設定する。" #. type: Plain text -#: build/C/man7/inotify.7:141 +#: build/C/man7/inotify.7:151 msgid "" "The I field is present only when an event is returned for a file " "inside a watched directory; it identifies the file pathname relative to the " @@ -229,7 +250,7 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man7/inotify.7:151 +#: build/C/man7/inotify.7:161 msgid "" "The I field counts all of the bytes in I, including the null " "bytes; the length of each I structure is thus I である。" #. type: Plain text -#: build/C/man7/inotify.7:162 +#: build/C/man7/inotify.7:172 msgid "" "The behavior when the buffer given to B(2) is too small to return " "information about the next event depends on the kernel version: in kernels " @@ -254,24 +275,24 @@ msgstr "" "バッファサイズとして" #. type: Plain text -#: build/C/man7/inotify.7:164 +#: build/C/man7/inotify.7:174 #, no-wrap msgid " sizeof(struct inotify_event) + NAME_MAX + 1\n" msgstr " sizeof(struct inotify_event) + NAME_MAX + 1\n" #. type: Plain text -#: build/C/man7/inotify.7:166 +#: build/C/man7/inotify.7:176 msgid "will be sufficient to read at least one event." msgstr "を指定すれば、少なくとも 1 イベントで読み出しを行うには十分である。" #. type: SS -#: build/C/man7/inotify.7:166 +#: build/C/man7/inotify.7:176 #, no-wrap msgid "inotify events" msgstr "inotify イベント" #. type: Plain text -#: build/C/man7/inotify.7:186 +#: build/C/man7/inotify.7:196 msgid "" "The B(2) I argument and the I field of the " "I structure returned when B(2)ing an inotify file " @@ -286,152 +307,154 @@ msgstr "" "(2) で返される I フィールドで返される:" #. type: TP -#: build/C/man7/inotify.7:189 +#: build/C/man7/inotify.7:197 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:192 -msgid "File was accessed (read) (*)." -msgstr "ファイルがアクセス (read) された。(*)" +#: build/C/man7/inotify.7:202 +msgid "File was accessed (e.g., B(2), B(2))." +msgstr "(B(2), B(2) などで) ファイルがアクセスされた。" #. type: TP -#: build/C/man7/inotify.7:192 +#: build/C/man7/inotify.7:202 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:196 +#: build/C/man7/inotify.7:217 msgid "" -"Metadata changed\\(emfor example, permissions, timestamps, extended " -"attributes, link count (since Linux 2.6.25), UID, or GID. (*)." -msgstr "" -"メタデータが変更された。 メタデータとは、例えば、許可 (permission)、タイムス" -"タンプ、拡張属性、 リンクカウント (Linux 2.6.25 以降)、UID、GID などである。" -"(*)" +"Metadata changed\\(emfor example, permissions (e.g., B(2)), " +"timestamps (e.g., B(2)), extended attributes (B(2)), " +"link count (since Linux 2.6.25; e.g., for the target of B(2) and for " +"B(2)), and user/group ID (e.g., B(2))." +msgstr "メタデータが変更された。 メタデータとは、例えば、アクセス許可 (B(2))、タイムスタンプ (B(2) など)、拡張属性 (B(2))、 リンクカウント (Linux 2.6.25 以降; B(2) のリンク先や B(2) など)、ユーザー/グループ ID (B(2) など) などである。" #. type: TP -#: build/C/man7/inotify.7:196 +#: build/C/man7/inotify.7:217 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:199 -msgid "File opened for writing was closed (*)." -msgstr "書き込みのためにオープンされたファイルがクローズされた。(*)" +#: build/C/man7/inotify.7:220 +msgid "File opened for writing was closed." +msgstr "書き込みのためにオープンされたファイルがクローズされた。" #. type: TP -#: build/C/man7/inotify.7:199 +#: build/C/man7/inotify.7:220 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:202 -msgid "File not opened for writing was closed (*)." -msgstr "書き込み以外のためにオープンされたファイルがクローズされた。(*)" +#: build/C/man7/inotify.7:223 +msgid "File not opened for writing was closed." +msgstr "書き込み以外のためにオープンされたファイルがクローズされた。" #. type: TP -#: build/C/man7/inotify.7:202 +#: build/C/man7/inotify.7:223 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:205 -msgid "File/directory created in watched directory (*)." -msgstr "監視対象ディレクトリ内でファイルやディレクトリが作成された。(*)" +#: build/C/man7/inotify.7:233 +msgid "" +"File/directory created in watched directory (e.g., B(2) B, " +"B(2), B(2), B(2), B(2) on a UNIX domain socket)." +msgstr "監視対象ディレクトリ内でファイルやディレクトリが作成された (B(2) B, B(2), B(2), B(2), UNIX ドメインソケットに対する B(2) など)。" #. type: TP -#: build/C/man7/inotify.7:205 +#: build/C/man7/inotify.7:233 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:208 -msgid "File/directory deleted from watched directory (*)." -msgstr "監視対象ディレクトリ内でファイルやディレクトリが削除された。(*)" +#: build/C/man7/inotify.7:236 +msgid "File/directory deleted from watched directory." +msgstr "監視対象ディレクトリ内でファイルやディレクトリが削除された。" #. type: TP -#: build/C/man7/inotify.7:208 +#: build/C/man7/inotify.7:236 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:211 -msgid "Watched file/directory was itself deleted." -msgstr "監視対象のディレクトリまたはファイル自身が削除された。" +#: build/C/man7/inotify.7:247 +msgid "" +"Watched file/directory was itself deleted. (This event also occurs if an " +"object is moved to another filesystem, since B(1) in effect copies the " +"file to the other filesystem and then deletes it from the original " +"filesystem.) In addition, an B event will subsequently be " +"generated for the watch descriptor." +msgstr "" #. type: TP -#: build/C/man7/inotify.7:211 +#: build/C/man7/inotify.7:247 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:214 -msgid "File was modified (*)." -msgstr "ファイルが修正された。(*)" +#: build/C/man7/inotify.7:252 +msgid "File was modified (e.g., B(2), B(2))." +msgstr "ファイルが変更された (B(2), B(2) など)。" #. type: TP -#: build/C/man7/inotify.7:214 +#: build/C/man7/inotify.7:252 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:217 +#: build/C/man7/inotify.7:255 msgid "Watched file/directory was itself moved." msgstr "監視対象のディレクトリまたはファイル自身が移動された。" #. type: TP -#: build/C/man7/inotify.7:217 +#: build/C/man7/inotify.7:255 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:221 +#: build/C/man7/inotify.7:259 msgid "" "Generated for the directory containing the old filename when a file is " -"renamed (*)." -msgstr "" -"ファイル名の変更を行った際に変更前のファイル名が含まれるディレクトリに対して" -"生成される。 (*)" +"renamed." +msgstr "ファイル名の変更を行った際に変更前のファイル名が含まれるディレクトリに対して生成される。" #. type: TP -#: build/C/man7/inotify.7:221 +#: build/C/man7/inotify.7:259 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:225 +#: build/C/man7/inotify.7:263 msgid "" "Generated for the directory containing the new filename when a file is " -"renamed (*)." -msgstr "" -"ファイル名の変更を行った際に新しいファイル名が含まれるディレクトリに対して生" -"成される。 (*)" +"renamed." +msgstr "ファイル名の変更を行った際に新しいファイル名が含まれるディレクトリに対して生成される。" #. type: TP -#: build/C/man7/inotify.7:225 +#: build/C/man7/inotify.7:263 #, no-wrap -msgid "B" -msgstr "B" +msgid "B (*)" +msgstr "B (*)" #. type: Plain text -#: build/C/man7/inotify.7:228 -msgid "File was opened (*)." -msgstr "ファイルがオープンされた。(*)" +#: build/C/man7/inotify.7:266 +msgid "File was opened." +msgstr "ファイルがオープンされた。" #. type: Plain text -#: build/C/man7/inotify.7:238 +#: build/C/man7/inotify.7:275 msgid "" "When monitoring a directory, the events marked with an asterisk (*) above " "can occur for files in the directory, in which case the I field in the " @@ -443,7 +466,7 @@ msgstr "" "返される I フィールドは、ディレクトリ内のファイル名を表す。" #. type: Plain text -#: build/C/man7/inotify.7:246 +#: build/C/man7/inotify.7:283 msgid "" "The B macro is defined as a bit mask of all of the above " "events. This macro can be used as the I argument when calling " @@ -453,18 +476,34 @@ msgstr "" "クロは B(2) を呼び出すときの I 引き数として使える。" #. type: Plain text -#: build/C/man7/inotify.7:255 -msgid "" -"Two additional convenience macros are B, which equates to " -"IN_MOVED_FROM|IN_MOVED_TO, and B, which equates to IN_CLOSE_WRITE|" -"IN_CLOSE_NOWRITE." -msgstr "" -"さらに 2 つの便利なマクロがある。\n" -"B は IN_MOVED_FROM|IN_MOVED_TO と同じで、\n" -"B は IN_CLOSE_WRITE|IN_CLOSE_NOWRITE と同じである。" +#: build/C/man7/inotify.7:285 +msgid "Two additional convenience macros are defined:" +msgstr "以下の 2 つの便利なマクロが定義されている。" + +#. type: TP +#: build/C/man7/inotify.7:286 +#, no-wrap +msgid "B" +msgstr "B" + +#. type: Plain text +#: build/C/man7/inotify.7:290 +msgid "Equates to B." +msgstr "B と等価。" + +#. type: TP +#: build/C/man7/inotify.7:290 +#, no-wrap +msgid "B" +msgstr "B" + +#. type: Plain text +#: build/C/man7/inotify.7:294 +msgid "Equates to B." +msgstr "B と等価。" #. type: Plain text -#: build/C/man7/inotify.7:260 +#: build/C/man7/inotify.7:300 msgid "" "The following further bits can be specified in I when calling " "B(2):" @@ -473,26 +512,26 @@ msgstr "" "できる:" #. type: TP -#: build/C/man7/inotify.7:263 +#: build/C/man7/inotify.7:301 #, no-wrap msgid "B (since Linux 2.6.15)" -msgstr "B" +msgstr "B (Linux 2.6.15 以降)" #. type: Plain text -#: build/C/man7/inotify.7:268 +#: build/C/man7/inotify.7:306 msgid "Don't dereference I if it is a symbolic link." msgstr "" "I がシンボリックリンクである場合に辿らない。 (Linux 2.6.15 以降)" #. type: TP -#: build/C/man7/inotify.7:268 +#: build/C/man7/inotify.7:306 #, no-wrap msgid "B (since Linux 2.6.36)" msgstr "B (Linux 2.6.36 以降)" #. commit 8c1934c8d70b22ca8333b216aec6c7d09fdbd6a6 #. type: Plain text -#: build/C/man7/inotify.7:284 +#: build/C/man7/inotify.7:322 msgid "" "By default, when watching events on the children of a directory, events are " "generated for children even after they have been unlinked from the " @@ -513,13 +552,13 @@ msgstr "" "後に子ファイルに関するイベントが生成されなくなる。" #. type: TP -#: build/C/man7/inotify.7:284 +#: build/C/man7/inotify.7:322 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:288 +#: build/C/man7/inotify.7:326 msgid "" "Add (OR) events to watch mask for this pathname if it already exists " "(instead of replacing mask)." @@ -528,92 +567,262 @@ msgstr "" "く) イベントを追加 (OR) する。" #. type: TP -#: build/C/man7/inotify.7:288 +#: build/C/man7/inotify.7:326 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:294 +#: build/C/man7/inotify.7:332 msgid "Monitor I for one event, then remove from watch list." msgstr "" "1 つのイベントについて I を監視し、 イベントが発生したら監視対象リ" "ストから削除する。" #. type: TP -#: build/C/man7/inotify.7:294 +#: build/C/man7/inotify.7:332 #, no-wrap msgid "B (since Linux 2.6.15)" msgstr "B (Linux 2.6.15 以降)" #. type: Plain text -#: build/C/man7/inotify.7:299 +#: build/C/man7/inotify.7:337 msgid "Only watch I if it is a directory." msgstr "I がディレクトリの場合にのみ監視する。" #. type: Plain text -#: build/C/man7/inotify.7:306 +#: build/C/man7/inotify.7:343 msgid "" "The following bits may be set in the I field returned by B(2):" msgstr "以下のビットが B(2) で返される I フィールドに設定される:" #. type: TP -#: build/C/man7/inotify.7:309 +#: build/C/man7/inotify.7:344 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:314 +#: build/C/man7/inotify.7:350 msgid "" "Watch was removed explicitly (B(2)) or automatically " -"(file was deleted, or filesystem was unmounted)." -msgstr "" -"監視対象が (B(2) により) 明示的に 削除された。もしくは " -"(ファイルの削除、またはファイル システムのアンマウントにより) 自動的に削除さ" -"れた。" +"(file was deleted, or filesystem was unmounted). See also BUGS." +msgstr "監視対象が (B(2) により) 明示的に 削除された。もしくは (ファイルの削除、またはファイル システムのアンマウントにより) 自動的に削除された。「バグ」も参照のこと。" #. type: TP -#: build/C/man7/inotify.7:314 +#: build/C/man7/inotify.7:350 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:317 +#: build/C/man7/inotify.7:353 msgid "Subject of this event is a directory." msgstr "このイベントの対象がディレクトリである。" #. type: TP -#: build/C/man7/inotify.7:317 +#: build/C/man7/inotify.7:353 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:322 +#: build/C/man7/inotify.7:358 msgid "Event queue overflowed (I is -1 for this event)." msgstr "イベントキューが溢れた (このイベントの場合、I は -1 である)。" #. type: TP -#: build/C/man7/inotify.7:322 +#: build/C/man7/inotify.7:358 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man7/inotify.7:325 -msgid "Filesystem containing watched object was unmounted." -msgstr "監視対象オブジェクトを含むファイルシステムがアンマウントされた。" +#: build/C/man7/inotify.7:364 +msgid "" +"Filesystem containing watched object was unmounted. In addition, an " +"B event will subsequently be generated for the watch descriptor." +msgstr "監視対象オブジェクトを含むファイルシステムがアンマウントされた。さらに、この監視対象ディスクリプタに対して B イベントが生成される。" + +#. type: SS +#: build/C/man7/inotify.7:365 +#, no-wrap +msgid "Examples" +msgstr "例" + +#. type: Plain text +#: build/C/man7/inotify.7:373 +msgid "" +"Suppose an application is watching the directory I and the file I for all events. The examples below show some events that will be " +"generated for these two objects." +msgstr "" + +#. type: TP +#: build/C/man7/inotify.7:374 +#, no-wrap +msgid "fd = open(\"dir/myfile\", O_RDWR);" +msgstr "fd = open(\"dir/myfile\", O_RDWR);" + +#. type: Plain text +#: build/C/man7/inotify.7:382 +msgid "Generates B events for both I and I." +msgstr "I と I の両方に対して B イベントが生成される。" + +#. type: TP +#: build/C/man7/inotify.7:382 +#, no-wrap +msgid "read(fd, buf, count);" +msgstr "read(fd, buf, count);" + +#. type: Plain text +#: build/C/man7/inotify.7:390 +msgid "Generates B events for both I and I." +msgstr "I と I の両方に対して B イベントが生成される" + +#. type: TP +#: build/C/man7/inotify.7:390 +#, no-wrap +msgid "write(fd, buf, count);" +msgstr "write(fd, buf, count);" + +#. type: Plain text +#: build/C/man7/inotify.7:398 +msgid "Generates B events for both I and I." +msgstr "I と I の両方に対して B イベントが生成される" + +#. type: TP +#: build/C/man7/inotify.7:398 +#, no-wrap +msgid "fchmod(fd, mode);" +msgstr "fchmod(fd, mode);" + +#. type: Plain text +#: build/C/man7/inotify.7:406 +msgid "Generates B events for both I and I." +msgstr "I と I の両方に対して B イベントが生成される" + +#. type: TP +#: build/C/man7/inotify.7:406 +#, no-wrap +msgid "close(fd);" +msgstr "close(fd);" + +#. type: Plain text +#: build/C/man7/inotify.7:414 +msgid "Generates B events for both I and I." +msgstr "I と I の両方に対して B イベントが生成される" + +#. type: Plain text +#: build/C/man7/inotify.7:423 +msgid "" +"Suppose an application is watching the directories I and I, and " +"the file I. The following examples show some events that may " +"be generated." +msgstr "" + +#. type: TP +#: build/C/man7/inotify.7:424 +#, no-wrap +msgid "link(\"dir/myfile\", \"dir2/new\");" +msgstr "link(\"dir/myfile\", \"dir2/new\");" + +#. type: Plain text +#: build/C/man7/inotify.7:434 +msgid "" +"Generates an B event for I and an B event for " +"I." +msgstr "I に対して B イベントが生成され、 I に対して B イベントが生成される。" + +#. type: TP +#: build/C/man7/inotify.7:434 +#, no-wrap +msgid "rename(\"dir1/myfile\", \"dir2/myfile\");" +msgstr "rename(\"dir1/myfile\", \"dir2/myfile\");" + +#. type: Plain text +#: build/C/man7/inotify.7:455 +msgid "" +"Generates an B event for I, an B event for " +"I, and an B event for I. The B " +"and B events will have the same I value." +msgstr "I に対してイベント B が、 I に対してイベント B が、 I に対してイベント B が生成される。この際 イベント B と B は同じ I 値を持つ。" + +#. type: Plain text +#: build/C/man7/inotify.7:469 +msgid "" +"Suppose that I and I are (the only) links to the same " +"file, and an application is watching I, I, I, and " +"I. Executing the following calls in the order given below will " +"generate the following events:" +msgstr "" + +#. type: TP +#: build/C/man7/inotify.7:470 +#, no-wrap +msgid "unlink(\"dir2/yy\");" +msgstr "unlink(\"dir2/yy\");" + +#. type: Plain text +#: build/C/man7/inotify.7:481 +msgid "" +"Generates B event for I (because its link count changes) and " +"an B event for I." +msgstr "" + +#. type: TP +#: build/C/man7/inotify.7:481 +#, no-wrap +msgid "unlink(\"dir1/xx\");" +msgstr "unlink(\"dir1/xx\");" + +#. type: Plain text +#: build/C/man7/inotify.7:494 +msgid "" +"Generates B, B, and B events for " +"I, and an B for I." +msgstr "" + +#. type: Plain text +#: build/C/man7/inotify.7:501 +msgid "" +"Suppose an application is watching the directory I and (the empty) " +"directory I. The following examples show some events that may " +"be generated." +msgstr "" + +#. type: TP +#: build/C/man7/inotify.7:502 +#, no-wrap +msgid "mkdir(\"dir/new\", mode);" +msgstr "mkdir(\"dir/new\", mode);" + +#. type: Plain text +#: build/C/man7/inotify.7:508 +msgid "Generates an B event for I." +msgstr "" + +#. type: TP +#: build/C/man7/inotify.7:508 +#, no-wrap +msgid "rmdir(\"dir/sub\");" +msgstr "rmdir(\"dir/sub\");" + +#. type: Plain text +#: build/C/man7/inotify.7:520 +msgid "" +"Generates B and B events for I, and an " +"B event for I." +msgstr "" #. type: SS -#: build/C/man7/inotify.7:327 +#: build/C/man7/inotify.7:521 #, no-wrap msgid "/proc interfaces" msgstr "/proc インターフェース" #. type: Plain text -#: build/C/man7/inotify.7:330 +#: build/C/man7/inotify.7:524 msgid "" "The following interfaces can be used to limit the amount of kernel memory " "consumed by inotify:" @@ -622,13 +831,13 @@ msgstr "" "のに使用できる:" #. type: TP -#: build/C/man7/inotify.7:330 +#: build/C/man7/inotify.7:524 #, no-wrap msgid "I" msgstr "I" #. type: Plain text -#: build/C/man7/inotify.7:339 +#: build/C/man7/inotify.7:533 msgid "" "The value in this file is used when an application calls B(2) " "to set an upper limit on the number of events that can be queued to the " @@ -641,13 +850,13 @@ msgstr "" "イベントが常に生成される。" #. type: TP -#: build/C/man7/inotify.7:339 +#: build/C/man7/inotify.7:533 #, no-wrap msgid "I" msgstr "I" #. type: Plain text -#: build/C/man7/inotify.7:343 +#: build/C/man7/inotify.7:537 msgid "" "This specifies an upper limit on the number of inotify instances that can be " "created per real user ID." @@ -656,56 +865,53 @@ msgstr "" "る。" #. type: TP -#: build/C/man7/inotify.7:343 +#: build/C/man7/inotify.7:537 #, no-wrap msgid "I" msgstr "I" #. type: Plain text -#: build/C/man7/inotify.7:347 +#: build/C/man7/inotify.7:541 msgid "" "This specifies an upper limit on the number of watches that can be created " "per real user ID." msgstr "作成可能な監視対象の数の実 UID 単位の上限を指定する。" #. type: SH -#: build/C/man7/inotify.7:347 build/C/man2/inotify_add_watch.2:114 -#: build/C/man2/inotify_init.2:90 build/C/man2/inotify_rm_watch.2:66 +#: build/C/man7/inotify.7:541 build/C/man2/inotify_add_watch.2:118 +#: build/C/man2/inotify_init.2:94 build/C/man2/inotify_rm_watch.2:67 #, no-wrap msgid "VERSIONS" msgstr "バージョン" #. type: Plain text -#: build/C/man7/inotify.7:355 +#: build/C/man7/inotify.7:549 msgid "" "Inotify was merged into the 2.6.13 Linux kernel. The required library " "interfaces were added to glibc in version 2.4. (B, " -"B, and B were added in version 2.5.)" -msgstr "" -"inotify は 2.6.13 の Linux カーネルに組込まれた。 これに必要なライブラリのイ" -"ンターフェースは、 glibc のバージョン 2.4 に追加された (B, " -"B, B はバージョン 2.5 で追加された)。" +"B, and B were added in glibc version 2.5.)" +msgstr "inotify は 2.6.13 の Linux カーネルに組込まれた。 これに必要なライブラリのインターフェースは、 glibc のバージョン 2.4 に追加された (B, B, B は glibc バージョン 2.5 で追加された)。" #. type: SH -#: build/C/man7/inotify.7:355 build/C/man2/inotify_add_watch.2:116 -#: build/C/man2/inotify_init.2:97 build/C/man2/inotify_rm_watch.2:68 +#: build/C/man7/inotify.7:549 build/C/man2/inotify_add_watch.2:120 +#: build/C/man2/inotify_init.2:101 build/C/man2/inotify_rm_watch.2:69 #, no-wrap msgid "CONFORMING TO" msgstr "準拠" #. type: Plain text -#: build/C/man7/inotify.7:357 +#: build/C/man7/inotify.7:551 msgid "The inotify API is Linux-specific." msgstr "inotify API は Linux 独自のものである。" #. type: SH -#: build/C/man7/inotify.7:357 +#: build/C/man7/inotify.7:551 #, no-wrap msgid "NOTES" msgstr "注意" #. type: Plain text -#: build/C/man7/inotify.7:364 +#: build/C/man7/inotify.7:558 msgid "" "Inotify file descriptors can be monitored using B