Messages in this thread | | | Subject | Re: VFS/fcntl() feature [PATCH] | Date | Sat, 29 Aug 1998 12:31:56 +0100 | From | David Woodhouse <> |
| |
> | Sure, but how does select() notify the process when a file is modified? > | Note I said modified, not extended. > +--->8
allbery@kf8nh.apk.net said: > 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.
> (IOW, there's no reason we can't have it mean "any modification" > instead of merely "append".)
We can manage both. Appending to, or creating a file can cause the directory to appear in <readfds>, Deleting a file can cause the directory to appear in <writefds>, and any other modification can cause it to appear in <exceptfds>.
---- ---- ---- David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 812896 Project Leader, Process Information Systems Mobile: (+44) 976 658355 Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK. finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
- 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
| |