[gamin] Gamin/inotify, nfs, and CIFS?



[ I gather that the best hope for a portable file change
  notification service for Linux is inotify,
  that the most portable way to access it is to use the FAM API
  provided by the Gamin library (http://www.gnome.org/~veillard/gamin/),
  and that the place to discuss either inotify or gamin is the Gamin
  project's mailing list.  If I'm wrong, please let me know.]

Dumb question: how will inotify interact with nfs or cifs?

I doubt NFS supports that kind of notification, but
notification of even just local changes would be sufficient for many users
(Java IDEs that obsessively scan source directories, for instance).
The following message,
http://mail.gnome.org/archives/gamin-list/2004-September/msg00063.html
shows that at least some people agree that'd be useful.
Does this in fact work with inotify as it stands now?

Also, for what it's worth, the win32 functions FindFirstChangeNotification/ReadDirectoryChanges
http://msdn.microsoft.com/library/en-us/fileio/base/findfirstchangenotification.asp
do seem to work with remote directories
(although WinNT 4 had some issues; http://support.microsoft.com/kb/188321/EN-US/ ).
so perhaps cifs could really support inotify well.
Anyone look into that yet?

Thanks,
Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]