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

Re: [SLUG] File open signals???



On Tue, May 02, 2000 at 10:41:43AM +1000, John Francis wrote:
> Is there a way to get the kernel to send me a signal when a particular
> file is opened/closed.  

Don't know about that, theres a few random signature generates
that makes .signature a named pipe, you can then be notified
when its read.

> What i would like to do is have a program
> running that waits for my .signature file to be opened and closed and
> then proceed to replace the contents of that file.

If you want to "cheat", have a look at
http://www.caliban.org/linux_signature.html, or search freshmeat.

-- 
	chesty

--
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