From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 15:10:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFAAE16A4CE for ; Tue, 4 Nov 2003 15:10:36 -0800 (PST) Received: from post5.inre.asu.edu (post5.inre.asu.edu [129.219.110.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1F2A43FDF for ; Tue, 4 Nov 2003 15:10:35 -0800 (PST) (envelope-from David.Bear@asu.edu) Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF V6.1-1X6 #30769) id <0HNU00D01OCW1K@asu.edu> for freebsd-questions@freebsd.org; Tue, 04 Nov 2003 16:10:08 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) by asu.edu (PMDF V6.1-1X6 #30769) with ESMTP id <0HNU009GNOCWYF@asu.edu> for freebsd-questions@freebsd.org; Tue, 04 Nov 2003 16:10:08 -0700 (MST) Received: from moroni.pp.asu.edu (moroni.pp.asu.edu [129.219.120.183]) (8.12.10/8.12.10/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id hA4NA8S8013550 for ; Tue, 04 Nov 2003 16:10:08 -0700 (MST) Received: (from iddwb@localhost) by moroni.pp.asu.edu (8.11.6/8.11.6) id hA4NA8s01488 for freebsd-questions@freebsd.org; Tue, 04 Nov 2003 16:10:08 -0700 Date: Tue, 04 Nov 2003 16:10:08 -0700 From: David Bear To: freebsd-questions@freebsd.org Message-id: <20031104161008.E32148@asu.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5.1i Subject: detecting the size of a tarball X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.Bear@asu.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 23:10:36 -0000 I have a 100 mg zip drive that I'm writing to as a raw device -- no file system -- just 'tar cvf /dev/afd0 stuff'. I am curious if there is a way to find out how big the tarball is on this kind of thing. I'm guessing maybe some kind of seek to EOF but not sure how it might be accomplished. any idea's? -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing"