msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-03-19 23:50+0900\n"
+"POT-Creation-Date: 2012-03-22 04:25+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: build/C/man7/inotify.7:26
#, no-wrap
-msgid "2010-11-12"
+msgid "2011-12-07"
msgstr ""
#. type: TH
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:129
+#: build/C/man7/inotify.7:132
msgid ""
"I<cookie> is a unique integer that connects related events. Currently this "
"is only used for rename events, and allows the resulting pair of "
-"B<IN_MOVE_FROM> and B<IN_MOVE_TO> events to be connected by the application."
+"B<IN_MOVE_FROM> and B<IN_MOVE_TO> events to be connected by the "
+"application. For all other event types, I<cookie> is set to 0."
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:138
+#: build/C/man7/inotify.7:141
msgid ""
"The I<name> field is only present when an event is returned for a file "
"inside a watched directory; it identifies the file pathname relative to the "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:148
+#: build/C/man7/inotify.7:151
msgid ""
"The I<len> field counts all of the bytes in I<name>, including the null "
"bytes; the length of each I<inotify_event> structure is thus "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:158
+#: build/C/man7/inotify.7:161
msgid ""
"The behavior when the buffer given to B<read>(2) is too small to return "
"information about the next event depends on the kernel version: in kernels "
msgstr ""
#. type: SS
-#: build/C/man7/inotify.7:158
+#: build/C/man7/inotify.7:161
#, no-wrap
msgid "inotify events"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:178
+#: build/C/man7/inotify.7:181
msgid ""
"The B<inotify_add_watch>(2) I<mask> argument and the I<mask> field of the "
"I<inotify_event> structure returned when B<read>(2)ing an inotify file "
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:181
+#: build/C/man7/inotify.7:184
#, no-wrap
msgid "B<IN_ACCESS>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:184
+#: build/C/man7/inotify.7:187
msgid "File was accessed (read) (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:184
+#: build/C/man7/inotify.7:187
#, no-wrap
msgid "B<IN_ATTRIB>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:188
+#: build/C/man7/inotify.7:191
msgid ""
"Metadata changed, e.g., permissions, timestamps, extended attributes, link "
"count (since Linux 2.6.25), UID, GID, etc. (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:188
+#: build/C/man7/inotify.7:191
#, no-wrap
msgid "B<IN_CLOSE_WRITE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:191
+#: build/C/man7/inotify.7:194
msgid "File opened for writing was closed (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:191
+#: build/C/man7/inotify.7:194
#, no-wrap
msgid "B<IN_CLOSE_NOWRITE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:194
+#: build/C/man7/inotify.7:197
msgid "File not opened for writing was closed (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:194
+#: build/C/man7/inotify.7:197
#, no-wrap
msgid "B<IN_CREATE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:197
+#: build/C/man7/inotify.7:200
msgid "File/directory created in watched directory (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:197
+#: build/C/man7/inotify.7:200
#, no-wrap
msgid "B<IN_DELETE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:200
+#: build/C/man7/inotify.7:203
msgid "File/directory deleted from watched directory (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:200
+#: build/C/man7/inotify.7:203
#, no-wrap
msgid "B<IN_DELETE_SELF>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:203
+#: build/C/man7/inotify.7:206
msgid "Watched file/directory was itself deleted."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:203
+#: build/C/man7/inotify.7:206
#, no-wrap
msgid "B<IN_MODIFY>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:206
+#: build/C/man7/inotify.7:209
msgid "File was modified (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:206
+#: build/C/man7/inotify.7:209
#, no-wrap
msgid "B<IN_MOVE_SELF>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:209
+#: build/C/man7/inotify.7:212
msgid "Watched file/directory was itself moved."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:209
+#: build/C/man7/inotify.7:212
#, no-wrap
msgid "B<IN_MOVED_FROM>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:212
+#: build/C/man7/inotify.7:215
msgid "File moved out of watched directory (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:212
+#: build/C/man7/inotify.7:215
#, no-wrap
msgid "B<IN_MOVED_TO>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:215
+#: build/C/man7/inotify.7:218
msgid "File moved into watched directory (*)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:215
+#: build/C/man7/inotify.7:218
#, no-wrap
msgid "B<IN_OPEN>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:218
+#: build/C/man7/inotify.7:221
msgid "File was opened (*)."
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:228
+#: build/C/man7/inotify.7:231
msgid ""
"When monitoring a directory, the events marked with an asterisk (*) above "
"can occur for files in the directory, in which case the I<name> field in the "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:236
+#: build/C/man7/inotify.7:239
msgid ""
"The B<IN_ALL_EVENTS> macro is defined as a bit mask of all of the above "
"events. This macro can be used as the I<mask> argument when calling "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:245
+#: build/C/man7/inotify.7:248
msgid ""
"Two additional convenience macros are B<IN_MOVE>, which equates to "
"IN_MOVED_FROM|IN_MOVED_TO, and B<IN_CLOSE>, which equates to "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:250
+#: build/C/man7/inotify.7:253
msgid ""
"The following further bits can be specified in I<mask> when calling "
"B<inotify_add_watch>(2):"
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:253
+#: build/C/man7/inotify.7:256
#, no-wrap
msgid "B<IN_DONT_FOLLOW> (since Linux 2.6.15)"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:256
+#: build/C/man7/inotify.7:259
msgid "Don't dereference I<pathname> if it is a symbolic link."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:256
+#: build/C/man7/inotify.7:259
#, no-wrap
msgid "B<IN_EXCL_UNLINK> (since Linux 2.6.36)"
msgstr ""
#. commit 8c1934c8d70b22ca8333b216aec6c7d09fdbd6a6
#. type: Plain text
-#: build/C/man7/inotify.7:272
+#: build/C/man7/inotify.7:275
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 "
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:272
+#: build/C/man7/inotify.7:275
#, no-wrap
msgid "B<IN_MASK_ADD>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:276
+#: build/C/man7/inotify.7:279
msgid ""
"Add (OR) events to watch mask for this pathname if it already exists "
"(instead of replacing mask)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:276
+#: build/C/man7/inotify.7:279
#, no-wrap
msgid "B<IN_ONESHOT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:280
+#: build/C/man7/inotify.7:283
msgid "Monitor I<pathname> for one event, then remove from watch list."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:280
+#: build/C/man7/inotify.7:283
#, no-wrap
msgid "B<IN_ONLYDIR> (since Linux 2.6.15)"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:283
+#: build/C/man7/inotify.7:286
msgid "Only watch I<pathname> if it is a directory."
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:290
+#: build/C/man7/inotify.7:293
msgid "The following bits may be set in the I<mask> field returned by B<read>(2):"
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:293
+#: build/C/man7/inotify.7:296
#, no-wrap
msgid "B<IN_IGNORED>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:297
+#: build/C/man7/inotify.7:300
msgid ""
"Watch was removed explicitly (B<inotify_rm_watch>(2)) or automatically "
"(file was deleted, or file system was unmounted)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:297
+#: build/C/man7/inotify.7:300
#, no-wrap
msgid "B<IN_ISDIR>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:300
+#: build/C/man7/inotify.7:303
msgid "Subject of this event is a directory."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:300
+#: build/C/man7/inotify.7:303
#, no-wrap
msgid "B<IN_Q_OVERFLOW>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:303
+#: build/C/man7/inotify.7:306
msgid "Event queue overflowed (I<wd> is -1 for this event)."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:303
+#: build/C/man7/inotify.7:306
#, no-wrap
msgid "B<IN_UNMOUNT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:306
+#: build/C/man7/inotify.7:309
msgid "File system containing watched object was unmounted."
msgstr ""
#. type: SS
-#: build/C/man7/inotify.7:308
+#: build/C/man7/inotify.7:311
#, no-wrap
msgid "/proc interfaces"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:311
+#: build/C/man7/inotify.7:314
msgid ""
"The following interfaces can be used to limit the amount of kernel memory "
"consumed by inotify:"
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:311
+#: build/C/man7/inotify.7:314
#, no-wrap
msgid "I</proc/sys/fs/inotify/max_queued_events>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:320
+#: build/C/man7/inotify.7:323
msgid ""
"The value in this file is used when an application calls B<inotify_init>(2) "
"to set an upper limit on the number of events that can be queued to the "
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:320
+#: build/C/man7/inotify.7:323
#, no-wrap
msgid "I</proc/sys/fs/inotify/max_user_instances>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:324
+#: build/C/man7/inotify.7:327
msgid ""
"This specifies an upper limit on the number of inotify instances that can be "
"created per real user ID."
msgstr ""
#. type: TP
-#: build/C/man7/inotify.7:324
+#: build/C/man7/inotify.7:327
#, no-wrap
msgid "I</proc/sys/fs/inotify/max_user_watches>"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:328
+#: build/C/man7/inotify.7:331
msgid ""
"This specifies an upper limit on the number of watches that can be created "
"per real user ID."
msgstr ""
#. type: SH
-#: build/C/man7/inotify.7:328 build/C/man2/inotify_add_watch.2:115 build/C/man2/inotify_init.2:91 build/C/man2/inotify_rm_watch.2:67
+#: build/C/man7/inotify.7:331 build/C/man2/inotify_add_watch.2:115 build/C/man2/inotify_init.2:91 build/C/man2/inotify_rm_watch.2:67
#, no-wrap
msgid "VERSIONS"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:336
+#: build/C/man7/inotify.7:339
msgid ""
"Inotify was merged into the 2.6.13 Linux kernel. The required library "
"interfaces were added to glibc in version 2.4. (B<IN_DONT_FOLLOW>, "
msgstr ""
#. type: SH
-#: build/C/man7/inotify.7:336 build/C/man2/inotify_add_watch.2:117 build/C/man2/inotify_init.2:96 build/C/man2/inotify_rm_watch.2:69
+#: build/C/man7/inotify.7:339 build/C/man2/inotify_add_watch.2:117 build/C/man2/inotify_init.2:96 build/C/man2/inotify_rm_watch.2:69
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:338
+#: build/C/man7/inotify.7:341
msgid "The inotify API is Linux-specific."
msgstr ""
#. type: SH
-#: build/C/man7/inotify.7:338
+#: build/C/man7/inotify.7:341
#, no-wrap
msgid "NOTES"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:345
+#: build/C/man7/inotify.7:348
msgid ""
"Inotify file descriptors can be monitored using B<select>(2), B<poll>(2), "
"and B<epoll>(7). When an event is available, the file descriptor indicates "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:374
+#: build/C/man7/inotify.7:377
msgid ""
"Since Linux 2.6.25, signal-driven I/O notification is available for inotify "
"file descriptors; see the discussion of B<F_SETFL> (for setting the "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:384
+#: build/C/man7/inotify.7:387
msgid ""
"If successive output inotify events produced on the inotify file descriptor "
"are identical (same I<wd>, I<mask>, I<cookie>, and I<name>) then they are "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:390
+#: build/C/man7/inotify.7:393
msgid ""
"The events returned by reading from an inotify file descriptor form an "
"ordered queue. Thus, for example, it is guaranteed that when renaming from "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:396
+#: build/C/man7/inotify.7:399
msgid ""
"The B<FIONREAD> B<ioctl>(2) returns the number of bytes available to read "
"from an inotify file descriptor."
msgstr ""
#. type: SS
-#: build/C/man7/inotify.7:396
+#: build/C/man7/inotify.7:399
#, no-wrap
msgid "Limitations and caveats"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:401
+#: build/C/man7/inotify.7:404
msgid ""
"Inotify monitoring of directories is not recursive: to monitor "
"subdirectories under a directory, additional watches must be created. This "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:404
+#: build/C/man7/inotify.7:407
msgid ""
"The inotify API provides no information about the user or process that "
"triggered the inotify event."
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:409
+#: build/C/man7/inotify.7:412
msgid ""
"Note that the event queue can overflow. In this case, events are lost. "
"Robust applications should handle the possibility of lost events gracefully."
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:413
+#: build/C/man7/inotify.7:416
msgid ""
"The inotify API identifies affected files by filename. However, by the time "
"an application processes an inotify event, the filename may already have "
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:420
+#: build/C/man7/inotify.7:423
msgid ""
"If monitoring an entire directory subtree, and a new subdirectory is created "
"in that tree, be aware that by the time you create a watch for the new "
msgstr ""
#. type: SH
-#: build/C/man7/inotify.7:420
+#: build/C/man7/inotify.7:423
#, no-wrap
msgid "BUGS"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:425
+#: build/C/man7/inotify.7:428
msgid "In kernels before 2.6.16, the B<IN_ONESHOT> I<mask> flag does not work."
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:433
+#: build/C/man7/inotify.7:436
msgid ""
"Before kernel 2.6.25, the kernel code that was intended to coalesce "
"successive identical events (i.e., the two most recent events could "
msgstr ""
#. type: SH
-#: build/C/man7/inotify.7:433 build/C/man2/inotify_add_watch.2:119 build/C/man2/inotify_init.2:98 build/C/man2/inotify_rm_watch.2:71
+#: build/C/man7/inotify.7:436 build/C/man2/inotify_add_watch.2:119 build/C/man2/inotify_init.2:98 build/C/man2/inotify_rm_watch.2:71
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:441
+#: build/C/man7/inotify.7:444
msgid ""
"B<inotify_add_watch>(2), B<inotify_init>(2), B<inotify_init1>(2), "
"B<inotify_rm_watch>(2), B<read>(2), B<stat>(2), "
msgstr ""
#. type: SH
-#: build/C/man7/inotify.7:441 build/C/man2/inotify_add_watch.2:123 build/C/man2/inotify_init.2:102 build/C/man2/inotify_rm_watch.2:75
+#: build/C/man7/inotify.7:444 build/C/man2/inotify_add_watch.2:123 build/C/man2/inotify_init.2:102 build/C/man2/inotify_rm_watch.2:75
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man7/inotify.7:448 build/C/man2/inotify_add_watch.2:130 build/C/man2/inotify_init.2:109 build/C/man2/inotify_rm_watch.2:82
+#: build/C/man7/inotify.7:451 build/C/man2/inotify_add_watch.2:130 build/C/man2/inotify_init.2:109 build/C/man2/inotify_rm_watch.2:82
msgid ""
-"This page is part of release 3.35 of the Linux I<man-pages> project. A "
+"This page is part of release 3.37 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://man7.org/linux/man-pages/."
+"found at http://www.kernel.org/doc/man-pages/."
msgstr ""
#. type: TH