Section: Linux Programmer's Manual (7) Updated: 2020-11-01 Index JM Home Page roff page åå inotify - ãã¡ã¤ã«ã·ã¹ãã ã¤ãã³ããç£è¦ãã 説æ inotify API ã¯ãã¡ã¤ã«ã·ã¹ãã ã¤ãã³ããç£è¦ããããã®æ©æ§ãæä¾ããã inotify ã¯åã ã®ãã¡ã¤ã«ããã£ã¬ã¯ããªãç£è¦ããã®ã«ä½¿ããã ãã£ã¬ã¯ããªãç£è¦ããå ´åãinotify ã¯ãã£ã¬ã¯ããªèªèº«ã¨ ãã£ã¬ã¯ããªå ã®ãã¡ã¤ã«ã®ã¤ãã³ããè¿ãã ãã® API ã§ã¯ä»¥ä¸ã®ã·ã¹ãã ã³ã¼ã«ã使ç¨ãããã * inotify_init(2) 㯠inotify ã¤ã³ã¹ã¿ã³ã¹ãä½æããinotify ã¤ã³ã¹ã¿ã³ã¹ãåç §ãã ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¼ãè¿ãã ããæ°ãã inotify_init1(2) ã inotify_init(2) ã¨å
Linux2.6ãã追å ãããinotifyã¨ããAPIã¯ããã¡ã¤ã«ããã£ã¬ã¯ããªã¼ã§ãªã¼ãã³ãã¯ãã¼ãºã移å/ååå¤æ´ãåé¤ãä½æãå±æ§ã®å¤æ´ãªã©ã¨ãã£ããã¡ã¤ã«ã·ã¹ãã ã¤ãã³ããç£è¦ãããã¨ãã§ãã¾ãã inotify API群ãå©ç¨ãã¦èªåã§ãã¡ã¤ã«ã·ã¹ãã ã¤ãã³ãç£è¦ããã°ã©ã ãå®è£ ãããã¨ãã§ãã¾ããã ä»åã¯ãinotify-toolsã¨ããinotifyãå©ç¨ãããã¡ã¤ã«ã·ã¹ãã ã¤ãã³ãç£è¦ãã¼ã«ã使ç¨ãã¾ãã inotifyã¤ãã³ã inotifyã§ã¯å¯¾è±¡ã®ãã¡ã¤ã«ã¾ãã¯ãã£ã¬ã¯ããªã«å¯¾ãã¦ä»¥ä¸ã®ãã¡ã¤ã«ã·ã¹ãã ã¤ãã³ããç£è¦ã§ãã¾ãã â»å¯¾è±¡ããã£ã¬ã¯ããªã®å ´åã¯ããã£ã¬ã¯ããªèªèº«ã¨ãã®é ä¸ã®ãã¡ã¤ã«ã対象ã¨ãªãã¾ãã ã¤ãã³ãå ã¤ãã³ãçºçã¿ã¤ãã³ã°
inotify (inode notify) ã¨ã¯ããã¡ã¤ã«ã·ã¹ãã ã¸ã®å¤æ´ãéç¥ãããããã¡ã¤ã«ã·ã¹ãã ãæ¡å¼µãã¦ããã®å¤æ´ãã¢ããªã±ã¼ã·ã§ã³ã«å ±åããLinuxã«ã¼ãã«ãµãã·ã¹ãã ã§ãããinotifyã«å è¡ãã¦åå¨ããé¡ä¼¼ã®ç®æ¨ãæã¤dnotifyï¼è±èªçï¼ã¯ãinotifyã«åã£ã¦ä»£ãããã¦ããã inotifyã¯John McCutchanãä½æã[1]ã2005å¹´8æ29æ¥ã«ãªãªã¼ã¹ãããLinuxã«ã¼ãã«ã®ãã¼ã¸ã§ã³2.6.13ã§ãinotifyã¯Linuxã«ã¼ãã«ã¡ã¤ã³ã©ã¤ã³ã«ãã¼ã¸ããã[2]ã以éã®ãã¼ã¸ã§ã³ã®Linuxã«ã¼ãã«ã§ã¯ãinotifyã¯ããã«æ¹è¯ããã¦ãããGNU Cã©ã¤ãã©ãª (glibc) ã§ã¯ãinotifyã«å¿ è¦ãªã©ã¤ãã©ãªã¤ã³ã¿ãã§ã¼ã¹ã¯2006å¹´3æã«ãªãªã¼ã¹ããããã¼ã¸ã§ã³2.4ã§è¿½å ããã2006å¹´9æã«ãªãªã¼ã¹ããããã¼ã¸ã§ã³2.5ã§in
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}