From owner-freebsd-questions@FreeBSD.ORG Thu May 1 15:23:57 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 34F0037B401 for ; Thu, 1 May 2003 15:23:57 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83D7143F75 for ; Thu, 1 May 2003 15:23:56 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id 92E887; Thu, 1 May 2003 17:23:55 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id CB49C78C4A; Thu, 1 May 2003 17:23:54 -0500 (CDT) Date: Thu, 1 May 2003 17:23:54 -0500 From: "Jacques A. Vidrine" To: Dan Nelson Message-ID: <20030501222354.GA58218@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Dan Nelson , freebsd-questions@FreeBSD.org References: <20030501213842.GA58002@madman.celabo.org> <20030501220317.GA58262@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030501220317.GA58262@dan.emsphone.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 cc: freebsd-questions@FreeBSD.org Subject: Re: huge file, spanning multiple tapes 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: Thu, 01 May 2003 22:23:57 -0000 On Thu, May 01, 2003 at 05:03:18PM -0500, Dan Nelson wrote: > How about tar? That lets you specify a change-volume script so you can > change tapes when you're writing, and when you read the tape later you > can specify the --to-stdout flag so it doesn't write to disk. Ah, I wasn't aware of the `--to-stdout' business. That may do the trick, though it is kind of hackish. It only works because I already have the file on disk, it seems. > If you can't have any headers, I don't want them, but in this case it doesn't screw me up. > you can always tell dd to only write > 33GB per tape: > > gzip < file | > ( > dd of=/dev/ersa0 bs=64k count=$((33000000/64)) > echo "please insert next tape" > head -1 < /dev/tty > /dev/null > ) We don't know how much the tape would really hold. It will likely hold a good deal more than 33GB. Thanks for the ideas! Cheers, -- Jacques Vidrine . NTT/Verio SME . FreeBSD UNIX . Heimdal nectar@celabo.org . jvidrine@verio.net . nectar@freebsd.org . nectar@kth.se