Re: O_DIRECT foolish question

From: Bruno Diniz de Paula (diniz@cs.rutgers.edu)
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
diniz@urca:/var/tmp$

What is your partition type? ext2?

Bruno.

-- 
Bruno Diniz de Paula <diniz@cs.rutgers.edu>
Rutgers University


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



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