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

[SLUG] File open signals???



Firstly I would like to say that my previous message to Anand was not
meant to be offensive and if any offense was taken then I apologise for
that.

Secondly, I'm fairly new to programming in a UNIX environment so what
i'm asking may indeed be very trivial, but please bear with me.

Is there a way to get the kernel to send me a signal when a particular
file is opened/closed.  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.

I don't know if this is at all possible, or maybe this is just a stupid
way of doing it.

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