*BSD News Article 91035


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!news.maxwell.syr.edu!mr.net!newshub.tc.umn.edu!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need help with dump parameters
Date: 13 Mar 1997 23:41:53 GMT
Organization: Private BSD site, Dresden
Lines: 37
Message-ID: <5ga3c1$pp@uriah.heep.sax.de>
References: <5g87ob$arr@sloth.swcp.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37032

crs@swcp.com (Charlie Sorsby) wrote:

> Sun recommended (under SunOS 4.x) the following:
> 
> dump 0cusf 1500 /dev/rst? <filesystem>
> 
> Man dump shows no "c" option under FreeBSD so I eliminated that

The `c' option was there, however.  (I've also documented it now.)
The 1500 was still too little, 15000 seems to be more realistic for a
150 MB cartridge:

j@uriah 109% /sbin/dump 0cusf 15000 /dev/null /var
  DUMP: Date of this level 0 dump: Fri Mar 14 00:38:57 1997
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0h (/var) to /dev/null
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 107952 tape blocks on 0.71 tape(s).
...

> Where does one obtain information for the proper parameters for
> dump?

They are highly bogus anyway.  Any large enough number will do it.

In FreeBSD 2.2 and above, there will be the `a' option, meaning to
make all tape length calculations `automatic' (which doesn't mean
anything else than not doing tape length calculations at all, but rely
on the tape driver reporting EOF).

-- 
cheers, J"org

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