Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

19. Monitoring File Events > An Older System for Monitoring File Events: dnotif...

An Older System for Monitoring File Events: dnotify

Linux provides another mechanism for monitoring file events. This mechanism, known as dnotify, has been available since kernel 2.4, but has been made obsolete by inotify. The dnotify mechanism suffers a number of limitations compared with inotify:

  • The dnotify mechanism provides notification of events by sending signals to the application. Using signals as a notification mechanism complicates application design (Interprocess Communication with Signals). It also makes the use of dnotify within a library difficult, since the calling program might change the disposition of the notification signal(s). The inotify mechanism doesn’t use signals.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint