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

Re: [SLUG] File open signals???



John Francis wrote:
> 
>...
> Is there a way to get the kernel to send me a signal when a particular
> file is opened/closed.

No, there isn't.

There is an interesting kernel extension which SGI are playing around
with called 'fam&imon' - File Access monitor and inode Monitor.

This patch and daemon allow userland processes to be notified when an
inode is modified.  The KDE and GNOME guys who know about it are keen
because it allows GUI file managers to update themselves without having
to poll the filesystem.

With a bit of pushing, encouragement and slimming, this extension may be
an option for kernel 2.5.  We'll see.


-- 
-akpm-
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text