-
Notifications
You must be signed in to change notification settings - Fork 42
Symlinks and hardlinks are reported as files on linux #69
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
Comments
I've been hesitant to add that because the primary use is debugging (IOW, I'm hesitant to add any debugging stuff to actually released code). But this has come up before, so maybe we should add it. There are times it's probably useful. It is especially useful to know how the watcher selects a filesystem even subsystem a-priori (and we document that in the Platform-specific adapter selection subsection). It's a bit hidden, admittedly. The reason it might be useful to know that before the watcher runs is because of file descriptor limitations on inotify. If someone wants to change that, they should also know if the watcher will use inotify. Although, which filesystem event subsystem is in use at runtime is probably useful for checking that the watcher is doing with what it is expected to do. And maybe that's not solely debugging.
I am still investigating the best solution, and I have not forgotten about this. |
Is the |
Yes |
Instead of
hard_link
orsym_link
thepath_type
is alwaysfile
.If i do
ln -s a b
in the watched directory i getcreate file b
and noassociatedPathName
.I am most likely using inotify, but i don't know if there is a way to tell for sure.
Maybe the watcher could say that in the
self/live
event?The text was updated successfully, but these errors were encountered: