Re: O_DIRECT foolish question

From: Bruno Diniz de Paula (
Date: Wed Feb 12 2003 - 18:49:35 EST

On Wed, 2003-02-12 at 18:38, Chris Wedgwood wrote:

> Seems to. I get 0 the 2nd time about, presumably this is EOF but
> arguably it should return something else.

It didn't work for me. See the output:

diniz@urca:/var/tmp$ gcc -Wall od.c
diniz@urca:/var/tmp$ cp od.c test
diniz@urca:/var/tmp$ ./a.out
read 0 bytes

What is your partition type? ext2?


Bruno Diniz de Paula <>
Rutgers University

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:45 EST