From owner-freebsd-arch@FreeBSD.ORG Thu Nov 10 06:52:17 2011 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B03B21065674; Thu, 10 Nov 2011 06:52:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9078FC19; Thu, 10 Nov 2011 06:52:14 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id pAA6kJ59013938 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Wed, 9 Nov 2011 23:46:20 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <6E287E90-AA62-4776-A09D-394D69C9494F@kientzle.com> Date: Wed, 9 Nov 2011 23:46:15 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1B4CA8AC-8798-40CD-9379-FA0F379558DE@bsdimp.com> References: <201110281426.00013.jhb@freebsd.org> <4EB2C9DD.9090606@FreeBSD.org> <20111104160319.GD6110@elvis.mu.org> <201111080800.32717.jhb@freebsd.org> <6E287E90-AA62-4776-A09D-394D69C9494F@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Wed, 09 Nov 2011 23:46:21 -0700 (MST) Cc: Bruce Cran , Ed Schouten , Jilles Tjoelker , Alfred Perlstein , arch@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: [PATCH] fadvise(2) system call X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 06:52:17 -0000 On Nov 9, 2011, at 11:03 PM, Tim Kientzle wrote: > Anyone know how to properly request a "skip forward" > on tape drives? That's one of the missing pieces. I thought that you couldn't seek(2) on tape drives. You must read(2) = the data. At least for this application, since a tar file would be just = one file on the tape. If you want to see to the next file mark, you = need to use an ioctl to get there, or read a lot. Warner