Xref: utzoo comp.unix.questions:10209 comp.unix.wizards:12397 Path: utzoo!yunexus!ists!mike From: mike@ists (Mike Clarkson) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Writing file containing NULL byte with 'dd' to a Exabyte Tape Summary: RTFM, bs=2b Keywords: exabyte,tape,errors Message-ID: <254@ists> Date: 14 Nov 88 07:15:11 GMT Article-I.D.: ists.254 References: <558@gt-eedsp.UUCP> Organization: Institute for Space and Terrestrial Science Lines: 24 In article <558@gt-eedsp.UUCP>, jensen@gt-eedsp.UUCP (P. Allen Jensen) writes: > I have been having a problem with an exabyte tape on a Multiflow/Trace > system. When writing a binary file which contains bytes whose value > is NULL, I get a tape-write error. > > dd if=binary.data of=/dev/rmt5 > > Is this because of the representation of EOF or a bug of some kind ? > Tar and dump work fine, cp has the same problem as dd. The exabyte uses 1024 byte fixed blocks. Is your dd defaulting to an odd number of 512 blocks? Try specifying bs=2b or some such incantation. Mike. -- Mike Clarkson mike@ists.UUCP Institute for Space and Terrestrial Science mike@ists.yorku.ca York University, North York, Ontario, uunet!mnetor!yunexus!ists!mike CANADA M3J 1P3 +1 (416) 736-5611