Skip to main content

Change Notify

Change notifications are a feature of SMB server that allows clients to subscribe to notifications about changes in directory structure and the content of the files. This configuration option allows controlling the type of backend to use for enabling change notifications.

This configuration option accepts the following backend:

  • ‘smb’

    Specifies whether the SMB server should rely on in ternally generated file change notifications on directories. If configured, the SMB server will not ask the kernel change-notify interface for monitoring filesystem events and only rely on file change notifications generated internally by the SMB server as a result of file or directory operations requested by a SMB client.

  • ‘kernel’

    Specifies whether the SMB server should rely on kernel for change notifications in directories. If configured, the SMB server uses the inotify interface for monitoring filesystem events.

  • ‘none’

    Disables the change-notification service. If configured, the SMB server will no longer send change notifications and as a result SMB clients will not refresh whenever changes are made to the directory on theserver.

Default: kernel

change_notify = kernel