Re: strange disk activity [tail -f]

Konstantin Olchanski (
5 Apr 1996 23:56:17 GMT

In article <>, Malcolm Beattie <> writes:
> Ingo Molnar writes:
> > might be a stupid question, but is there no way doing event based reads
> > on files [selects and/or blocking reads at the end of the file] ?
> There was an extension to FFS for "watchdogs" which allowed user-mode
> programs to "guard" files and directories.

The SGI Irix has a similar facility,
called 'fam' (filesystem alteration monitor).

User-mode programs use an ioctl() to register their
interest in a file and then read kernel messages (such
as "files was changed", "file was deleted", etc...) from