[Mono-list] FileSystemWatcher on Linux to monitor a remote NTFS share

Petit Eric surfzoid at gmail.com
Fri Apr 3 03:58:52 EDT 2009


2009/4/2 Robert Jordan <robertj at gmx.net>:
> colinjones wrote:
>> I hve done some searching for this specific case, but cannot find any
>> examples of people confirming this works.
>>
>>>From the MSDN article
>> http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx it
>> says in the Remarks section that this class can be used to register for
>> events relating to file/folder changes on a remote system, not just the
>> local system.
>>
>> Is this functionality fully implemented in Mono? I would like to code
>> something on a Linux box, using the Mono equivalent class, that will monitor
>> a remote share file/folder structure on a Windows box, and get events back
>> when a file/folder on that Windows box changes.
>>
>> Is this possible with the Mono class?
Did you try on an mounted point ?
>
> It should be possible if you set the environment var
> MONO_MANAGED_WATCHER=1. See mono(1).
>
> The performance will most likely suck...
>
> Robert
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 

Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------

Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------

No key was wounded during the drafting of this message.


More information about the Mono-list mailing list