Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!husc6!rice!sun-spots-request From: pvo1478@oce.orst.edu (Paul V. O'Neill) Newsgroups: comp.sys.sun Subject: Re: 1/4 inch cartridge tape drives & tar Message-ID: <8902140441.AA02740@sapphire.oce.orst.edu> Date: 22 Feb 89 20:03:36 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 36 Approved: Sun-Spots@rice.edu Original-Date: Mon, 13 Feb 89 20:41:39 PST X-Sun-Spots-Digest: Volume 7, Issue 166, message 6 of 15 >Is there a mt command to skip to empty tape? Seems a risky way >to archive things to me. Hmmmm.... don't know why, but this doesn't work: __________ yourhost% mt rewind yourhost% mt fsf 1000 /dev/nrst8 fsf 1000 failed: I/O error yourhost% mt status st0: warning, using alternate tape density SCSI tape drive: sense key= 0x8 residual= 0 retries= 0 file no= 0 block no= 0 __________ BUT, this does: __________ yourhost% mt rewind yourhost% mt fsf 1 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< yourhost% mt fsf 1000 yourhost% tar cvf /dev/nrst8 .cshrc a .cshrc 16 blocks yourhost% mt rewind yourhost% mt fsf 24 (I knew there were already 24 files on this tape) yourhost% tar xvf /dev/nrst8 x .cshrc, 7829 bytes, 16 tape blocks (Sure enough--appended to end of tape) __________ (4/110, SunOS 4.0) Paul O'Neill pvo@oce.orst.edu Coastal Imaging Lab OSU--Oceanography Corvallis, OR 97331 503-754-3251