From 532fef6fb70d5261603d918a03a8bb70523014c9 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Wed, 31 Dec 2014 16:01:42 +0900 Subject: [PATCH] Update inotify.7 in LDP 3.68 --- draft/man7/inotify.7 | 15 ++++++--------- po4a/inotify/po/ja.po | 15 +++++++++++---- stats/inotify | 3 +-- untrans.html | 5 ++--- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/draft/man7/inotify.7 b/draft/man7/inotify.7 index c1ec63a8..74bd7ebe 100644 --- a/draft/man7/inotify.7 +++ b/draft/man7/inotify.7 @@ -401,16 +401,13 @@ cookie 値によって対応を取ることができる。 しかし、対応を 最新の 2 つのイベントを一つにまとめられる可能性がある) が、 最新のイベントが「最も古い」読み込まれていないイベントとまとめられるか をチェックするようになっていた。 .SH 例 -The following program demonstrates the usage of the inotify API. It marks -the directories passed as a command\-line arguments and waits for events of -type \fBIN_OPEN\fP, \fBIN_CLOSE_NOWRITE\fP and \fBIN_CLOSE_WRITE\fP. +以下のプログラムは inotify API の使用例を示したものである。 コマンドライン引き数で渡されたディレクトリに印を付け、 タイプが +\fBIN_OPEN\fP, \fBIN_CLOSE_NOWRITE\fP \fBIN_CLOSE_WRITE\fP のイベントを待つ。 .PP -The following output was recorded while editing the file -\fI/home/user/temp/foo\fP and listing directory \fI/tmp\fP. Before the file and -the directory were opened, \fBIN_OPEN\fP events occurred. After the file was -closed, an \fBIN_CLOSE_WRITE\fP event occurred. After the directory was -closed, an \fBIN_CLOSE_NOWRITE\fP event occurred. Execution of the program -ended when the user pressed the ENTER key. +以下は、 ファイル \fI/home/user/temp/foo\fP を編集し、 ディレクトリ \fI/tmp\fP の一覧表示を行った場合の出力である。 +対象のファイルとディレクトリがオープンされる前に、イベント \fBIN_OPEN\fP が発生している。 対象ファイルがクローズされた後にイベント +\fBIN_CLOSE_WRITE\fP が発生している。 対象ディレクトリがクローズされた後にイベント \fBIN_CLOSE_NOWRITE\fP +が発生している。 ユーザーが ENTER キーを押すると、プログラムの実行は終了する。 .SS 出力例 .in +4n .nf diff --git a/po4a/inotify/po/ja.po b/po4a/inotify/po/ja.po index 3c2e788f..a6c32c18 100644 --- a/po4a/inotify/po/ja.po +++ b/po4a/inotify/po/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2014-06-08 01:29+0900\n" -"PO-Revision-Date: 2014-06-08 02:21+0900\n" +"PO-Revision-Date: 2014-06-13 21:10+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -1310,7 +1310,7 @@ msgid "" "The following program demonstrates the usage of the inotify API. It marks " "the directories passed as a command-line arguments and waits for events of " "type B, B and B." -msgstr "" +msgstr "以下のプログラムは inotify API の使用例を示したものである。 コマンドライン引き数で渡されたディレクトリに印を付け、 タイプが B, B B のイベントを待つ。" #. type: Plain text #: build/C/man7/inotify.7:780 @@ -1321,7 +1321,7 @@ msgid "" "B event occurred. After the directory was closed, an " "B event occurred. Execution of the program ended when the " "user pressed the ENTER key." -msgstr "" +msgstr "以下は、 ファイル I を編集し、 ディレクトリ I の一覧表示を行った場合の出力である。 対象のファイルとディレクトリがオープンされる前に、イベント B が発生している。 対象ファイルがクローズされた後にイベント B が発生している。 対象ディレクトリがクローズされた後にイベント B が発生している。 ユーザーが ENTER キーを押すると、プログラムの実行は終了する。" #. type: SS #: build/C/man7/inotify.7:780 build/C/man7/fanotify.7:529 @@ -1341,12 +1341,19 @@ msgid "" "IN_OPEN: /tmp/ [directory]\n" "IN_CLOSE_NOWRITE: /tmp/ [directory]\n" msgstr "" +"$ B<./a.out /tmp /home/user/temp>\n" +"Press enter key to terminate.\n" +"Listening for events.\n" +"IN_OPEN: /home/user/temp/foo [file]\n" +"IN_CLOSE_WRITE: /home/user/temp/foo [file]\n" +"IN_OPEN: /tmp/ [directory]\n" +"IN_CLOSE_NOWRITE: /tmp/ [directory]\n" #. type: Plain text #: build/C/man7/inotify.7:792 build/C/man7/fanotify.7:539 #, no-wrap msgid "Listening for events stopped.\n" -msgstr "" +msgstr "Listening for events stopped.\n" #. type: SS #: build/C/man7/inotify.7:794 build/C/man7/fanotify.7:541 diff --git a/stats/inotify b/stats/inotify index 973c3a5b..778e50e6 100644 --- a/stats/inotify +++ b/stats/inotify @@ -1,5 +1,4 @@ # pagename,#complete,#remaining,#all -inotify.7,205,4,209 fanotify_init.2,30,44,74 fanotify_mark.2,49,51,100 -fanotify.7,94,93,187 +fanotify.7,95,92,187 diff --git a/untrans.html b/untrans.html index 82226b6c..21d942b1 100644 --- a/untrans.html +++ b/untrans.html @@ -15,10 +15,9 @@ filesystem spufs.741/15974.21 inotify -inotify.74/20998.09 fanotify_init.244/7440.54 fanotify_mark.251/10049.00 -fanotify.793/18750.27 +fanotify.792/18750.80 intro proc.562/99893.79 keyutils @@ -108,6 +107,6 @@ futimesat.210/3772.97 utimensat.249/10754.21 zdump.81/2295.45 -Total 78 pages +Total 77 pages -- 2.11.0