Re: VFS/fcntl() feature [PATCH]

Steven N. Hirsch (shirsch@adelphia.net)
Fri, 28 Aug 1998 07:03:01 -0400 (EDT)


On Fri, 28 Aug 1998, Alan Cox wrote:

> > Thats all. The program wakes up when something happens and you can do a=20
> > fstat() or readdir() to figure out _what_ the changes are. Simple, small,=
> > no obscure API.
> > Currently the only way to do this is by frequently polling which is mostl=
> > y not
> > what you would like to do.
>
> This was actually discussed at Linux Expo and before (many times), the
> favoured idea has been to allow select() on a directory to have those
> semantics. It also means "top" can select on /proc ;)

Heh. In the back of my mind, I originally thought that select() supported
these semantics. Especially given that early unices allowed conventional
file ops on directories.

Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html