On Mon, 27 Oct 2008, Alexey Dobriyan wrote: > Petr: please confirm. > > Al, Christoph: could we please find a way to distinguish reads that > come from pread(2) from reads that come from read(2). You can compare the offset with file->f_pos, and if not equal, do an lseek, read, lseek-back. Or more efficiently, save-state, lseek, read, restore-state. Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html