From owner-freebsd-hackers Tue Sep 2 21:07:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA15089 for hackers-outgoing; Tue, 2 Sep 1997 21:07:06 -0700 (PDT) Received: from nico.telstra.net (nico.telstra.net [139.130.204.16]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA15059; Tue, 2 Sep 1997 21:06:50 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by nico.telstra.net (8.6.10/8.6.10) with ESMTP id OAA20654; Wed, 3 Sep 1997 14:06:25 +1000 Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id NAA08453; Wed, 3 Sep 1997 13:36:10 +0930 (CST) Message-ID: <19970903133610.20557@lemis.com> Date: Wed, 3 Sep 1997 13:36:10 +0930 From: Greg Lehey To: Gianmarco Giovannelli Cc: questions@FreeBSD.ORG Subject: Re: a c at the place of x (tar error) References: <3.0.3.32.19970902224720.007e6b50@giovannelli.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <3.0.3.32.19970902224720.007e6b50@giovannelli.it>; from Gianmarco Giovannelli on Tue, Sep 02, 1997 at 10:47:20PM +0200 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Sep 02, 1997 at 10:47:20PM +0200, Gianmarco Giovannelli wrote: > > I have done an error with a tape with a tar backup on it. > I want to restore a lot of data but instead of the x (xzv) I used the c > (czv) as option ... For the next time: set write protect. > Now I am not able to restore anything from this tape even if I suddenly > break the wrong command... (so a lot of data are still on the tape..). May > I do something to recover at least some files ? It's a problem. Even though you stopped the command quickly, you have written a partial archive, followed by two tape marks. The tape driver will not skip past these marks, which signify that nothing more is present on the tape. On the other hand, it's obvious that there are exceptions to this rule. I'm copying -hackers on this one; possibly somebody will consider it a good idea to have an exceptional way of skipping past the tape marks. Greg