Date: Wed, 5 Nov 2003 15:39:08 +0300 From: Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru> To: David.Bear@asu.edu Cc: freebsd-questions@freebsd.org Subject: Re: detecting the size of a tarball Message-ID: <20031105153908.6f855a12.doublef@tele-kom.ru> In-Reply-To: <20031104161008.E32148@asu.edu> References: <20031104161008.E32148@asu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <David.Bear@asu.edu> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031105153908.6f855a12.doublef>