Subject: Re: A few mt(1) questions
To: None <netbsd-users@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: netbsd-users
Date: 03/18/2002 22:49:47
On Mon, Mar 18, 2002 at 11:28:52PM -0500, Brian A. Seklecki wrote:

> There's got to be an easier way to do it [estimate tape size] using a
> standard set of tools (dd, cpio, dump, tar, etc.).  I'll figure it out
> eventually.  I'm presently scouring Google and other mailing list
> archives.

dd if=/dev/zero of=/dev/rmt0

does the trick for me under 1.4 and 1.5 on my pmaxen with TZK10 QIC
drive.  I could've sworn I also did this on i386 with an exabyte as
well.  maybe using the raw device is the trick?

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com