![]() ![]() An inode is used for anything in the filesystem from normal files to directories. Linux has a unique kernel subsystem to allow userland applications to subscribe to "inode notifications". And thus there isn't an old, traditional UNIX system call interface for this, and so Linux has one way of doing it, and Mac OS X has its own FSEvents API which is not based on BSD or FreeBSD. The idea of having userland interfaces to have such granular event notification of directory or file changes is relatively new in operating system history. ![]() But Linux has one way and OS X has a different way. On Unix/Linux, there are some commands we can use on the shell to monitor changes in a file. Have you ever been waiting for a process to run and not notice that it had finished? As developers, we need ways to hook into these chains and be aware of files which change when they change in order to trigger new actions off of those "filesystem events". ![]() It's not always possible to know when a particular file will be updated since it's done via a chain of automatic processes. These days our files are everywhere, you need an advanced IDE just to track where all the code for a small software project is, and you have many background processes running as dependencies on your main application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |