From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 01:28:22 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 4C0AA16A4CE for ; Tue, 16 Dec 2003 01:28:22 -0800 (PST) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 644D843D4C for ; Tue, 16 Dec 2003 01:28:18 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])hBG9SCHx095152; Tue, 16 Dec 2003 19:58:13 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: David.Bear@asu.edu, freebsd-questions@freebsd.org Date: Tue, 16 Dec 2003 19:58:12 +1030 User-Agent: KMail/1.4.3 References: <20031215165555.J32172@asu.edu> In-Reply-To: <20031215165555.J32172@asu.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312161958.12413.malcolm.kay@internode.on.net> Subject: Re: multiple dumps to single tape 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: Tue, 16 Dec 2003 09:28:22 -0000 On Tue, 16 Dec 2003 10:25, David Bear wrote: > if I am writing multiple dumps to a single tape, is it wise to have mt > write a setmark after dumping each file system? When a process closes the tape device, if any data has been written, the driver causes a FileMark to be written. If you opened the device as /dev/nsa0 then mt would write a second FileMark so on reading=20 back you would find a zero length file between consecutive dumps. (if you use /dev/sa0 then the second FileMark will be written at the=20 beginning of the tape effectively discarding previously written dump) Malcolm Kay