-
Notifications
You must be signed in to change notification settings - Fork 252
ln -sf only appears as DELETE on linux #102
Comments
Whoa:
|
Thanks for the thorough bug report with all the steps to reproduce. Would you mind testing against github.com/fsnotify/fsnotify and opening a new issue at https://github.com/fsnotify/fsnotify/issues/new if the race condition persists? (See #101) |
@nathany I just did, it seems to be working in your version. I migrated to it already, thanks! (Although I'd keep |
It is more verbose than when it had the Is* methods. The nice thing is that it's easy to coalesce events together. The API isn't final by any means, but what's at fsnotify/fsnotify is close to what we came up with. (API doc http://goo.gl/MrYxyA) |
@tianon I'm thinking of renaming fsnotify/fsnotify one more time. See the conversation here: fsnotify/fsnotify#28. Sorry if your stuff breaks. |
appears as:
in
strace it looks like this
:At the same time, this works as expected:
The next C program gives correct events with probability ~80%:
Removing
usleep
leads to absence ofCREATE
events.I suspect race condition somewhere.
The text was updated successfully, but these errors were encountered: