Re: VFS/fcntl() feature [PATCH]

Jeff Garzik (jgarzik@pobox.com)
Sat, 29 Aug 1998 15:43:41 -0400 (EDT)


Brandon Allbery wrote:
> In message <19980828170216.A13729@tantalophile.demon.co.uk>, Jamie Lokier
> writes:
> +-----
> | Alan Cox wrote:
> | > 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 ;)
> | Sure, but how does select() notify the process when a file is modified?
> | Note I said modified, not extended.
> +--->8

> select() on a directory being both nonstandard and currently less than
> useful, it can have any semantics we want to give it. Said semantics need
> not be exactly analogous to its behavior on non-directories.

Who cares? :) select() on a dir can be very useful, and it is certain
possibly under Linux.

I can't count the number of times I've had to write various hacks to
work around the lack of this feature.

Jeff

> (IOW, there's no reason we can't have it mean "any modification" instead of
> merely "append".)

-
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