lkml.org 
[lkml]   [1998]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: VFS/fcntl() feature [PATCH]
Date
From

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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.037 / U:1.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site