Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 19:58:12 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        David.Bear@asu.edu, freebsd-questions@freebsd.org
Subject:   Re: multiple dumps to single tape
Message-ID:  <200312161958.12413.malcolm.kay@internode.on.net>
In-Reply-To: <20031215165555.J32172@asu.edu>
References:  <20031215165555.J32172@asu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312161958.12413.malcolm.kay>