From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 04:44:44 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 20E0716A4CE for ; Wed, 5 Nov 2003 04:44:44 -0800 (PST) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id F19FE43FEA for ; Wed, 5 Nov 2003 04:44:41 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 64765 invoked by uid 555); 5 Nov 2003 15:44:40 +0300 Received: from hal.localdomain (213.80.149.218) by t-k.ru with TeleMail/2 id 1068036279-64738 for david.bear@asu.edu; Wed, Nov 5 15:44:39 2003 +0300 (MSK) Date: Wed, 5 Nov 2003 15:39:08 +0300 From: Sergey 'DoubleF' Zaharchenko To: David.Bear@asu.edu Message-Id: <20031105153908.6f855a12.doublef@tele-kom.ru> In-Reply-To: <20031104161008.E32148@asu.edu> References: <20031104161008.E32148@asu.edu> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__5_Nov_2003_15_39_08_+0300_s+kvdJ72VYNFnjU4" cc: freebsd-questions@freebsd.org Subject: Re: detecting the size of a tarball X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 12:44:44 -0000 --Signature=_Wed__5_Nov_2003_15_39_08_+0300_s+kvdJ72VYNFnjU4 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 04 Nov 2003 16:10:08 -0700 David Bear probably wrote: > 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? What about "tar cvf - stuff|dd of=/dev/afd0"? dd will tell you how much has been copied. -- DoubleF "My doctor told me to stop having intimate dinners for four. Unless there are three other people." -- Orson Welles --Signature=_Wed__5_Nov_2003_15_39_08_+0300_s+kvdJ72VYNFnjU4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/qO97wo7hT/9lVdwRAsDPAJ4tV0wtguxIp8Q17/ESocaj7I0mhgCeLgwd C/PJiWGwo6NB0d2kgQ0vPwQ= =p7Tm -----END PGP SIGNATURE----- --Signature=_Wed__5_Nov_2003_15_39_08_+0300_s+kvdJ72VYNFnjU4--