Quoting Amos Shapira, from the post of Wed, 14 Feb:
> 
> I'm not sure I follow the sequence of events that you expect - the
> monitoring program runs on Windows and looks at a directory shared over the
> network through Samba? Then why is FAM supposed to help here? FAM is a
> Linux-side thing. Are you looking to create some sort of a "proxy" that will

the windows filesystem layer supports callbacks. this means an
application can "subscribe" to a directory or a file, and get notified
if something in it changes, like a file is added. the windows-side
program is expecting the directory to call it back and so it does not
scan the directory repeatedly for new files dropped in

Samba, on the other hand, accepts the callback request and is supposed
to support this by using fam/gamin to detect changes, since the callback
feature is of course not available in the Linux VFS API, or whoever could
have been in charge of this. This means that when a file is dropped in a
directory that is shared, gamin would notify samba which would notify
the remote mounting party that the directory has changed, and the chain
is closed.

however, this does not seem to work, and I can't find how to turn it on,
even though I see that Samba is compiled on Debian with the FAM support.

-- 
Master of magnetism
Ira Abramov
http://ira.abramov.org/email/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to