cvs commit: src/lib/libarchive archive_read_open_fd.c archive_read_open_filename.c

Andrey Chernov ache at nagual.pp.ru
Tue Jun 19 04:48:51 UTC 2007


On Mon, Jun 18, 2007 at 09:20:57PM -0700, Tim Kientzle wrote:
>  into whether a particular lseek() request is acceptable.
>  Many devices can do relative but not absolute seeks.

Ah, I understand the problem and it is not related to drivers but 
misunderstanding what lseek does. lseek changes _virtual_ pointer, not 
physical. That's driver task to change physical pointer accordingly on the 
next I/O operation. That's driver task to do it relative or absolute, per 
what device can.

-- 
http://ache.pp.ru/


More information about the cvs-src mailing list