[Nautilus-list] Re: fam question



On Fri, 26 Oct 2001, Darin Adler wrote:

> As far as I can tell, FAM doesn't notify you if you are monitoring a file
> (not the file's directory) and you delete that file. Is that a bug in the
> Red Hat FAM, or working as designed? Maybe monitoring a file just monitors
> the inode? Can I monitor a file name and find out when that file name is
> unlinked without monitoring the whole directory it's in?

It worked for me.

Just running the test app from the fam distro:

bash-2.05$ fam_test -f /tmp/x/1 
FAMMonitorFile("/tmp/x/1")
FAMMonitorFile("/tmp/x/1")
FILE /tmp/x/1:   /tmp/x/1 Exists
FILE /tmp/x/1:   /tmp/x/1 EndExist
FILE /tmp/x/1:   /tmp/x/1 was deleted

In what context did this not work?

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]