From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 13:27:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B46C106566B for ; Sun, 18 Oct 2009 13:27:40 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id F2FBF8FC08 for ; Sun, 18 Oct 2009 13:27:39 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n9IDQhVD068616; Sun, 18 Oct 2009 09:26:43 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n9IDQhwv068615; Sun, 18 Oct 2009 09:26:43 -0400 (EDT) (envelope-from jerrymc) Date: Sun, 18 Oct 2009 09:26:42 -0400 From: Jerry McAllister To: Tim Judd Message-ID: <20091018132642.GA68596@gizmo.acns.msu.edu> References: <1255727601.4640.4.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> <20091016213732.GA61433@gizmo.acns.msu.edu> <20091017232131.GB66093@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: small question about tape-based dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 13:27:40 -0000 On Sat, Oct 17, 2009 at 06:49:02PM -0600, Tim Judd wrote: > On 10/17/09, Jerry McAllister wrote: > > > > You do not need to. dump alrady writes that when it finishes each time. > > If you to that, you will get a second one at that location. > > > > You do not need to do the rewind and mt fsf between each dump. I just > > do it to make it very clear to myself in my scripts what I am expecting > > and that I am doing it right. > > > > ////jerry > > > > If dump is the tool for tapes, and tar is named after tape archives... > > Do both of these utilities write the *proper* EOF to whatever medium > it's writing to? > > I bring this up, because dump can also write to a file on a formatted > FS. Does the file end with this same EOF? What does tar do? EOF means something completely different on a file system than it does on a tape. So, yes, the system knows where the file ends on both, but it is done differently. ////jerry > > Why have a mt weof function if it's useless? I'm loosing the logic in > this one, trying to make sure things work as they should. I admit > tapes on bsd are so foreign to me, I might as well be speaking > $another-language. It is not useless. It just isn't necessary in that situation. Remember, mt(1) is used on more than just dumps. ////jerry > > > Please help.