*BSD News Article 55674


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!hookup!gatech!europa.chnt.gtegsc.com!news.kreonet.re.kr!news.dacom.co.kr!newsfeed.internetmci.com!info.ucla.edu!library.ucla.edu!agate!tfs.com!mailhub.tfs.com!julian
From: julian@mailhub.tfs.com (Julian Elischer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: dd and partial blocks on tapes
Date: 23 Nov 1995 06:24:48 GMT
Organization: TRW Financial Systems, Oakland, CA
Lines: 46
Message-ID: <49143g$9ec@times.tfs.com>
References: <48ugen$iph@weever.mel.dit.csiro.au>
NNTP-Posting-Host: mailhub.tfs.com

In article <48ugen$iph@weever.mel.dit.csiro.au>,
JENSEN Jorgen <jbj@atmos.dar.csiro.au> wrote:
:On an ISC unix 4.1 system I generate a tape file by:
:    dd if=input_file bs=20b of=/dev/tape
:where /dev/tape is a QIC-02 Viper 150 Mb drive.
:
:On completion of the write, dd reports the whole+partial blocks.
:I know that there is a partial block at the end of the tape volume.
:
:When reading the tape of a FreeBSD 2.1 Dell laptop with Future Domain
:SCSI port (sea0) I read the tape with:
:    dd if=/dev/rst0 bs=20b of=output_file
:
:but now dd only lists the number of whole blockc + zero partial blocks.
Oh dear.....
tell me, can you perform the following test....

dd if=/etc/hosts of=/dev/rst0 bs=64k
dd if=/dev/rst0 of=/tmp/xxx bs=64k

what size is the resulting file /tmp/xxxx?
(what size is the original?)

what does dd say?

what does 'mt -f /dev/rst0 status' say?

:
:What am I doing wrong, or is the Future Domain (sea0) driver faulty?
Possibly but not probably.. (if it is it'd be a driver problem
rather than a h/w problem I think..)


:
:Many thanks, Jorgen B. Jensen
:
:
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 300 lakeside Dr. oakland CA. \___   ___ | country !
+- X_.---._/  USA+(510) 645-3137(wk)           \_/   \\          ><DARWIN>
          v                                                        LL  LL