Top Document: SGI hardware Frequently Asked Questions (FAQ) Previous Document: -38- How should I set up my tape drive so tar's 'r' and 'u' options work? Next Document: -40- Why can't I write a tape on my DEC DAT drive and read it on my SGI? See reader questions & answers on this topic! - Help others by sharing your knowledge Date: 04 May 1994 00:00:01 EST Glenn Randers-Pehrson <glennrp@BRL.MIL> says: You may be trying to read a non-byte-swapped tape on a byte-swapped device, or vice versa. Tar tapes written on SGI's QIC cartridge drive, using the default device, /dev/tape, are in byte-swapped format. Sun tapes are usually not byte-swapped. On the IRIS, you can read non-byte-swapped tapes with tar -xvf /dev/tapens and you can write non-byte-swapped tapes destined for a Sun with tar -cvf /dev/tapens [directory_or_filename[s]] On the SUN, you can read byte-swapped tapes with dd if=/dev/rmt0 conv=swab | tar -xvf - Read the tar(1) (DIAGNOSTICS section) and tps(7M) manpages for the gory details. DAT tapes may have an additional problem: SGI DATs have a default blocking factor of 512 and HP DATs have a maximum blocking factor of 128. You can either rewrite your tape on the SGI with tar cvbf 20 /dev/tape files and read it on the HP (or whatever) with tar xvbf 20 /dev/tape or you can use 'dd' to translate like so, dd if=/dev/tape ibs=512b of=- obs=20b | tar xvf - where '512' is whatever blocking factor you used to write the tape. User Contributions:Top Document: SGI hardware Frequently Asked Questions (FAQ) Previous Document: -38- How should I set up my tape drive so tar's 'r' and 'u' options work? Next Document: -40- Why can't I write a tape on my DEC DAT drive and read it on my SGI? Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: sgi-faq@viz.tamu.edu (The SGI FAQ group)
Last Update March 27 2014 @ 02:12 PM
|
Comment about this article, ask questions, or add new information about this topic: