Path: utzoo!attcan!uunet!jarthur!brutus.cs.uiuc.edu!apple!rick From: rick@Apple.COM (Rick Auricchio) Newsgroups: comp.unix.aux Subject: Re: Multiple cpio/tar files on Apple Tape Message-ID: <39834@apple.Apple.COM> Date: 26 Mar 90 18:23:46 GMT References: Organization: Apple Computer, Inc. Lines: 28 In article MATLEVAN@EKU.BITNET (Jerry LeVan) 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? >Should the "mt" command be used to write eof marks after each >archive? The driver correctly writes TWO EOF marks, then backspaces between them, so that if you continue with another file you get the proper single EOF between files, and two at the end of all files. Exact emulation of 9track tape. Is there any way to determine how many archives are stored >on the tape... Keep doing "mt fsf 1" commands (on the norewind device) and "mt status" commands and watch for the block to bump by only one block (which means you hit another eof instantly). Or, simply run dd >/dev/null, counting the dd commands until one returns "0+0 blocks in". That last one is hitting an instant EOF at the double EOF. -- -- Rick Auricchio, Apple Computer Inc, 20525 Mariani Av MS 58A Cupertino CA 95014 sun!apple!rick OR rick@apple.COM Mooney N894AR (408) 974-4227 Never eat prunes when you're famished. My opinion is my own. My employer? They use a windsock and a fire extinguisher.