lkml.org 
[lkml]   [2003]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: O_DIRECT foolish question
From
Date
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.050 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site