inotify -- Linux 2.6 内核中的文件系统变化通知机制
引用自:
http://www.ibm.com/developerworks/cn/linux/l-inotifynew/
本文详细地介绍了在 Linux 2.6.13 内核中新引入的文件系统变化通知机制 inotify,并举例说明了它的使用与典型应用案例。
?
![]()
![]()
回页首
?
![]()
![]()
回页首
?
![]()
![]()
回页首
?
?
回页首
?
![]()
![]()
回页首
?
六、小结
inotify 是在 2.6.13 中引入的新功能,它为用户态监视文件系统的变化提供了强大的支持,本文详尽地介绍了其起源、内核实现、用户接口以及使用,有兴趣的读者可以读 2.6.13的相关源码来进一步了解其实现细节。
?
参考资料
Linux 2.6.13的内核源码,http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.tar.bz2。内核文档,Documentation/filesystems/inotify.txt。
LWN: Watching filesystem events with inotify,http://lwn.net/Articles/104343/。
Monitor Linux file system events with inotify,http://www.ibm.com/developerworks/linux/library/l-inotify.html。
Robert M. Love's README, http://www.kernel.org/pub/linux/kernel/people/rml/inotify/README。
The recent inotify patch for linux 2.6.13-rc2,http://www.kernel.org/pub/linux/kernel/people/rml/inotify/v2.6/0.24/inotify-0.24-rml-2.6.13-rc2-4.patch。