Is there a way to use inotify on remote filesystems (specifically WebDAV)?
up vote
2
down vote
favorite
I have Box.com successfully mounted with davfs2
(webdav) to a local location.
Now I am trying to trigger actions on files created and synced in the Webdav folder.
Unfortunately this is not working. I see no inotify
events when files are synced to the local Webdav folder.
It does pick-up any local file transactions though, so I am pretty confident inotify
is working properly.
Anyone else using Webdav (davfs2
) and inotify
?
inotify webdav davfs2
add a comment |
up vote
2
down vote
favorite
I have Box.com successfully mounted with davfs2
(webdav) to a local location.
Now I am trying to trigger actions on files created and synced in the Webdav folder.
Unfortunately this is not working. I see no inotify
events when files are synced to the local Webdav folder.
It does pick-up any local file transactions though, so I am pretty confident inotify
is working properly.
Anyone else using Webdav (davfs2
) and inotify
?
inotify webdav davfs2
1
Related: How do I use inotify or named pipes over SSHFS?
– Marco
Oct 27 '15 at 13:12
WebDAV is specifically mentioned in this link: Fsnotify and FUSE (which I added to the answer below).
– Diagon
Nov 28 at 6:34
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have Box.com successfully mounted with davfs2
(webdav) to a local location.
Now I am trying to trigger actions on files created and synced in the Webdav folder.
Unfortunately this is not working. I see no inotify
events when files are synced to the local Webdav folder.
It does pick-up any local file transactions though, so I am pretty confident inotify
is working properly.
Anyone else using Webdav (davfs2
) and inotify
?
inotify webdav davfs2
I have Box.com successfully mounted with davfs2
(webdav) to a local location.
Now I am trying to trigger actions on files created and synced in the Webdav folder.
Unfortunately this is not working. I see no inotify
events when files are synced to the local Webdav folder.
It does pick-up any local file transactions though, so I am pretty confident inotify
is working properly.
Anyone else using Webdav (davfs2
) and inotify
?
inotify webdav davfs2
inotify webdav davfs2
edited Oct 30 '15 at 23:25
Gilles
524k12610481578
524k12610481578
asked Oct 27 '15 at 13:00
yograf
1112
1112
1
Related: How do I use inotify or named pipes over SSHFS?
– Marco
Oct 27 '15 at 13:12
WebDAV is specifically mentioned in this link: Fsnotify and FUSE (which I added to the answer below).
– Diagon
Nov 28 at 6:34
add a comment |
1
Related: How do I use inotify or named pipes over SSHFS?
– Marco
Oct 27 '15 at 13:12
WebDAV is specifically mentioned in this link: Fsnotify and FUSE (which I added to the answer below).
– Diagon
Nov 28 at 6:34
1
1
Related: How do I use inotify or named pipes over SSHFS?
– Marco
Oct 27 '15 at 13:12
Related: How do I use inotify or named pipes over SSHFS?
– Marco
Oct 27 '15 at 13:12
WebDAV is specifically mentioned in this link: Fsnotify and FUSE (which I added to the answer below).
– Diagon
Nov 28 at 6:34
WebDAV is specifically mentioned in this link: Fsnotify and FUSE (which I added to the answer below).
– Diagon
Nov 28 at 6:34
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
According to lwn.net - Filesystem notification, part 2: A deeper investigation of inotify events on remote file systems (which WebDAV is) are not reported:
For example, it means that inotify does not inform us of events on monitored objects via a remote filesystem (e.g. NFS) operation.
Notifications are implemented in the kernel. In case a file is changed, the kernel sends a notification. But on remote file systems the change doesn't involve the local kernel. Therefore no notification is generated.
For this to work, the notifications would need to be implemented on the server and then forwarded to the client.
Related:
- inotify with NFS
- How do I use inotify or named pipes over SSHFS?
Fsnotify and FUSE (WebDAV is specifically mentioned here.)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
According to lwn.net - Filesystem notification, part 2: A deeper investigation of inotify events on remote file systems (which WebDAV is) are not reported:
For example, it means that inotify does not inform us of events on monitored objects via a remote filesystem (e.g. NFS) operation.
Notifications are implemented in the kernel. In case a file is changed, the kernel sends a notification. But on remote file systems the change doesn't involve the local kernel. Therefore no notification is generated.
For this to work, the notifications would need to be implemented on the server and then forwarded to the client.
Related:
- inotify with NFS
- How do I use inotify or named pipes over SSHFS?
Fsnotify and FUSE (WebDAV is specifically mentioned here.)
add a comment |
up vote
2
down vote
According to lwn.net - Filesystem notification, part 2: A deeper investigation of inotify events on remote file systems (which WebDAV is) are not reported:
For example, it means that inotify does not inform us of events on monitored objects via a remote filesystem (e.g. NFS) operation.
Notifications are implemented in the kernel. In case a file is changed, the kernel sends a notification. But on remote file systems the change doesn't involve the local kernel. Therefore no notification is generated.
For this to work, the notifications would need to be implemented on the server and then forwarded to the client.
Related:
- inotify with NFS
- How do I use inotify or named pipes over SSHFS?
Fsnotify and FUSE (WebDAV is specifically mentioned here.)
add a comment |
up vote
2
down vote
up vote
2
down vote
According to lwn.net - Filesystem notification, part 2: A deeper investigation of inotify events on remote file systems (which WebDAV is) are not reported:
For example, it means that inotify does not inform us of events on monitored objects via a remote filesystem (e.g. NFS) operation.
Notifications are implemented in the kernel. In case a file is changed, the kernel sends a notification. But on remote file systems the change doesn't involve the local kernel. Therefore no notification is generated.
For this to work, the notifications would need to be implemented on the server and then forwarded to the client.
Related:
- inotify with NFS
- How do I use inotify or named pipes over SSHFS?
Fsnotify and FUSE (WebDAV is specifically mentioned here.)
According to lwn.net - Filesystem notification, part 2: A deeper investigation of inotify events on remote file systems (which WebDAV is) are not reported:
For example, it means that inotify does not inform us of events on monitored objects via a remote filesystem (e.g. NFS) operation.
Notifications are implemented in the kernel. In case a file is changed, the kernel sends a notification. But on remote file systems the change doesn't involve the local kernel. Therefore no notification is generated.
For this to work, the notifications would need to be implemented on the server and then forwarded to the client.
Related:
- inotify with NFS
- How do I use inotify or named pipes over SSHFS?
Fsnotify and FUSE (WebDAV is specifically mentioned here.)
edited Nov 28 at 14:38
Diagon
21317
21317
answered Oct 27 '15 at 13:40
Marco
24.9k682116
24.9k682116
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f238956%2fis-there-a-way-to-use-inotify-on-remote-filesystems-specifically-webdav%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Related: How do I use inotify or named pipes over SSHFS?
– Marco
Oct 27 '15 at 13:12
WebDAV is specifically mentioned in this link: Fsnotify and FUSE (which I added to the answer below).
– Diagon
Nov 28 at 6:34