lkml.org 
[lkml]   [1998]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VFS/fcntl() feature [PATCH]
On Mon, 31 Aug 1998, Stephen C. Tweedie wrote:

> Hi,
>
> On Sat, 29 Aug 1998 15:49:05 +0100, Jamie Lokier
> <lkd@tantalophile.demon.co.uk> said:
> > I do think poll() is the ideal place to add the extended functionality,
> > not select(), as poll() has scope for new types of events to be added.
> > Also, programs which use this mechanism would like to know at compile
> > time if it's supported. Relying on unusual behaviour of select() on
> > directories would mean these programs compile fine on other OSes or even
> > older versions of Linux, but don't work properly.
>
> Yes. Any program using these features is going to have to check for
> them at run-time anyway, because even if you compile under a kernel
> which has the functionality, there's no guarantee that the program won't
> get run under an older kernel.

More then that: they may not be available on all file systems. (Think
about NFS.)

--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)



-
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.031 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site