From owner-freebsd-questions Mon Sep 25 14:11:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from accord.grasslake.net (accord.grasslake.net [206.11.249.240]) by hub.freebsd.org (Postfix) with ESMTP id 02C6C37B443 for ; Mon, 25 Sep 2000 14:11:25 -0700 (PDT) Received: from marlowe (accord.grasslake.net [206.11.249.240]) by accord.grasslake.net (8.9.3/8.9.3) with SMTP id QAA60646 for ; Mon, 25 Sep 2000 16:13:00 -0500 (CDT) (envelope-from swb@grasslake.net) Message-ID: <001f01c02735$406f9ba0$b8209fc0@marlowe> From: "Shawn Barnhart" To: Subject: Media changer relative movement? Date: Mon, 25 Sep 2000 16:12:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does chio(1) offer any relative movement options when working with a media changer? For example, I have an HP SureStore DAT changer. With a tape loaded into slot 0, I have to do the following chio commands to load the tape from the next slot: chio move drive 0 slot 0 chio move slot 1 drive 0 It's not a lot of commands per se, but I have to know what tape is in the drive (so I can put it into the empty slot) and which slot the "next" media should come from, which adds a fair amount of thinking to a simple dump script. What I'm looking for is a "next" command to chio that would simply load the next tape, either returning an error when the last slot was reached or loading the tape from slot 0. I guess I'm looking for the same kind of functionality that I had under linux with mtx. Does this exist in chio and I'm just missing it from the man page, or is a go-code-it-yourself-lazy-bum type deal? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message