Article View: comp.sys.ibm.pc.misc
Article #6129Re: Help! How to get tar to read UNIX archives??
From: Frank Slootweg CRC
Date: Thu, 12 Nov 1992 08:53
Date: Thu, 12 Nov 1992 08:53
24 lines
1646 bytes
1646 bytes
mppu3@syma.sussex.ac.uk (Conor McMenamin) writes: > Does anyone out there use Unix tar on 1.44Mb floppies to > transfer files to a PC? If so could you tell me how to do it, because I > keep getting directory checksum errors and the like on archives that are > fine on the 'side' (Unix or PC) that created them. I have tried a few > TAR's on the PC, of which tar4dos gets closest. Close but no cigar that > is.... For most tar's "directory checksum error" normally means that the blocking factor during read was not the same as during write. Check out the documentation on the tar "b" option on both platforms involved, and select a block size which is compatible. If you only get "directory checksum error" at the *end* of the read (t or x), i.e. the first files are OK but the last (few) not, then probably your writing tar is broken. All blocks in the archive should be the same size, but some broken tar's truncate the last block. You can workaround this by piping the output to dd(1) with "conv=sync" (and of course the right "bs="). Hope this helps. Frank Slootweg, UNIX support person and PC (with MKS Toolkit) owner.
Technical Details
Message-ID:
<26790026@hpuamsa.neth.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!hpbbn!hpuamsa!franksReferences:
<1992Nov11.090352.5964@syma.sussex.ac.uk>Show Full Headers
Complete Article Headers
From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC) Date: Thu, 12 Nov 1992 08:53:05 GMT Subject: Re: Help! How to get tar to read UNIX archives?? Message-ID: <26790026@hpuamsa.neth.hp.com> Organization: Hewlett-Packard, The Netherlands Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!hpbbn!hpuamsa!franks Newsgroups: comp.sys.ibm.pc.misc References: <1992Nov11.090352.5964@syma.sussex.ac.uk> Lines: 24