Can fam do this [was] vanishing fam-2.6.10-11

Daniel Veillard veillard at redhat.com
Fri Jul 30 12:05:42 UTC 2004


On Fri, Jul 30, 2004 at 07:00:49PM +0700, Michel Salim wrote:
> On Fri, 30 Jul 2004 03:35:26 -0400, Daniel Veillard <veillard at redhat.com> wrote:
> > 
> >   The FAM API is about reporting changes, but not how files changed.
> > It is relatively expensive on large directories unfortunately:
> >    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124361
> > 
> >  I will try to reduce the CPU usage in gamin but we lack kernel support
> > which would make that easy.
> > 
> 
> On a related note, is there a way to prevent FAM from locking up
> writable removable media? Sometimes - but not always - when using FAM
> in conjunction with Nautilus, I get unmount errors and have had to
> killall -9 fam to proceed.

  Known problem. This is being worked on at various level. I can't promise
that gamin will be able to do that, because as long as the dnotify API
is used one need to open the directory/file being monitored. Yes this
sucks, and unfortunately I don't expect to see any kernel API improvement
at this point.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/





More information about the fedora-test-list mailing list