From owner-freebsd-questions@FreeBSD.ORG Thu May 19 15:20:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5E9616A4DD for ; Thu, 19 May 2005 15:20:48 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E381F43D8A for ; Thu, 19 May 2005 15:20:47 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j4JFKfgF083936; Thu, 19 May 2005 10:20:41 -0500 (CDT) (envelope-from dan) Date: Thu, 19 May 2005 10:20:40 -0500 From: Dan Nelson To: Jonathan Belson Message-ID: <20050519152040.GB82926@dan.emsphone.com> References: <428CAB4B.6080907@witchspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <428CAB4B.6080907@witchspace.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i cc: freebsd-questions@freebsd.org Subject: Re: Rewinding tapes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 15:20:48 -0000 In the last episode (May 19), Jonathan Belson said: > I've written a small script that backs up data to a tape, rewinds it, > then reads back the data that was stored as a test. > > The problem I've run into is that 'mt rewind' is asynchronous, and > subsequent tape operations will fail until the rewind operation has > finished. "mt rewind" is synchronous on all the tape drive I have used it on (dat, dlt, 9-track, 3490). -- Dan Nelson dnelson@allantgroup.com