Re: VFS/fcntl() feature [PATCH]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 28 Aug 1998 00:59:39 +0100 (BST)


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

Alan

-
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