Re: Inotify



On Thu, 2004-10-07 at 14:20 +0100, Richard Boulton wrote:

> I've been wondering if it would be possible to "simulate" inotify with a
> user space daemon (or just a thread in beagled) which polls the
> filesystem, and sends events when it spots a change.  Obviously this
> would be vastly inferior to inotify itself, but would be entirely
> portable, and shouldn't need to affect the architecture of beagle in any
> deleterious manner.

This will be disastrously unusable, with constant hard drive access and
99% processor usage on even moderately sized home directories.  But
don't let me kill your baby. ;-)

Also, Mono already has such a platform-independent file monitor.

	Robert Love





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