Can I trigger a filesystem event on Linux, without an actual file change? Is there some system call that acts like the file was written? Is that even possible?
I have a NFS share mounted and want to get inotify
events in the virtual machine, when a file changes on the server site.
It seems inotify
doesn't work with NFS.
Is there any network filesystem that supports inotify
?
It's easy to monitor the events on the server site, but how can I trigger the events on the client? At that moment I do a simple touch
, but that's not ideal.
(the use case is for local development with docker (boot2docker, OS X.)