Re: making FAM a required dependency



Am Mon, 2002-09-30 um 20.33 schrieb James Willcox:
> Hi all,
> 
> gnome-vfs supports the monitoring of local files through FAM.  This is a
> great feature, but currently it's not one we can depend on, since FAM
> support is optional.  Consequently, if you want things to work as
> expected, you have to handle the situation where monitoring isn't
> supported by implementing your own monitoring stuff.  I see at least 2
> ways to fix this problem.
> 
> 1)  Make FAM a required dependency for gnome-vfs
> 
> 2)  Implement a fallback monitoring impl. in gnome-vfs when FAM isn't
> available.  (only for local files)
> 
> IMHO, 1) is the best solution, assuming that FAM works on all the
> platforms we plan to support.
> 
> Thanks,
> James

What really bothers me on FAM, is the fact that if you copy a rather
large file FAM continously sends msg "hey there was some change in this
directory". This is very boring. If you copy a large file in nautilus
into a directory with many files in it, nautilus and FAM start using
really much CPU power.
FAM would do much better if it would just report: "Hey theres a new file
in this directory", after the copying has finished (or when it starts
and after it has finished). However, I don't know if thats at all
possible, but it would be better ;-)

Jörgen





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