From owner-freebsd-isp Thu Jul 30 07:51:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12014 for freebsd-isp-outgoing; Thu, 30 Jul 1998 07:51:40 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from hack.babel.dk (hack.babel.dk [194.255.106.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12008 for ; Thu, 30 Jul 1998 07:51:38 -0700 (PDT) (envelope-from shredder@hack.babel.dk) Received: from localhost (shredder@localhost) by hack.babel.dk (8.9.0/8.9.0) with SMTP id QAA12901 for ; Thu, 30 Jul 1998 16:51:34 +0200 (CEST) Date: Thu, 30 Jul 1998 16:51:33 +0200 (CEST) From: chrw Reply-To: chrw To: freebsd-isp@FreeBSD.ORG Subject: gnu cpio appending to tape Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have a problem which really should be straightforward but it keeps bugging me. I want to append files to an existing gnu cpio archieve on tape. I write an cpio archieve to the tape using the no rewind device gfind . -blah | gcpio -ov > /dev/rmt/tps0d6nr mt status Controller: SCSI Device: HP: C1533A A612 9 Status: 0x20260 Drive type: DAT Media : READY, writable, not at BOT, block 1 it doesnt rewind the tape, so now i want to find a new set of files and append them at the current position of the tape, into the existing archieve. gfind . -blahblah | gcpio -ov --append -O /dev/rmt/tps0d6nr - this however produces this msg: Found end of tape. Load next tape and press RETURN. Apparently cpio writes an end of tape mark or end of archieve mark, which cpio interpretes as "no-more-space" left on tape .. is there any way of ignoring this mark or some other way to bypass it? Comments are very welcome, or alternative ways to implement a working append-to-tape routine. The streamer is HP scsi and it supports append operations, it does NOT run on a fbsd based machine, so this mail might be way off-topic .. flame-away :> CW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message