-
-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not make it work with usbmount #431
Comments
I got the same issue. Seems watchdog cannot detect changes which not happen on local system. |
I am having a similar issue with an NFS mount (inside docker). Seems like it doesn't detect the file creation there either :( . If I then copy from inside the machine where python is running to itself, then the file is detected. |
This seems to be an environment/OS issue, not a watchdog one. Are you all using the From the mount point and the "NFS in Docker", I think you're all on Linux using the inotify observer on a FUSE or network-based file system that has no kernel support for inotify. That means the application can't rely on inotify. If that's what's going on, there's nothing in this project that could be done: you need to either use the polling observer in the application code, or fix this issue upstream (Linux kernel? inotify? Some driver?) to work with those file systems. |
I am trying to automate the mounting + detecting a pendrive using usbmount and python-watchdog but, i am not able to make it work. Usbmount is able to detect the pendrive and it is mounted at the correct place (/media/usb). I can see the files using
ls
but, i expected python-watchdog to detect the "creation" or "modified" event which is not happening. I am using FileSystemEventHandlerThe text was updated successfully, but these errors were encountered: