Re: Mounted cifs share and repeat=watch bidirectional sync
Tõivo Leedjärv <[email protected]> Sat, 11 Jan 2025 13:18:43 +0100
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <CAALvpZQE2GPG-5-0Py=jy9FMbZFhxjs6Qht1x4N0c_j4+PCdng@mail.gmail.com> |
On Thu, 9 Jan 2025 at 13:14, Greg Troxel <[email protected]> wrote: > > To learn about changes from off machine writers, CIFS would have > to basically implement an inotify-like mechanisms at the CIFS level, so > that the request to watch could be relayed to the fileserver, and > notifications sent back. Without knowing any details, after a very basic search I believe this is exactly what is happening in the SMB protocol (at least for versions >= 2). "File and directory change notification. CIFS clients can post a request to be notified when a change is made to a file within a directory or directory tree on the server." https://urldefense.com/v3/__https://learn.microsoft.com/en-us/windows/win32/fileio/microsoft-smb-protocol-and-cifs-protocol-overview__;!!IBzWLUs!VzfbiZzSTIaDOGCbwwS5viWSac9QKFiPpKDtyUNqQJOJniRU_TCh70cP-SWT_X8X5YfhlNNCzwvN82lCHDQv2Q$ To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].