[Mono-list] possible bug with FileSystemWatcher
Miguel de Icaza
miguel at ximian.com
Tue Oct 3 18:52:17 EDT 2006
Hello,
> I'm trying to monitor /dev using the FileSystemWatcher however my app
> seems to hang at the point when i call "watcher.IncludeSubdirectories
> = true" without that line the code runs fine. Monitoring /tmp with
> that option turned on does work...
>
> Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
> get the following error message continuously appearing:
One of the problems that we ran into while trying to debug this problem
is that it seems that /dev/fd/6 is a symlink that points to a
non-existant file called "inotify"
The file is special in that if you access /dev/fd/6 you get a valid file
handle, reporting that its a directory, but if you try to follow the
symlink you get a failure (because "inotify" does not exist).
We are quite puzzled about this, not sure quite what to do, because Mono
determines that we have a directory, and when we look for it, it tells
us that its not a directory.
Miguel.
More information about the Mono-list
mailing list