How do I notify the system that a file in a CBFS Connect drive's backend storage has been deleted or modified?


If some actor modifies or deletes the data that constitutes a file from the backend storage that the CBFS component is exposing as a virtual drive, your filesystem implementation should notify the OS about such a change. This can be done by calling the NotifyDirectoryChange method of the CBFS component. Please refer to the documentation for more information.

If you are using the FUSE component, it does not have such a mechanism. The reason is that the underlying technologies on most of the platforms FUSE is available for don't support the notification mechanism similar to the one used by the CBFS component.

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@callback.com.