Greeetings. Calvin Morrison wrote: > On 22 February 2012 10:35, Troels Henriksen <at...@sigkill.dk> wrote: >> Calvin Morrison <mutanttur...@gmail.com> writes: >> >>> On 22 February 2012 09:17, Troels Henriksen <at...@sigkill.dk> wrote: >>> What about inotify? I am now thinking that would be the best. Instead >>> of loading the file on every request, we could just check for inotify >>> events. We can create an event for the cookie file using IN_MODIFY >>> event. if there has been an event, then we reread. >> >> Yes, inotify would be the mechanism by which file changes are >> discovered, although it's not portable. I'm not certain what the >> Suckless Zeitgeist is on using Linux-only facilities. >> > > Okay, who is the head guru to be consulted on these matters? >
Poettering says: »Screw *BSD!« *BSD has kqueues, but I'm lacking information, if there are any kqueue utils like inotifywait(1). Sincerely, Christoph Lohmann