How Inotify works - part 1

While reading the The linux programming interface book I finally dived deep in Inotify and how it works. Basically inotify is a notification system for events happening on files/directory like access, changes, edit and so on. It was meant to replace dnotify, an older notification system, that used signals to notify about changes. Inotify is based on file descriptor opened when you watch a file and a read syscall to check the status of the file. ...

January 28, 2019