From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 01:42:30 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 BA97D16A4CE for ; Tue, 16 Dec 2003 01:42:30 -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 3C25A43D33 for ; Tue, 16 Dec 2003 01:42:29 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])hBG9gOHx005345; Tue, 16 Dec 2003 20:12:25 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "DG" , Date: Tue, 16 Dec 2003 20:12:24 +1030 User-Agent: KMail/1.4.3 References: <003601c3c37a$99ac05c0$5401a8c0@borg.fielden.com.au> In-Reply-To: <003601c3c37a$99ac05c0$5401a8c0@borg.fielden.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312162012.24355.malcolm.kay@internode.on.net> Subject: Re: how to append 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:42:30 -0000 On Tue, 16 Dec 2003 12:46, DG wrote: > On the subject of multiple dumps, how does one append several dumps to = the > same tape? The dump man page does not seem to indicate an 'append' opt= ion. > When you open a tape for writing (or reading) then writing (or reading) b= egins=20 at wherever the tape happens to be positioned. So one just has to ensure = that=20 the tape is not rwound after the first dump is written. This is achieved = by=20 writing the first dump to device /dev/nsa0 (or some other beginning with = 'n' which means no re-wind on close). If the tape has been rewound (perhaps to remove the cartridge for storage= ) then you can reposition the tape using 'mt fsf' followed by the number of= =20 dumps already written to the tape. If a tape has been used a number of times there is no way for the system = to=20 reliably distinguish the end of the valid information from futher junk th= at=20 may have been written in previous use -- thus for normal tape drives an 'append' command would be quite flakey. Malcolm Kay