From owner-cvs-src@FreeBSD.ORG Tue Jun 19 04:48:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E364C16A41F; Tue, 19 Jun 2007 04:48:50 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 5B94613C45E; Tue, 19 Jun 2007 04:48:50 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l5J4mmOR046548; Tue, 19 Jun 2007 08:48:48 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nagual.pp.ru; s=default; t=1182228528; bh=aXzmJpGW4tlPC9T5DlspaTBbdHGhuDeXGEaUNa4 oSZ4=; l=515; h=Received:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=lsD8TEX+wEAkQNviR2RM 2tM/XKTpAU423N4ePohWZyLsK2XnJ9TjpeyIzGRGiw/Y1uF4Anyx6faZk+4sSiPHFsZ q9jpHq17/WowQCx4IxyU4G+GDu0JGd4nNkT6zwcfzRRM1MrU91a2YeDbJPgOWiNuPvz xwI09q/i9630/Y26Q= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l5J4mlf7046547; Tue, 19 Jun 2007 08:48:47 +0400 (MSD) (envelope-from ache) Date: Tue, 19 Jun 2007 08:48:46 +0400 From: Andrey Chernov To: Tim Kientzle Message-ID: <20070619044845.GA46485@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Tim Kientzle , Bruce Evans , Colin Percival , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200706180036.l5I0asac023540@repoman.freebsd.org> <4675DFC8.8060108@freebsd.org> <46760F7A.8020209@freebsd.org> <20070618195605.J43008@delplex.bde.org> <467759A9.9040602@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <467759A9.9040602@freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Colin Percival , Bruce Evans Subject: Re: cvs commit: src/lib/libarchive archive_read_open_fd.c archive_read_open_filename.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2007 04:48:51 -0000 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/