Path: utzoo!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!ukc!axion!delluk!tim From: tim@dell.co.uk (Tim Wright) Newsgroups: comp.unix.sysv386 Subject: Re: Tape trivia (was Re: SCO/mountain streamer) Message-ID: Date: 11 Mar 91 09:27:33 GMT References: <6806@spdcc.SPDCC.COM> Sender: usenet@delluk.uucp (Usenet posting login) Organization: Dell Computer Corp., Bracknell, UK Lines: 27 In <6806@spdcc.SPDCC.COM> rbraun@spdcc.COM (Rich Braun) writes: >This is a related question, regarding cpio under SCO and AIX: > How do I read tapes across two machines with byte-swapped > architectures? >If I create a tape (or disk archive) with cpio under SCO, and another >under AIX, then swap the two tapes, neither machine can read the other's >format. If I "od" the tape dump, I see that the header bytes seem to >be swapped for each 16-bit short word. Try $ dd if=your_tape_dev bs=20b conv=swab | cpio ... That will swap alternate bytes. I agree that the -c option ought to work. I'm fairly sure I've transferred between a SUN 3 and Sys V/386 (different byte order), so is cpio under AIX broken ? Does AIX use the extended cpio headers (a la SVR4), if so you would need to add '-H odc' to force it to write compatible headers. Tim -- Tim Wright, Dell Computer Corp., Bracknell | Domain: tim@dell.co.uk Berkshire, UK, RG12 1RW. Tel: +44-344-860456 | Uucp: ...!ukc!delluk!tim Nobody ever said I was charming before. They said, "Rimmer, you're a total git" - Red Dwarf, "Camille".