Skip to content
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

On linux with python lib, when umounting the fs the monitored path is within, no events are generated #67

Open
yufei-pan opened this issue Jan 29, 2025 · 0 comments

Comments

@yufei-pan
Copy link

umount test

mount -t tmpfs tmpfs test

touch hi

-> no events generated

maybe inotify lib behavior? maybe the watchers monitors the inode instead of the path.

I know inotify will capture fs umount events and generate a corresponding event. maybe it is a good idea to also pass that event as well?

This also happens when a fs got mounted to a path / subfolder the program is watching on.

mkdir subdir

touch subdir/hi

-> events generated

mount -t tmpfs tmpfs subdir

touch subdir/hi2

-> no events generated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant