On Wed, 2010-04-21 at 21:11 -0400, Doug McNash wrote: > Yep, but Chris says he did an lseek to write over the file again which > is probably fast enough to only write over the buffer, not the disk. I neglected to say that in the for loop I did a fsync(2). That is supposed to flush the buffers to disk. Does it really though?