File Alteration Monitor
rahul at excelize.com
Mon Jan 25 11:59:15 UTC 2010
From: users-bounces at lists.fedoraproject.org
[mailto:users-bounces at lists.fedoraproject.org] On Behalf Of Sam Varshavchik
>> No. Gamin is a replacement for FAM in earlier Fedora releases. Both use
the same kernel API.
>> You might be misundersting what Gamin/FAM is. It is not a tool for
synchronizing contents of directories. It's an API by which an application
gets notified whenever >> the contents of a directory change. By "contents
of a directory" means "the names of files in a directory", that is "when new
files are created in a directory, existing >> files are removed, or
renamed", and not "contents of any file in a directory". As such, there is
nothing to configure. An application uses the appropriate Gamin/FAM >> API,
and then gets notified when that happens.
I am referring http://www.linuxfocus.org/English/March2001/article199.shtml
& http://oss.sgi.com/projects/fam/faq.html , which says FAM can report when
a file is created, deleted, modified, or executed. So if a file gets
modified , isn't that sufficient to initiate sync to other location? Please
correct me if I am wrong.
What I want is:
1) If a file changes (file contents also) it should fire a command for
syncing to other network location.
More information about the users