*BSD News Article 51837


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!wizard.pn.com!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: dump: values for DAT drive
Date: 28 Sep 1995 08:57:31 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 17
Message-ID: <44dkhb$rp7@uriah.heep.sax.de>
References: <ts-2709952311260001@mac.infodirekt.com>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Thomas Schreiber <ts@infodirekt.com> wrote:
>How do i calculate the correct DUMP values for the flags b, d and s for a
>HP 16GB (compressed) DAT drive?

Don't use d and s.  Use b for the intented block size (it's important
for variable-length capable drives like DAT and QIC >= 525 to use the
same block size for writing and reading the tape), e.g. 16 (stands for
16 KB).  Then use B to tell about the entire tape length, in your case
16000000.  Everything inside dump/restore is measured in so-called
"tape blocks" of 1 KB each.

	dump 0ubBf 16 16000000 /dev/rst0 usr
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)