From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621431.tru64-unix-managers.marc@archive.invalid> From: Dan Notov Date: Mon, 17 Jun 1996 23:32:29 +0000 To: tru64-unix-managers Subject: SUMMARY: SGI tar tapes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621431 First off, thanks to many rapid responses I received. We received the correct answer in time to get the work done before deadline. The answer was finding the correct blocking factor for the tape. This tape was blocked at 204800 bytes per block. A red herring was the byte-swapping issue. As one respondant mentioned, IRIX has done byte-swapping on all Post-5.0 releases. Also, a kind contributer provided a small C program that will read a tape & determine the blocking factor for you. I have included the code below. Thanks again! /danno /* From: alan@nabeth.cxo.dec.com */ #include main() { char buf[1024*1024] ; int rc ; rc = read(fileno(stdin), buf, sizeof(buf)) ; if( rc == -1 ) ; /* an error */ else printf("Block size = %d\n", rc) ; return 0 ; } -- +-----------------------------------------------------------+ | Daniel S. Notov +-------------+ Consultant @ DEC | | mailto:danno@large.com +------+ +1-303-766-2680 V | +-----------------------------------------------------------+ | "Certainly the game is rigged. Don't let that stop you; | | if you don't bet, you can't win." -Lazarus Long | +-----------------------------------------------------------+