*BSD News Article 55617


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!mel.dit.csiro.au!atmos!jbj
From: jbj@atmos.dar.csiro.au (JENSEN Jorgen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: dd and partial blocks on tapes
Date: 22 Nov 1995 06:37:11 GMT
Organization: CSIRO DIT ( Melb. )
Lines: 18
Message-ID: <48ugen$iph@weever.mel.dit.csiro.au>
NNTP-Posting-Host: atmos.dar.csiro.au
X-Newsreader: TIN [version 1.2 PL2]

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.

What am I doing wrong, or is the Future Domain (sea0) driver faulty?

Many thanks, Jorgen B. Jensen