Re: Async disk i/o in Linux

From: Tigran Aivazian (tigran@veritas.com)
Date: Mon Jul 17 2000 - 15:12:44 EST


On Mon, 17 Jul 2000, Ramon Garcia Fernandez wrote:
> Or it supports select with them?

Linux always (for as long as select(2) existed?) supported select(2) on
regular files. But why would you use it? select(2) on regular files is
absolutely useless and uninteresting (imagine a person who always says
"YES!" to any question you ask).

The reason why they are uninteresting is from Single UNIX v2 spec that
dictates:

      File descriptors associated with regular files always select true
      for ready to read, ready to write, and error conditions.

Regards,
Tigran

-
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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:10 EST