Path: utzoo!attcan!uunet!decwrl!shelby!portia!name From: name@portia.Stanford.EDU (tony cooper) Newsgroups: comp.unix.aux Subject: Re: Multiple cpio/tar files on Apple Tape Message-ID: <10539@portia.Stanford.EDU> Date: 26 Mar 90 20:22:43 GMT References: <1990Mar26.062901.8016@noao.edu> Sender: tony cooper Organization: Stanford University Lines: 21 In article <1990Mar26.062901.8016@noao.edu> tody@noao.edu (Doug Tody X217) writes: >> Hello, >> Has anyone out there used the Apple Tape Cartridge to store >> multiple tar/cpio file archives? It is clear that the "norewind" >> device must be used, but does the tape driver write and eof mark? > >Yes. All unix tape drivers automatically write an EOT (double tape mark) >when a file opened for writing is subsequently closed. If closed no-rewind, >the tape is left positioned between the file marks and the next file will >overwrite the second tape mark, giving you an EOF between the files (those I don't know if Tody is using logic to say that the Apple tc tape driver write EOT's. But the premise is wrong. It is not true that all unix tape drivers behave as described. To write two tape marks and to position the tape between filemarks requires that the tape drive can backspace. The Apple tape drive can backspace and uses this method for EOT's. But not all drives can backspace. The TEAC drives cannot and so they use a different mechanism to recognize the end of tape. Tony Cooper tony@popserver.stanford.edu